-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
eval.py does not process all 5k images #22
Comments
COCOEval doesn't evaluate images without ground truth annotations: I'm pretty sure those 48 images don't have annotations, because I turned off our check for no annotations and it went up to 5000. I then submitted the results for that new 5000 image set to COCOEval and got the same mAP as when submitting the 4952 image set. To turn that check off for yourself, grab my latest commit and add the
You should see 5000 images for |
Hi @dbolya thanks for your response.
|
Ahhh my bad, I wrote the wrong command. Here's the correct one:
So sorry about that! |
Thanks a lot for your help! It works now |
i run "python eval.py --trained_model=weights/yolact_base_xxxxxx.pth " of mydataset and then but got error " if g['ignore'] or (g['area']<aRng[0] or g['area']>aRng[1]): |
|
thx , i know the commands for personal dataset. I wonder if "ignore" or" _ignore" is supposed to be in the gt annotation. i've checked the "instances_val2017.json" file , but find neither "ignore" nor" _ignore" |
"ignore" is something that the cocoeval script adds to the dictionary later. It's to keep track of which annotations it's already assigned to a detection. You don't need to include it in your annotations file. From the error message though it seems like one of your annotations doesn't have an |
When I run:
python eval.py --trained_model=weights/yolact_base_54_800000.pth --dataset=coco2017_dataset
It only evaluates 4952 images. Any ideas on why it does't go though the 5000 images in ./data/coco/images/ ?
The image folder has 5000 images and the annotations_val2017.json file has annotations for those images.
What do I need to change so that it evaluates the complete set of images? (5k)
The text was updated successfully, but these errors were encountered: