|
{ |
|
"_commit_hash": "876ffc56b819a829448f7e81e9f8606deef6fb65", |
|
"_name_or_path": "openmmlab/upernet-convnext-tiny", |
|
"architectures": [ |
|
"UperNetForSemanticSegmentation" |
|
], |
|
"auxiliary_channels": 256, |
|
"auxiliary_concat_input": false, |
|
"auxiliary_in_channels": 384, |
|
"auxiliary_loss_weight": 0.4, |
|
"auxiliary_num_convs": 1, |
|
"backbone_config": { |
|
"_name_or_path": "", |
|
"add_cross_attention": false, |
|
"architectures": null, |
|
"bad_words_ids": null, |
|
"begin_suppress_tokens": null, |
|
"bos_token_id": null, |
|
"chunk_size_feed_forward": 0, |
|
"cross_attention_hidden_size": null, |
|
"decoder_start_token_id": null, |
|
"depths": [ |
|
3, |
|
3, |
|
9, |
|
3 |
|
], |
|
"diversity_penalty": 0.0, |
|
"do_sample": false, |
|
"drop_path_rate": 0.0, |
|
"early_stopping": false, |
|
"encoder_no_repeat_ngram_size": 0, |
|
"eos_token_id": null, |
|
"exponential_decay_length_penalty": null, |
|
"finetuning_task": null, |
|
"forced_bos_token_id": null, |
|
"forced_eos_token_id": null, |
|
"hidden_act": "gelu", |
|
"hidden_sizes": [ |
|
96, |
|
192, |
|
384, |
|
768 |
|
], |
|
"id2label": { |
|
"0": "LABEL_0", |
|
"1": "LABEL_1" |
|
}, |
|
"image_size": 224, |
|
"initializer_range": 0.02, |
|
"is_decoder": false, |
|
"is_encoder_decoder": false, |
|
"label2id": { |
|
"LABEL_0": 0, |
|
"LABEL_1": 1 |
|
}, |
|
"layer_norm_eps": 1e-12, |
|
"layer_scale_init_value": 1e-06, |
|
"length_penalty": 1.0, |
|
"max_length": 20, |
|
"min_length": 0, |
|
"model_type": "convnext", |
|
"no_repeat_ngram_size": 0, |
|
"num_beam_groups": 1, |
|
"num_beams": 1, |
|
"num_channels": 3, |
|
"num_return_sequences": 1, |
|
"num_stages": 4, |
|
"out_features": [ |
|
"stage1", |
|
"stage2", |
|
"stage3", |
|
"stage4" |
|
], |
|
"out_indices": [ |
|
1, |
|
2, |
|
3, |
|
4 |
|
], |
|
"output_attentions": false, |
|
"output_hidden_states": false, |
|
"output_scores": false, |
|
"pad_token_id": null, |
|
"patch_size": 4, |
|
"prefix": null, |
|
"problem_type": null, |
|
"pruned_heads": {}, |
|
"remove_invalid_values": false, |
|
"repetition_penalty": 1.0, |
|
"return_dict": true, |
|
"return_dict_in_generate": false, |
|
"sep_token_id": null, |
|
"stage_names": [ |
|
"stem", |
|
"stage1", |
|
"stage2", |
|
"stage3", |
|
"stage4" |
|
], |
|
"suppress_tokens": null, |
|
"task_specific_params": null, |
|
"temperature": 1.0, |
|
"tf_legacy_loss": false, |
|
"tie_encoder_decoder": false, |
|
"tie_word_embeddings": true, |
|
"tokenizer_class": null, |
|
"top_k": 50, |
|
"top_p": 1.0, |
|
"torch_dtype": null, |
|
"torchscript": false, |
|
"transformers_version": "4.30.2", |
|
"typical_p": 1.0, |
|
"use_bfloat16": false |
|
}, |
|
"hidden_size": 512, |
|
"id2label": { |
|
"0": "background", |
|
"1": "11", |
|
"2": "12", |
|
"3": "13", |
|
"4": "14", |
|
"5": "15", |
|
"6": "16", |
|
"7": "17", |
|
"8": "18", |
|
"9": "21", |
|
"10": "22", |
|
"11": "23", |
|
"12": "24", |
|
"13": "25", |
|
"14": "26", |
|
"15": "27", |
|
"16": "28", |
|
"17": "31", |
|
"18": "32", |
|
"19": "33", |
|
"20": "34", |
|
"21": "35", |
|
"22": "36", |
|
"23": "37", |
|
"24": "38", |
|
"25": "41", |
|
"26": "42", |
|
"27": "43", |
|
"28": "44", |
|
"29": "45", |
|
"30": "46", |
|
"31": "47", |
|
"32": "48" |
|
}, |
|
"initializer_range": 0.02, |
|
"label2id": { |
|
"11": 1, |
|
"12": 2, |
|
"13": 3, |
|
"14": 4, |
|
"15": 5, |
|
"16": 6, |
|
"17": 7, |
|
"18": 8, |
|
"21": 9, |
|
"22": 10, |
|
"23": 11, |
|
"24": 12, |
|
"25": 13, |
|
"26": 14, |
|
"27": 15, |
|
"28": 16, |
|
"31": 17, |
|
"32": 18, |
|
"33": 19, |
|
"34": 20, |
|
"35": 21, |
|
"36": 22, |
|
"37": 23, |
|
"38": 24, |
|
"41": 25, |
|
"42": 26, |
|
"43": 27, |
|
"44": 28, |
|
"45": 29, |
|
"46": 30, |
|
"47": 31, |
|
"48": 32, |
|
"background": 0 |
|
}, |
|
"loss_ignore_index": 255, |
|
"model_type": "upernet", |
|
"pool_scales": [ |
|
1, |
|
2, |
|
3, |
|
6 |
|
], |
|
"torch_dtype": "float32", |
|
"transformers_version": null, |
|
"use_auxiliary_head": true |
|
} |
|
|