Open Jessica-hub opened 7 months ago
@Jessica-hub did you resolve this. I am also getting the same.
me tooo. I mean I get this error with custom dataset but still it would help to know why its like this with coco
Found the issue. The annotations in coco128 are incorrect, specifically the class ordering. I tried the same evaluation on the dataset downloaded from https://cocodataset.org/#download and it works perfectly fine.
I used the coco128 and unzip into the datasets folder. The command is python tools/train.py -f exps/example/custom/yolox_s.py -d 1 -b 32 --fp16 -o -c C:\Users\olivi\YOLOX\pretrained\yolox_s.pth However, the APs have a lot of nan and 0. The log details are below.
2024-03-03 15:06:41 | INFO | yolox.core.trainer:364 - Save weights to ./YOLOX_outputs\yolox_s 2024-03-03 15:06:42 | INFO | yolox.core.trainer:364 - Save weights to ./YOLOX_outputs\yolox_s 2024-03-03 15:06:42 | INFO | yolox.core.trainer:203 - ---> start train epoch6