You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
def get_metain(self, clsid, metaind):
meta_img, meta_lab = self.get_metaimg(clsid, metaind)
if meta_lab:
for lab in meta_lab:
# print(lab)
img, mask = self.get_img_mask(meta_img, lab, merge=False) # <<<<<<------------
if mask is None:
continue
return (img, mask)
The line with <- symbol is strange. In each loop, the mask will be covered by a new return value, so that mask will only contain 1 bounding box no matter how many boxes there is in images. So should it be modified?
Thanks.
The text was updated successfully, but these errors were encountered:
Here is code in
class MetaDataset
indataset.py
:The line with
<-
symbol is strange. In each loop, themask
will be covered by a new return value, so that mask will only contain 1 bounding box no matter how many boxes there is in images. So should it be modified?Thanks.
The text was updated successfully, but these errors were encountered: