SIGMA
SIGMA copied to clipboard
target = target.resize(image.size) AttributeError: 'list' object has no attribute 'resize'
fcos_core/data/transforms/transforms.py line 61, in call report "AttributeError: 'list' object has no attribute 'resize'". When I change it to "target = F.resize(target, size), it reported " TypeError: img should be PIL Image. Got <class 'list'>" . Can you help me?