fix img_metas bug (#152)

pull/153/head
LXXXXR 2021-01-26 11:24:08 +08:00 committed by GitHub
parent 3e5a9513be
commit a225cb6bdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ class ImageClassifier(BaseClassifier):
return losses return losses
def simple_test(self, img): def simple_test(self, img, img_metas):
"""Test without augmentation.""" """Test without augmentation."""
x = self.extract_feat(img) x = self.extract_feat(img)
return self.head.simple_test(x) return self.head.simple_test(x)