fix img_metas bug (#152)
parent
3e5a9513be
commit
a225cb6bdb
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue