CoolFace
Modelpublic

hf-tiny-v2/tiny-random-RTDetrV2Model

sourceHugging Faceupdated 1mo agoView on Hugging Face
0likes90downloads
config.json142 linesDownload Raw Back to root
1{2  "activation_dropout": 0.0,3  "activation_function": "silu",4  "anchor_image_size": null,5  "architectures": [6    "RTDetrV2Model"7  ],8  "attention_dropout": 0.0,9  "auxiliary_loss": true,10  "backbone_config": {11    "depths": [12      1,13      1,14      2,15      116    ],17    "downsample_in_bottleneck": false,18    "downsample_in_first_stage": false,19    "embedding_size": 64,20    "embeddings_size": 10,21    "hidden_act": "relu",22    "hidden_sizes": [23      10,24      20,25      30,26      4027    ],28    "layer_type": "bottleneck",29    "model_type": "rt_detr_resnet",30    "num_channels": 3,31    "out_features": [32      "stage2",33      "stage3",34      "stage4"35    ],36    "out_indices": [37      2,38      3,39      440    ],41    "stage_names": [42      "stem",43      "stage1",44      "stage2",45      "stage3",46      "stage4"47    ]48  },49  "batch_norm_eps": 1e-05,50  "box_noise_scale": 1.0,51  "d_model": 32,52  "decoder_activation_function": "relu",53  "decoder_attention_heads": 2,54  "decoder_ffn_dim": 64,55  "decoder_in_channels": [56    32,57    32,58    3259  ],60  "decoder_layers": 2,61  "decoder_method": "default",62  "decoder_n_levels": 3,63  "decoder_n_points": 4,64  "decoder_offset_scale": 0.5,65  "disable_custom_kernels": true,66  "dropout": 0.0,67  "dtype": "float32",68  "encode_proj_layers": [69    270  ],71  "encoder_activation_function": "gelu",72  "encoder_attention_heads": 2,73  "encoder_ffn_dim": 64,74  "encoder_hidden_dim": 32,75  "encoder_in_channels": [76    20,77    30,78    4079  ],80  "encoder_layers": 1,81  "eos_coefficient": 0.0001,82  "eval_size": null,83  "feat_strides": [84    8,85    16,86    3287  ],88  "focal_loss_alpha": 0.75,89  "focal_loss_gamma": 2.0,90  "freeze_backbone_batch_norms": true,91  "hidden_expansion": 1.0,92  "id2label": {93    "0": "LABEL_0",94    "1": "LABEL_1",95    "2": "LABEL_2",96    "3": "LABEL_3",97    "4": "LABEL_4",98    "5": "LABEL_5",99    "6": "LABEL_6",100    "7": "LABEL_7",101    "8": "LABEL_8",102    "9": "LABEL_9"103  },104  "image_size": 64,105  "initializer_bias_prior_prob": null,106  "initializer_range": 0.01,107  "is_encoder_decoder": true,108  "label2id": {109    "LABEL_0": 0,110    "LABEL_1": 1,111    "LABEL_2": 2,112    "LABEL_3": 3,113    "LABEL_4": 4,114    "LABEL_5": 5,115    "LABEL_6": 6,116    "LABEL_7": 7,117    "LABEL_8": 8,118    "LABEL_9": 9119  },120  "label_noise_ratio": 0.5,121  "layer_norm_eps": 1e-05,122  "learn_initial_query": false,123  "matcher_alpha": 0.25,124  "matcher_bbox_cost": 5.0,125  "matcher_class_cost": 2.0,126  "matcher_gamma": 2.0,127  "matcher_giou_cost": 2.0,128  "model_type": "rt_detr_v2",129  "normalize_before": false,130  "num_denoising": 0,131  "num_feature_levels": 3,132  "num_queries": 30,133  "positional_encoding_temperature": 10000,134  "tie_word_embeddings": true,135  "transformers_version": "5.16.0.dev0",136  "use_focal_loss": true,137  "weight_loss_bbox": 5.0,138  "weight_loss_giou": 2.0,139  "weight_loss_vfl": 1.0,140  "with_box_refine": true141}142