Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] Fix mmseg.api.inference inference_segmentor #1849

Merged
merged 5 commits into from
Sep 13, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Prev Previous commit
Next Next commit
fix typo
  • Loading branch information
jinwonkim93 committed Aug 1, 2022
commit 1cf65647bb00fc98f90d46c99da6223dcbc6f5d0
1 change: 0 additions & 1 deletion mmseg/apis/inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ def inference_segmentor(model, imgs):
data = scatter(data, [device])[0]
else:
data['img_metas'] = [i.data[0] for i in data['img_metas']]
breakpoint()

# forward the model
with torch.no_grad():
Expand Down