surajjoshi's picture
Model save
190bd2f
{
"best_metric": 0.9911764705882353,
"best_model_checkpoint": "swin-tiny-patch4-window7-224-finetuned-brainTumorData/checkpoint-96",
"epoch": 4.0,
"global_step": 96,
"is_hyper_param_search": false,
"is_local_process_zero": true,
"is_world_process_zero": true,
"log_history": [
{
"epoch": 0.42,
"learning_rate": 5e-05,
"loss": 0.5984,
"step": 10
},
{
"epoch": 0.83,
"learning_rate": 4.418604651162791e-05,
"loss": 0.3405,
"step": 20
},
{
"epoch": 1.0,
"eval_accuracy": 0.9647058823529412,
"eval_f1": 0.96875,
"eval_loss": 0.1137252226471901,
"eval_precision": 0.9841269841269841,
"eval_recall": 0.9538461538461539,
"eval_runtime": 147.9637,
"eval_samples_per_second": 2.298,
"eval_steps_per_second": 0.074,
"step": 24
},
{
"epoch": 1.25,
"learning_rate": 3.837209302325582e-05,
"loss": 0.2572,
"step": 30
},
{
"epoch": 1.67,
"learning_rate": 3.2558139534883724e-05,
"loss": 0.2449,
"step": 40
},
{
"epoch": 2.0,
"eval_accuracy": 0.9735294117647059,
"eval_f1": 0.9766233766233765,
"eval_loss": 0.08108817040920258,
"eval_precision": 0.9894736842105263,
"eval_recall": 0.9641025641025641,
"eval_runtime": 86.8569,
"eval_samples_per_second": 3.914,
"eval_steps_per_second": 0.127,
"step": 48
},
{
"epoch": 2.08,
"learning_rate": 2.674418604651163e-05,
"loss": 0.2267,
"step": 50
},
{
"epoch": 2.5,
"learning_rate": 2.0930232558139536e-05,
"loss": 0.1601,
"step": 60
},
{
"epoch": 2.92,
"learning_rate": 1.5116279069767441e-05,
"loss": 0.1713,
"step": 70
},
{
"epoch": 3.0,
"eval_accuracy": 0.9794117647058823,
"eval_f1": 0.9818181818181819,
"eval_loss": 0.061323098838329315,
"eval_precision": 0.9947368421052631,
"eval_recall": 0.9692307692307692,
"eval_runtime": 86.512,
"eval_samples_per_second": 3.93,
"eval_steps_per_second": 0.127,
"step": 72
},
{
"epoch": 3.33,
"learning_rate": 9.302325581395349e-06,
"loss": 0.1536,
"step": 80
},
{
"epoch": 3.75,
"learning_rate": 3.488372093023256e-06,
"loss": 0.1615,
"step": 90
},
{
"epoch": 4.0,
"eval_accuracy": 0.9911764705882353,
"eval_f1": 0.9923273657289001,
"eval_loss": 0.04839443415403366,
"eval_precision": 0.9897959183673469,
"eval_recall": 0.9948717948717949,
"eval_runtime": 86.7553,
"eval_samples_per_second": 3.919,
"eval_steps_per_second": 0.127,
"step": 96
},
{
"epoch": 4.0,
"step": 96,
"total_flos": 3.037401854071603e+17,
"train_loss": 0.2525144927203655,
"train_runtime": 9271.044,
"train_samples_per_second": 1.318,
"train_steps_per_second": 0.01
}
],
"max_steps": 96,
"num_train_epochs": 4,
"total_flos": 3.037401854071603e+17,
"trial_name": null,
"trial_params": null
}