yuto3o / yolox

More Than YOLO(v3, v4, v3-tiny, v4-tiny)
151 stars 46 forks source link

Reason for calling fit thrice in train.py #15

Closed VeeranjaneyuluToka closed 3 years ago

VeeranjaneyuluToka commented 3 years ago

Hi, thanks for nice code!

I was trying to understand the reason for calling fit method thrice in train.py, would you mind explaining a bit about it?

yuto3o commented 3 years ago

That's three different training strategies: warm-up training, freeze the backbone and finetune the whole model.

VeeranjaneyuluToka commented 3 years ago

Ok, got it. i just missed num variable that you initialized to differentiate between transfer learning and from scratch. Would you mind describing a bit about custom model?

yuto3o commented 3 years ago

The code is based on keras, you could modify the custom model as you like in https://github.com/yuto3o/yolox/blob/master/core/model/one_stage/custom/custom.py. Although Yolov4-tiny is available now, I customized my own model depending on Yolov4.

VeeranjaneyuluToka commented 3 years ago

Ok, thanks for info.