Closed isri-ram closed 9 months ago
Currently we don't provide end-to-end grid search feature. You should do it manually:
for lr in [1e-5, 1e-4, 1e-3]:
train_params = {..., initial_lr=lr}
trainer = Trainer(...)
trainer.train(..., train_params=train_params)
Or via Hydra:
python train.py -m --config-name YOUR_RECIPE.YAML training_hyperparams.initial_lr=1e-3,1e-4,1e-5
I trained the yolo_nas_m model with the below parameters i was able to get an mAP@0.5 score of 0.31 after training for 200 epochs. I trained the YOLOv8 with default parameters for just 20 epochs the mAP@0.5 i got is 0.291.
Have you used same LR in both cases? Could be an explanation.
💡 Your Question
I'm using VinBigdata Chest X-ray images for anomaly detection (object detection) with 14 classes. Train - 3515 images Valid - 879 images Total - 4394 images (P.S: The original dataset has 15k images. I did not use the remaining because it belongs to
no findings
class where there are no bboxes)I trained the
yolo_nas_m
model with the below parameters i was able to get an mAP@0.5 score of 0.31 after training for 200 epochs.I trained the
YOLOv8
with default parameters for just 20 epochs the mAP@0.5 i got is 0.291.Is there anything wrong with my train parameters @BloodAxe ? Can i do Grid Search to get the best model parameters? if yes, then how?
Versions
No response