| { |
| "activation_dropout": 0.0, |
| "activation_function": "silu", |
| "anchor_image_size": null, |
| "architectures": [ |
| "DFineModel" |
| ], |
| "attention_dropout": 0.0, |
| "auxiliary_loss": true, |
| "backbone_config": { |
| "depths": [ |
| 1, |
| 1, |
| 2, |
| 1 |
| ], |
| "embedding_size": 64, |
| "embeddings_size": 10, |
| "hidden_act": "relu", |
| "hidden_sizes": [ |
| 64, |
| 128, |
| 256, |
| 512 |
| ], |
| "initializer_range": 0.02, |
| "model_type": "hgnet_v2", |
| "num_channels": 3, |
| "out_features": [ |
| "stage2", |
| "stage3", |
| "stage4" |
| ], |
| "out_indices": [ |
| 2, |
| 3, |
| 4 |
| ], |
| "stage_downsample": [ |
| false, |
| true, |
| true, |
| true |
| ], |
| "stage_downsample_strides": [ |
| 2, |
| 2, |
| 2, |
| 2 |
| ], |
| "stage_in_channels": [ |
| 16, |
| 64, |
| 128, |
| 256 |
| ], |
| "stage_kernel_size": [ |
| 3, |
| 3, |
| 5, |
| 5 |
| ], |
| "stage_light_block": [ |
| false, |
| false, |
| true, |
| true |
| ], |
| "stage_mid_channels": [ |
| 16, |
| 32, |
| 64, |
| 128 |
| ], |
| "stage_names": [ |
| "stem", |
| "stage1", |
| "stage2", |
| "stage3", |
| "stage4" |
| ], |
| "stage_num_blocks": [ |
| 1, |
| 1, |
| 2, |
| 1 |
| ], |
| "stage_numb_of_layers": [ |
| 3, |
| 3, |
| 3, |
| 3 |
| ], |
| "stage_out_channels": [ |
| 64, |
| 128, |
| 256, |
| 512 |
| ], |
| "stem_channels": [ |
| 3, |
| 16, |
| 16 |
| ], |
| "stem_strides": [ |
| 2, |
| 1, |
| 1, |
| 2, |
| 1 |
| ], |
| "use_lab": true, |
| "use_learnable_affine_block": false |
| }, |
| "batch_norm_eps": 1e-05, |
| "box_noise_scale": 1.0, |
| "d_model": 32, |
| "decoder_activation_function": "relu", |
| "decoder_attention_heads": 2, |
| "decoder_ffn_dim": 64, |
| "decoder_in_channels": [ |
| 32, |
| 32, |
| 32 |
| ], |
| "decoder_layers": 2, |
| "decoder_method": "default", |
| "decoder_n_levels": 3, |
| "decoder_n_points": [ |
| 3, |
| 6, |
| 3 |
| ], |
| "decoder_offset_scale": 0.5, |
| "depth_mult": 0.34, |
| "disable_custom_kernels": true, |
| "dropout": 0.0, |
| "dtype": "float32", |
| "encode_proj_layers": [ |
| 2 |
| ], |
| "encoder_activation_function": "gelu", |
| "encoder_attention_heads": 2, |
| "encoder_ffn_dim": 64, |
| "encoder_hidden_dim": 32, |
| "encoder_in_channels": [ |
| 128, |
| 256, |
| 512 |
| ], |
| "encoder_layers": 1, |
| "eos_coefficient": 0.0001, |
| "eval_idx": -1, |
| "eval_size": null, |
| "feat_strides": [ |
| 8, |
| 16, |
| 32 |
| ], |
| "focal_loss_alpha": 0.75, |
| "focal_loss_gamma": 2.0, |
| "freeze_backbone_batch_norms": true, |
| "head_dim": 16, |
| "hidden_expansion": 1.0, |
| "id2label": { |
| "0": "LABEL_0", |
| "1": "LABEL_1", |
| "2": "LABEL_2", |
| "3": "LABEL_3", |
| "4": "LABEL_4", |
| "5": "LABEL_5", |
| "6": "LABEL_6", |
| "7": "LABEL_7", |
| "8": "LABEL_8", |
| "9": "LABEL_9" |
| }, |
| "image_size": 64, |
| "initializer_bias_prior_prob": null, |
| "initializer_range": 0.01, |
| "is_encoder_decoder": true, |
| "label2id": { |
| "LABEL_0": 0, |
| "LABEL_1": 1, |
| "LABEL_2": 2, |
| "LABEL_3": 3, |
| "LABEL_4": 4, |
| "LABEL_5": 5, |
| "LABEL_6": 6, |
| "LABEL_7": 7, |
| "LABEL_8": 8, |
| "LABEL_9": 9 |
| }, |
| "label_noise_ratio": 0.5, |
| "layer_norm_eps": 1e-05, |
| "layer_scale": 1, |
| "learn_initial_query": false, |
| "lqe_hidden_dim": 64, |
| "lqe_layers": 2, |
| "matcher_alpha": 0.25, |
| "matcher_bbox_cost": 5.0, |
| "matcher_class_cost": 2.0, |
| "matcher_gamma": 2.0, |
| "matcher_giou_cost": 2.0, |
| "max_num_bins": 32, |
| "model_type": "d_fine", |
| "normalize_before": false, |
| "num_denoising": 0, |
| "num_feature_levels": 3, |
| "num_queries": 30, |
| "positional_encoding_temperature": 10000, |
| "reg_max": 32, |
| "reg_scale": 4.0, |
| "tie_word_embeddings": true, |
| "top_prob_values": 4, |
| "transformers_version": "5.16.0.dev0", |
| "up": 0.5, |
| "use_focal_loss": true, |
| "weight_loss_bbox": 5.0, |
| "weight_loss_ddf": 1.5, |
| "weight_loss_fgl": 0.15, |
| "weight_loss_giou": 2.0, |
| "weight_loss_vfl": 1.0, |
| "with_box_refine": true |
| } |
|
|