Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image size in config file for training yolov4 #9

Closed
shubham-shahh opened this issue Oct 3, 2020 · 1 comment
Closed

Image size in config file for training yolov4 #9

shubham-shahh opened this issue Oct 3, 2020 · 1 comment

Comments

@shubham-shahh
Copy link

shubham-shahh commented Oct 3, 2020

first of all thanks for such a great repo to explain how to run yolov3 tiny with the deepstream. I am training a yoloV4 and the image size for training I have is 150(width)x80(height) to 600(width)x150(height). my config file contains height and width = 416x416. so is that a correct size or shall I change the size in the config file based on my image size? does yolo resize the image while keeping the aspect ratio constant in training?

thanks once again

@marcoslucianops
Copy link
Owner

marcoslucianops commented Oct 4, 2020

I change the size in the config file based on my image size? does yolo resize the image while keeping the aspect ratio constant in training?

Yolo resizes all images to 416x416 to make inference. It doesn't keep the aspect ratio.

See AlexeyAB/darknet #232

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants