训练的时候报错tools/train_amp.py FAILED
yangaiping opened this issue · comments
Hi,
Would you please show me the full error message?
Have you specified dataset correctly?
Did you generate train.txt
with the method in README.txt
What is in the folder of images
and labels
?
我用的是coco2017labels-segments.zip数据集
我可能已经发现了我的问题,我再试试coco-stuff dataset数据集
Seems that you have hidden files in your image/train2017
folder, and likely in your train.txt
file, would you have a check of this?
python tools/check_dataset_info.py --im_root datasets/coco --im_anns datasets/coco/train.txt
What is the output of this?
Why does your coco-stuff has 201 categories? I used coco-stuff with only 171 classes.
You can change n_cat in the config file into 202, if you would like to use your dataset.
You should modify in the config file
BiSeNet/configs/bisenetv2_coco.py
Line 10 in f2b9015
真的非常感谢您,感谢您耐心地解答我的问题,再次感谢!