Skip to content

Commit

Permalink
[Fix] fix bug in inferencer demo (#2966)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben-Louis authored Mar 26, 2024
1 parent e0eb5d4 commit 7e3340a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/inferencer_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def parse_args():
# selected pose2d model
args, _ = parser.parse_known_args()
for model in POSE2D_SPECIFIC_ARGS:
if model in args.pose2d:
if args.pose2d is not None and model in args.pose2d:
filter_args.update(POSE2D_SPECIFIC_ARGS[model])
break

Expand Down

0 comments on commit 7e3340a

Please # to comment.