Download config.json from hf-tiny-v2/tiny-random-LwDetrForObjectDetection: direct link, hf CLI and curl.
- Browser
- Download file 2.09 kB
-
https://huggingface.co/hf-tiny-v2/tiny-random-LwDetrForObjectDetection/resolve/main/config.json
- Command line
-
hf download hf://hf-tiny-v2/tiny-random-LwDetrForObjectDetection/config.json
-
curl -L -o config.json https://huggingface.co/hf-tiny-v2/tiny-random-LwDetrForObjectDetection/resolve/main/config.json
2.09 kB
| { | |
| "activation_dropout": 0.0, | |
| "activation_function": "silu", | |
| "architectures": [ | |
| "LwDetrForObjectDetection" | |
| ], | |
| "attention_bias": true, | |
| "attention_dropout": 0.0, | |
| "auxiliary_loss": true, | |
| "backbone_config": { | |
| "cae_init_values": 0.1, | |
| "dropout_prob": 0.0, | |
| "hidden_act": "gelu", | |
| "hidden_size": 16, | |
| "image_size": 256, | |
| "initializer_range": 0.02, | |
| "layer_norm_eps": 1e-06, | |
| "mlp_ratio": 4, | |
| "model_type": "lw_detr_vit", | |
| "num_attention_heads": 2, | |
| "num_channels": 3, | |
| "num_hidden_layers": 4, | |
| "num_windows": 16, | |
| "num_windows_side": 4, | |
| "out_features": [ | |
| "stage1", | |
| "stage3" | |
| ], | |
| "out_indices": [ | |
| 1, | |
| 3 | |
| ], | |
| "patch_size": 16, | |
| "pretrain_image_size": 224, | |
| "qkv_bias": true, | |
| "stage_names": [ | |
| "stem", | |
| "stage1", | |
| "stage2", | |
| "stage3", | |
| "stage4" | |
| ], | |
| "use_absolute_position_embeddings": true, | |
| "window_block_indices": [ | |
| 0, | |
| 2 | |
| ] | |
| }, | |
| "batch_norm_eps": 1e-05, | |
| "bbox_cost": 5, | |
| "bbox_loss_coefficient": 5, | |
| "c2f_num_blocks": 3, | |
| "class_cost": 2, | |
| "class_loss_coefficient": 1, | |
| "d_model": 32, | |
| "decoder_activation_function": "relu", | |
| "decoder_cross_attention_heads": 4, | |
| "decoder_ffn_dim": 32, | |
| "decoder_layers": 2, | |
| "decoder_n_points": 4, | |
| "decoder_self_attention_heads": 2, | |
| "dice_loss_coefficient": 1, | |
| "disable_custom_kernels": true, | |
| "dropout": 0.0, | |
| "dtype": "float32", | |
| "eos_coefficient": 0.1, | |
| "focal_alpha": 0.25, | |
| "giou_cost": 2, | |
| "giou_loss_coefficient": 2, | |
| "group_detr": 2, | |
| "hidden_expansion": 0.5, | |
| "id2label": { | |
| "0": "LABEL_0", | |
| "1": "LABEL_1", | |
| "2": "LABEL_2", | |
| "3": "LABEL_3", | |
| "4": "LABEL_4" | |
| }, | |
| "init_std": 0.02, | |
| "label2id": { | |
| "LABEL_0": 0, | |
| "LABEL_1": 1, | |
| "LABEL_2": 2, | |
| "LABEL_3": 3, | |
| "LABEL_4": 4 | |
| }, | |
| "model_type": "lw_detr", | |
| "num_feature_levels": 2, | |
| "num_queries": 10, | |
| "projector_in_channels": [ | |
| 32, | |
| 32 | |
| ], | |
| "projector_out_channels": 32, | |
| "projector_scale_factors": [ | |
| 0.5, | |
| 2.0 | |
| ], | |
| "transformers_version": "5.16.0.dev0" | |
| } | |