DETRPose_N_COCO / config.json
SebasJanampa's picture
Push model using huggingface_hub.
79490b3 verified
Raw History Blame Contribute Delete
1.86 kB
{
"model": {
"_target_": "detrpose.nn.DETR",
"backbone": {
"_target_": "detrpose.nn.HGNetv2",
"freeze_at": -1,
"freeze_norm": true,
"freeze_stem_only": true,
"name": "B0",
"pretrained": false,
"return_idx": [
2,
3
],
"use_lab": true
},
"encoder": {
"_target_": "detrpose.nn.DETRPoseHybridEncoder",
"act": "silu",
"depth_mult": 0.5,
"dim_feedforward": 512,
"dropout": 0.0,
"enc_act": "gelu",
"eval_spatial_size": [
640,
640
],
"expansion": 0.34,
"feat_strides": [
16,
32
],
"hidden_dim": 128,
"in_channels": [
512,
1024
],
"num_heads": 8,
"num_levels": 2,
"temperatureH": 20,
"temperatureW": 20,
"use_encoder_idx": [
1
]
},
"transformer": {
"_target_": "detrpose.nn.DETRPoseTransformer",
"activation": "relu",
"cls_no_bias": false,
"dec_pred_class_embed_share": false,
"dec_pred_pose_embed_share": false,
"dim_feedforward": 512,
"dropout": 0.0,
"eval_spatial_size": [
640,
640
],
"feat_strides": [
16,
32
],
"hidden_dim": 128,
"learnable_tgt_init": true,
"num_classes": 2,
"num_heads": 8,
"num_keypoints": 17,
"num_layers": 3,
"num_levels": 2,
"num_points": 6,
"num_queries": 60,
"num_select": 60,
"reg_max": 32,
"reg_scale": 4,
"return_intermediate_dec": true,
"two_stage_bbox_embed_share": false,
"two_stage_class_embed_share": false,
"two_stage_type": "standard"
}
},
"postprocessor": {
"_target_": "detrpose.nn.PostProcessor",
"num_keypoints": 17,
"num_select": 60
}
}