Open Alex123Pr opened 3 years ago
the error is : ‘numpy.float64’ object cannot be interpreted as an integer
it seems your pycocotools is out of date or you are not using python 3.
Thankyou for the quick response I'll try again and update. Thanks again
Did you manage to fix it? I tried to update pycocotools to 2.0.3 but still get the same error
pycocotools 2.0.4 can fix it
Used the following command:
python test.py --data data/coco.yaml --img 1280 --batch 32 --conf 0.001 --iou 0.65 --device 0 --cfg cfg/yolor_p6.cfg --weights yolor_p6.pt --name yolor_p6_val
Got the following result:What am I missing? It says that there are no labels, but I have provided the JSON file. Do I need to provide the annotation TXT files too? I am sorry if the question is dumb I am a beginner