-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix COCO configuration #176
base: master
Are you sure you want to change the base?
Conversation
Thanks for your modification. But I wonder that how you deal with COCO dataset? The url https://s3.amazonaws.com/amdegroot-datasets/instances_trainval35k.json.zip given in |
Thanks @ddonatien , but as far as I'm concerned, as stated in #123, just replacing instances_trainval_35k.json with valminusminival2014.json seems not reasonable. |
replacing instances_trainval_35k.json with valminusminival2014.json is wrong. Theoretically, the instances_trainval_35k.json should contain 118287 images. If you do this substitution, the instances_trainval_35k.json only contain 35185 images |
@foralliance Yeah, I agree with you, but is there any available source of the correct json file? |
@foralliance Well, thanks! |
It does not work to me then, the script is asking fot the json file, but it is a zip that cannot be unzipped. |
I tried the training on COCO dataset ,can anyone tell me how to modify the coco_labels.txt? |
I think :1.trainval35k is COCO 2017 train,because it have 118287 images. |
@814247846 Did you get work with that |
yes.But you also have to change: |
@814247846 all PR are welcomed. |
The data sets include 2014 (2014 Train images, 2014 Val images, 2014 Test images), 2015 (2015 Test images) and 2017 (2017 Train images, 2017 Val images, 2017 Test images). Among them, training set and validation set There are tags (2014 Train/Val annotations, 2017 Train/Val annotations), while the test set has no tags. In the 2014 data set, the training set is 82,783, the validation set is 40504, and the test set is 40775. In addition, the validation set is divided into two parts, miniVal has 5000, and the remaining 35504 images and training set are called Trainval35k (Trainval35k = = train2014 + val2014 - minival2014.). Trainval35k is usually used as the training set in the paper. There are 81,434 images in the 2015 test set. In the 2017 data set, the training set is 118287, the verification is 5000, and the test is 40670. Among them, the training set is Trainval35k (82783 + 40504 - 5000 = 118287), and the verification set is miniVal. That is, train2017 == trainval35k == train2014 + val2014 - minival2014 == train2014 + val2014 - val2017.Original link: https://blog.csdn.net/qq_37643960/article/details/103466904 |
I tried the training and testing on COCO dataset and fixed some minor bugs in the configuration.