How to evaluate the test datasets and get the best F1 score?
Opened this issue · 13 comments
I implement the code successfully and i can inference my datasets. but i donot know how to evaluate the test1 and test2 datasets which are lack of annotations file. Only we get the test results throught uploading the evaluated result to official websites online?
After i check the code, i think the way to get the f1 score is by running this command below:
python test.py --weights weights/IMSC/last_95_640_16.pt --data data/road.yaml
I will be appreciated if any help is offered.
thank you in advance.
I implement the code successfully and i can inference my datasets. but i donot know how to evaluate the test1 and test2 datasets which are lack of annotations file. Only we get the test results throught uploading the evaluated result to official websites online? After i check the code, i think the way to get the f1 score is by running this comman below:
python test.py --weights weights/IMSC/last_95_640_16.pt --data data/road.yaml
I will be appreciated if any help is offered. thank you in advance.
What is the address of the official websites? Hope to see your reply. Thank you very much!
I think it is this: https://rdd2020.sekilab.global/
I think it is this: https://rdd2020.sekilab.global/
Thanks for your reply! Have you solved the problem eventually? Do you still remember your F1-score?
I split the Japan and Crech datasets into train and test which all have labels. the model is using YOLOX; I got F1-score by calculating the acc and recall on test data、 India and custom datasets; the results are below:
Hello! May I ask your hyper-parameters? Have you changed default hyper-parameters? The default batch size is 64, but due to my GPU limit, I changed the batch size to 8, which result in a f1-score of 0.46(really poor!). Hope to see your answer! Thank you very much!
I didnot change any hyper-parameters in the config, BTW, the model i used is yolox instead of yolov5.
@GMN23362 133 multiply batch size 32 equals the total num of imgs.
I received the ask in email while i canot see it here.
@GMN23362 133 multiply batch size 32 equals the total num of imgs. I received the ask in email while i canot see it here.
Thank for your answer, I'll check it then.
you should download the entire datasets and place in on certain path.
May I ask what is going on here when I run test.py? I did not change anything but there is only 1 image scanned. labels.cache (0 found, 0 missing, 1 empty, 0 duplicate, for 1 images) and No labels found in datasets/road2020/train/Czech/labels/. and the P, R, and mAP are 0.
Did you get some solution to your problem? I am facing the same problem P, R, and mAP are 0.
you should download the entire datasets and place in on the certain path.
I place my datasets files (Japan, India, Czech) file inside the (datasets/road2020/) directory but when I try to run the code using the data get by road.yaml file it shows 1 image scanned and no labels for Czech also when open the (Val.txt file) it has only one entry for one image. kindly guide me regarding this issue.