inging550 / YOLOV1-pytorch

主干网络替换为了改进的ResNet50
19 stars 4 forks source link

image_resize #1

Open 2436185647 opened 1 year ago

2436185647 commented 1 year ago

hello, your yolo model is really user friendly!! i have a question with the function of 'image_resize' when making datasets: image image is resized to (480,480),but what else the label? mabe it doesnt matter when h=w, but it cont work when tje input is (200,400). if i have to resize the label in my way? sincerely.

inging550 commented 1 year ago

Thank you for your message About that question,the answer is you dont need to resize the labels anymore,because this operation is already done in the code shown in the following picture.

You can think of it as a combination of two operations 1、resize the label to(480,480) 2、resize the label to (1,1) This operation is based on the YOLO paper

Please let me know if you have further questions ------------------ 原始邮件 ------------------ 发件人: "inging550/YOLOV1-pytorch" @.>; 发送时间: 2023年4月19日(星期三) 中午11:10 @.>; @.***>; 主题: [inging550/YOLOV1-pytorch] image_resize (Issue #1)

hello, your yolo model is really user friendly!! i have a question with the function of 'image_resize' when making datasets:

image is resized to (480,480),but what else the label? mabe it doesnt matter when h=w, but it cont work when tje input is (200,400). if i have to resize the label in my way? sincerely.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

2436185647 commented 1 year ago

Thank you for your answer ,i can understand it now. wish you all the best.