Open barry41409 opened 5 years ago
Hi,
Any image will be resized to the network size automatically
Yes.
You shouldn't do it. Yolo uses relative coordinates in annotation-files that are don't depend on image size.
Thanks, @AlexeyAB .
The width and height in cfg set the input size for first layer. In traing, reizing image can help improve performance ?
The model cfg set the width and height 416. If a application scenario only produce fixed size image to model for inference ex : 512512 or 416416......, can I resize the testing data to the fixed size for testing?
For simulating the scenario, I want to resize VOC test data but I don't know how to modify the annotation. How can I modify the original annotation to new annotation for fixed size image?
In traing, reizing image can help improve performance ?
No.
can I resize the testing data to the fixed size for testing?
You can. But you shouldn't do it.
I want to resize VOC test data but I don't know how to modify the annotation.
Even if you resized images, you shouldn't change the annotations, because they will still be the same, because that are relative.
hi, @AlexeyAB
In traing, reizing image can help improve performance ?
No.
What problem will resizing image produce in training?
can I resize the testing data to the fixed size for testing?
You can. But you shouldn't do it.
Why shouldn't do it? I want to simulate the scenario. If I resize the test data, will it decrease the mAP? or do you have any other command for fixed size image in the scenario?
hi everyone, I train yolo model now and have some question about model.
Why the model can support any image size in training? (The cfg set the width and height, the image should same with cfg setting.)
In training, Are the images resized to other size? for example,
Can I resize image by myself before training? (In darknet, resize image function in src/image.c. right?) How can I modify the original annotation to new annotation for resizing image? Do I refer any other code in darknet?