| { | |
| "add_fpn": false, | |
| "architectures": [ | |
| "BeitForImageClassification" | |
| ], | |
| "attention_probs_dropout_prob": 0.0, | |
| "auxiliary_channels": 256, | |
| "auxiliary_concat_input": false, | |
| "auxiliary_loss_weight": 0.4, | |
| "auxiliary_num_convs": 1, | |
| "drop_path_rate": 0.1, | |
| "hidden_act": "gelu", | |
| "hidden_dropout_prob": 0.0, | |
| "hidden_size": 768, | |
| "id2label": { | |
| "0": "Acropore_branched", | |
| "1": "Acropore_digitised", | |
| "2": "Acropore_sub_massive", | |
| "3": "Acropore_tabular", | |
| "4": "Algae_assembly", | |
| "5": "Algae_drawn_up", | |
| "6": "Algae_limestone", | |
| "7": "Algae_sodding", | |
| "8": "Atra/Leucospilota", | |
| "9": "Bleached_coral", | |
| "10": "Blurred", | |
| "11": "Dead_coral", | |
| "12": "Fish", | |
| "13": "Homo_sapiens", | |
| "14": "Human_object", | |
| "15": "Living_coral", | |
| "16": "Millepore", | |
| "17": "No_acropore_encrusting", | |
| "18": "No_acropore_foliaceous", | |
| "19": "No_acropore_massive", | |
| "20": "No_acropore_solitary", | |
| "21": "No_acropore_sub_massive", | |
| "22": "Rock", | |
| "23": "Rubble", | |
| "24": "Sand", | |
| "25": "Sea_cucumber", | |
| "26": "Sea_urchins", | |
| "27": "Sponge", | |
| "28": "Syringodium_isoetifolium", | |
| "29": "Thalassodendron_ciliatum", | |
| "30": "Useless" | |
| }, | |
| "image_size": 224, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 3072, | |
| "label2id": { | |
| "Acropore_branched": 0, | |
| "Acropore_digitised": 1, | |
| "Acropore_sub_massive": 2, | |
| "Acropore_tabular": 3, | |
| "Algae_assembly": 4, | |
| "Algae_drawn_up": 5, | |
| "Algae_limestone": 6, | |
| "Algae_sodding": 7, | |
| "Atra/Leucospilota": 8, | |
| "Bleached_coral": 9, | |
| "Blurred": 10, | |
| "Dead_coral": 11, | |
| "Fish": 12, | |
| "Homo_sapiens": 13, | |
| "Human_object": 14, | |
| "Living_coral": 15, | |
| "Millepore": 16, | |
| "No_acropore_encrusting": 17, | |
| "No_acropore_foliaceous": 18, | |
| "No_acropore_massive": 19, | |
| "No_acropore_solitary": 20, | |
| "No_acropore_sub_massive": 21, | |
| "Rock": 22, | |
| "Rubble": 23, | |
| "Sand": 24, | |
| "Sea_cucumber": 25, | |
| "Sea_urchins": 26, | |
| "Sponge": 27, | |
| "Syringodium_isoetifolium": 28, | |
| "Thalassodendron_ciliatum": 29, | |
| "Useless": 30 | |
| }, | |
| "layer_norm_eps": 1e-12, | |
| "layer_scale_init_value": 0.1, | |
| "model_type": "beit", | |
| "num_attention_heads": 12, | |
| "num_channels": 3, | |
| "num_hidden_layers": 12, | |
| "out_features": [ | |
| "stage12" | |
| ], | |
| "out_indices": [ | |
| 12 | |
| ], | |
| "patch_size": 16, | |
| "pool_scales": [ | |
| 1, | |
| 2, | |
| 3, | |
| 6 | |
| ], | |
| "problem_type": "multi_label_classification", | |
| "reshape_hidden_states": true, | |
| "semantic_loss_ignore_index": 255, | |
| "stage_names": [ | |
| "stem", | |
| "stage1", | |
| "stage2", | |
| "stage3", | |
| "stage4", | |
| "stage5", | |
| "stage6", | |
| "stage7", | |
| "stage8", | |
| "stage9", | |
| "stage10", | |
| "stage11", | |
| "stage12" | |
| ], | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.56.0.dev0", | |
| "use_absolute_position_embeddings": false, | |
| "use_auxiliary_head": true, | |
| "use_mask_token": false, | |
| "use_mean_pooling": true, | |
| "use_relative_position_bias": true, | |
| "use_shared_relative_position_bias": false, | |
| "vocab_size": 8192, | |
| "initial_learning_rate": 0.001, | |
| "train_batch_size": 32, | |
| "eval_batch_size": 32, | |
| "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 | |
| } |