Choosing imgsz
for training on Custom dataset with fixed-size Non-square images
#1100
-
Hi,
How would you suggest setting the |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
@assafzam From your shape |
Beta Was this translation helpful? Give feedback.
-
@glenn-jocher |
Beta Was this translation helpful? Give feedback.
-
no
…On Tue, 11 Apr 2023 at 15:58, chenewy ***@***.***> wrote:
@Vishwajeet-assert <https://github.com/Vishwajeet-assert>
I also met the same problem. Have you solved it?I tried to modify
rect=true in default.yaml, but it still didn't work
—
Reply to this email directly, view it on GitHub
<#1100 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A6L37UI2JIZCDIRLBOGDPSDXAUW37ANCNFSM6AAAAAAVEELVJA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
--
Vishwajeet Singh
Senior AI Engineer
[image: mobile-icon] 9027570172
[image: phone-icon] ***@***.*** [image: mobile-icon]
www.assertai.com
[image: mobile-icon] Assert SecureTech Pvt. Ltd, C-605/606, 6th Floor,
Kailash Business Park, Park Site, Vikhroli West, Mumbai 400079
[image: linkedin icon] <https://linkedin.com/in/vishwajeet-singh-66aab2155>
<https://www.hubspot.com/email-signature-generator?utm_source=create-signature>
<https://www.hubspot.com/email-signature-generator?utm_source=create-signature>
|
Beta Was this translation helpful? Give feedback.
@assafzam From your shape
1350x200
, assuming it'll lose objects if resize your images to a lower resolution I recommend you to setimgsz=1376
andrect=True
,imgsz=1376
is for keeping your original image size and also satisfy divided by 32, andrect=True
is for rectangle training which actually would train with1376x224
and save a lot memory compare to the square size1376x1376
.