Poor results with pre-trained model. #140
-
Hi, I've tried to run a basic coco validation pre-trained model (as in here) and got very bad results:
Do you have any idea what could it be? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
@darleybarreto are you using a model that has pretrained weights defined? I don't think I emit a warning for this codebase if there are no weights. |
Beta Was this translation helpful? Give feedback.
-
It's best to look at the source of truth, the model config definitions, and look at the presence of URL for pretrained weights https://github.com/rwightman/efficientdet-pytorch/blob/master/effdet/config/model_config.py |
Beta Was this translation helpful? Give feedback.
-
@darleybarreto I don't know what the problem is... the current master branch has been verified on multiple machines, ubuntu 16.04, 18.04, 20.04 with volta, turing, pascal GPU and also one Windows 10 system. Just running on the system I'm on right now gives below...
Make sure pycocotools==2.0.2 as mentioned in README. PyTorch 1.6 or 1.7 recommended now. |
Beta Was this translation helpful? Give feedback.
-
@darleybarreto of course that's a problem, I use image index to reference dataset gt for evaluation, not the id because the id isn't always an integer for some datasets and I can't use strings reasonably in tensors. Any modifications should be mentioned before asking me others for help. If you want to remove a subset you need to do it like SkipSubset class I wrote that's already here, remap the indices. |
Beta Was this translation helpful? Give feedback.
@darleybarreto of course that's a problem, I use image index to reference dataset gt for evaluation, not the id because the id isn't always an integer for some datasets and I can't use strings reasonably in tensors. Any modifications should be mentioned before asking me others for help. If you want to remove a subset you need to do it like SkipSubset class I wrote that's already here, remap the indices.