Skip to content
Snippets Groups Projects
Commit 420c91e9 authored by Kai Chen's avatar Kai Chen
Browse files

Merge branch 'master' of github.com:open-mmlab/mmdetection

parents 251c4290 3ad05dc8
No related branches found
No related tags found
No related merge requests found
......@@ -280,6 +280,8 @@ class CocoDataset(Dataset):
raise AssertionError(
'proposals should have shapes (n, 4) or (n, 5), '
'but found {}'.format(proposal.shape))
else:
proposal = None
def prepare_single(img, scale, flip, proposal=None):
_img, img_shape, pad_shape, scale_factor = self.img_transform(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment