Skip to content

Commit

Permalink
Linux/MacOC Path ~
Browse files Browse the repository at this point in the history
  • Loading branch information
sansoohan committed Aug 7, 2024
1 parent a152525 commit 1ad6431
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions predict.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def sorted_glob(pattern):
param = json.load(pf)

main(
img_pattern=os.path.join(param['FilePath']['InputImagePath'], '*'),
weights_path=os.path.join(param['FilePath']['CheckpointsPath'], 'fpn_inception.h5'),
out_dir=param['FilePath']['OutputImagePath']
img_pattern=os.path.join(os.path.expanduser(param['FilePath']['InputImagePath']), '*'),
weights_path=os.path.join(os.path.expanduser(param['FilePath']['CheckpointsPath']), 'fpn_inception.h5'),
out_dir=os.path.expanduser(param['FilePath']['OutputImagePath'])
)

0 comments on commit 1ad6431

Please sign in to comment.