Amoros's picture
Upload config.json
877e287 verified
{
"_name_or_path": "facebook/dinov2-small",
"apply_layernorm": true,
"architectures": [
"Dinov2ForImageClassification"
],
"attention_probs_dropout_prob": 0.0,
"drop_path_rate": 0.0,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.0,
"hidden_size": 384,
"id2label": {
"0": "ALGAE",
"1": "Acr",
"2": "Acr_Br",
"3": "Anem",
"4": "CCA",
"5": "Ech",
"6": "Fts",
"7": "Gal",
"8": "Gon",
"9": "H_oval",
"10": "H_uni",
"11": "Mtp",
"12": "P",
"13": "Poc",
"14": "Por",
"15": "R",
"16": "RDC",
"17": "S",
"18": "SG",
"19": "Sarg",
"20": "Ser",
"21": "Slt",
"22": "Sp",
"23": "Turf"
},
"image_size": 224,
"initializer_range": 0.02,
"label2id": {
"ALGAE": 0,
"Acr": 1,
"Acr_Br": 2,
"Anem": 3,
"CCA": 4,
"Ech": 5,
"Fts": 6,
"Gal": 7,
"Gon": 8,
"H_oval": 9,
"H_uni": 10,
"Mtp": 11,
"P": 12,
"Poc": 13,
"Por": 14,
"R": 15,
"RDC": 16,
"S": 17,
"SG": 18,
"Sarg": 19,
"Ser": 20,
"Slt": 21,
"Sp": 22,
"Turf": 23
},
"layer_norm_eps": 1e-06,
"layerscale_value": 1.0,
"mlp_ratio": 4,
"model_type": "dinov2",
"num_attention_heads": 6,
"num_channels": 3,
"num_hidden_layers": 12,
"out_features": [
"stage12"
],
"out_indices": [
12
],
"patch_size": 14,
"problem_type": "single_label_classification",
"qkv_bias": true,
"reshape_hidden_states": true,
"stage_names": [
"stem",
"stage1",
"stage2",
"stage3",
"stage4",
"stage5",
"stage6",
"stage7",
"stage8",
"stage9",
"stage10",
"stage11",
"stage12"
],
"torch_dtype": "float32",
"transformers_version": "4.48.0",
"use_swiglu_ffn": false,
"initial_learning_rate": 0.001,
"train_batch_size": 16,
"eval_batch_size": 16,
"optimizer": {
"type": "Adam"
},
"lr_scheduler_type": {
"type": "ReduceLROnPlateau"
},
"patience_lr_scheduler": 5,
"factor_lr_scheduler": 0.1,
"weight_decay": 0.0001,
"early_stopping_patience": 10,
"freeze_encoder": true,
"data_augmentation": true,
"num_epochs": 150
}