Replies: 2 comments 1 reply
-
I tried using non square anchor layout and got very strange bboxes, so I padd all images to square. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Thanks for the answer! The confusion has raised due to the efficientdet-d0 model needs (512,512) image_size. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
@MichaelMonashev I hope you can help me with this.
I read the issue on non square anchor layout.
Correct me if I am wrong.
The input image size for the EfficientDet-D0 should be (512, 512) irrespective of any input image size of the custom dataset right?
In my assumption the transforms.py resizes and pads to 512 even if we just give the target['img_size'] param and not modifying the 512, 512 size in the config.py for EfficientDet D0
Whereas, for the target['img_size'] param in the dictionary should we input the original image size? Or we should modify the existing model_config for the D0 model for the target['img_size'] param?
In my understanding, the model_config input image size should not be changed since EffDet-D0 requires 512 while the D1 requires 640 and so on.
So where should we put the non square input original image size for the dataset?
Beta Was this translation helpful? Give feedback.
All reactions