-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
INT8 calibration for efficientdet #1498
Comments
Hello @srihari-humbarwadi ,
could you check source code https://github.com/NVIDIA/TensorRT/blob/release/8.0/samples/python/efficientdet/image_batcher.py
The author of the sample has not provide the scores yet, could you follow the instruction to collect mAP? |
TensorRT/samples/python/efficientdet/image_batcher.py Lines 24 to 32 in 834cb6d
I went through the code, and also the readme which has a brief mention of it "For models trained for the COCO dataset, we have found that 5,000 images gives a good result." but it is not clear how are the 5,000 images for the calibration dataset are chosen! |
It is usually by experiments. There is no general guideline on how many images is enough. |
closing due to no activity for more than 3 weeks, please reopen if you still have question, thanks! |
From the readme
It is not clear how exactly these 5000 images were sampled. Are these 5,000 random images from coco2017 train dataset
or is it the entire coco2017 val dataset which has exactly 5000 images?
Also, can you please share the
FP32
vsINT8
mAP scores for the models?The text was updated successfully, but these errors were encountered: