Skip to content

Commit

Permalink
Update infer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
XiandaGuo authored Dec 16, 2024
1 parent b9d145d commit 6844199
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/infer.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def parse_config():
args.run_mode = 'infer'
return args, cfgs


@torch.no_grad()
def main():
args, cfgs = parse_config()
if args.dist_mode:
Expand Down

0 comments on commit 6844199

Please sign in to comment.