simrdwn icon indicating copy to clipboard operation
simrdwn copied to clipboard

Training with different sizes sliced images?

Open AI-ML-Enthusiast opened this issue 4 years ago • 3 comments

@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?

AI-ML-Enthusiast avatar Aug 05 '19 03:08 AI-ML-Enthusiast

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.

Neykah avatar Aug 06 '19 01:08 Neykah

@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

AI-ML-Enthusiast avatar Aug 06 '19 07:08 AI-ML-Enthusiast

@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

AI-ML-Enthusiast avatar Aug 08 '19 08:08 AI-ML-Enthusiast