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

Training with different sizes sliced images? #73

Open
K-M-Ibrahim-Khalilullah opened this issue Aug 5, 2019 · 3 comments
Open

Training with different sizes sliced images? #73

K-M-Ibrahim-Khalilullah opened this issue Aug 5, 2019 · 3 comments

Comments

@K-M-Ibrahim-Khalilullah
Copy link

@avanetten
I would like to train different sizes of sliced images. Not only 416, or 544. It maybe mixed with 416 and 544, or other.
How can I do it?
Would you suggest me please?

@Neykah
Copy link

Neykah commented Aug 6, 2019

If you plan to use yolo v3, this is already implemented, as it often proves itself a meaningful data augmentation step.
In the [yolo] parts of the config file, there should be a line which states:
random=1
If so, your input patches are resized to a random size between 320x320 and 608x608 every 10 iterations.
If you want to do something more specific however, I guess you will have to modify the C code.

@K-M-Ibrahim-Khalilullah
Copy link
Author

K-M-Ibrahim-Khalilullah commented Aug 6, 2019

@Neykah @avanetten
Thank you very much for your comment.

If you plan to use yolo v3, this is already implemented, as it often proves itself a meaningful data augmentation step. In the [yolo] parts of the config file, there should be a line which states:
random=1

Since my training images are not fixed size, what about the parameters "train_input_width" and "train_input_height" in yolt3?
Also what about the config file parameters width and height?

Thanks

@K-M-Ibrahim-Khalilullah
Copy link
Author

@Neykah @avanetten
It is training with different size using yolt3. I changed to maximum size of the train_input_width, train_input_height in simrdwn.py, and width ,height parameters in config file.
I don't know it is OK or not, but it is training with those images.
Thanks

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