Skip to content

Commit

Permalink
[Fix] Fix wrong img name in onnx2tensorrt.py (#7157)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiechoi1995 authored Feb 16, 2022
1 parent 9894980 commit a643031
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/deployment/onnx2tensorrt.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def parse_args():
parsed directly from config file and are deprecated and will be \
removed in future releases.')
if not args.input_img:
args.input_img = osp.join(osp.dirname(__file__), '../demo/demo.jpg')
args.input_img = osp.join(osp.dirname(__file__), '../../demo/demo.jpg')

cfg = Config.fromfile(args.config)

Expand Down

0 comments on commit a643031

Please sign in to comment.