tianzhi0549 / FCOS

FCOS: Fully Convolutional One-Stage Object Detection (ICCV'19)
https://arxiv.org/abs/1904.01355
Other
3.28k stars 630 forks source link

my own coco datasets have no mask annotations,how to turn off the mask?? #145

Closed dreamhighchina closed 5 years ago

dreamhighchina commented 5 years ago

Traceback (most recent call last): File "tools/train_net.py",line 189,in main() File "tools/train_net.py",line 182,in main model=train(...) File "tools/train_net.py",line 79,in train arguments, File "/home/112831/anaconda3.6/lib/pyton3.6/site-packages/fcos_core/engine/tray",line 57,in dotrain for iteration,(images, targets,) in enumerate(data_loader,start_iter): ....... ....... File "/home/112831/anaconda3.6/lib/pyton3.6/site-packages/fcos_core/structuresntation_mask.py",line 340,,in init assert isinstance(polygons[0][0],(list,tuple)),str( IndexError: list index out of range

i dont have mask annotations,and i dont have this file and folder FCOS/maskrcnn_benchmark/data/datasets/coco.py how can i turn off the mask?please help me,looking forward to your replay.