Spaces:
Running
on
L40S
Running
on
L40S
File size: 3,325 Bytes
2252f3d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 |
SOLVER:
MAX_ITER: 500000
TYPE: Adam
BASE_LR: 0.00005
GAMMA: 0.1
STEPS: [0]
EPOCHS: [0]
# DEBUG: False
LOGDIR: ''
DEVICE: cuda
# NUM_WORKERS: 8
SEED_VALUE: -1
LOSS:
KP_2D_W: 300.0
KP_3D_W: 300.0
HF_KP_2D_W: 1000.0
HF_KP_3D_W: 1000.0
GL_HF_KP_2D_W: 30.
FEET_KP_2D_W: 0.
SHAPE_W: 0.06
POSE_W: 60.0
VERT_W: 0.0
VERT_REG_W: 300.0
INDEX_WEIGHTS: 2.0
# Loss weights for surface parts. (24 Parts)
PART_WEIGHTS: 0.3
# Loss weights for UV regression.
POINT_REGRESSION_WEIGHTS: 0.5
TRAIN:
NUM_WORKERS: 8
BATCH_SIZE: 64
LOG_FERQ: 100
SHUFFLE: True
PIN_MEMORY: True
BHF_MODE: 'full_body'
TEST:
BATCH_SIZE: 32
MODEL:
# IWP, Identity rotation and Weak Perspective Camera
USE_IWP_CAM: True
USE_GT_FL: False
PRED_PITCH: False
MESH_MODEL: 'smplx'
ALL_GENDER: False
EVAL_MODE: True
PyMAF:
BACKBONE: 'hr48'
HF_BACKBONE: 'res50'
MAF_ON: True
MLP_DIM: [256, 128, 64, 5]
HF_MLP_DIM: [256, 128, 64, 5]
MLP_VT_DIM: [256, 128, 64, 3]
N_ITER: 3
SUPV_LAST: False
AUX_SUPV_ON: True
HF_AUX_SUPV_ON: False
HF_BOX_CENTER: True
DP_HEATMAP_SIZE: 56
GRID_FEAT: False
USE_CAM_FEAT: True
HF_IMG_SIZE: 224
HF_DET: 'pifpaf'
OPT_WRIST: True
ADAPT_INTEGR: True
PRED_VIS_H: True
HAND_VIS_TH: 0.1
GRID_ALIGN:
USE_ATT: True
USE_FC: False
ATT_FEAT_IDX: 2
ATT_HEAD: 1
ATT_STARTS: 1
RES_MODEL:
DECONV_WITH_BIAS: False
NUM_DECONV_LAYERS: 3
NUM_DECONV_FILTERS:
- 256
- 256
- 256
NUM_DECONV_KERNELS:
- 4
- 4
- 4
POSE_RES_MODEL:
INIT_WEIGHTS: True
NAME: 'pose_resnet'
PRETR_SET: 'imagenet' # 'none' 'imagenet' 'coco'
# PRETRAINED: 'data/pretrained_model/resnet50-19c8e357.pth'
PRETRAINED_IM: 'data/pretrained_model/resnet50-19c8e357.pth'
PRETRAINED_COCO: 'data/pretrained_model/pose_resnet_50_256x192.pth.tar'
EXTRA:
TARGET_TYPE: 'gaussian'
HEATMAP_SIZE:
- 48
- 64
SIGMA: 2
FINAL_CONV_KERNEL: 1
DECONV_WITH_BIAS: False
NUM_DECONV_LAYERS: 3
NUM_DECONV_FILTERS:
- 256
- 256
- 256
NUM_DECONV_KERNELS:
- 4
- 4
- 4
NUM_LAYERS: 50
HR_MODEL:
INIT_WEIGHTS: True
NAME: pose_hrnet
PRETR_SET: 'coco' # 'none' 'imagenet' 'coco'
PRETRAINED_IM: 'data/pretrained_model/hrnet_w48-imgnet-8ef0771d.pth'
PRETRAINED_COCO: 'data/pretrained_model/pose_hrnet_w48_256x192.pth'
TARGET_TYPE: gaussian
IMAGE_SIZE:
- 256
- 256
HEATMAP_SIZE:
- 64
- 64
SIGMA: 2
EXTRA:
PRETRAINED_LAYERS:
- 'conv1'
- 'bn1'
- 'conv2'
- 'bn2'
- 'layer1'
- 'transition1'
- 'stage2'
- 'transition2'
- 'stage3'
- 'transition3'
- 'stage4'
FINAL_CONV_KERNEL: 1
STAGE2:
NUM_MODULES: 1
NUM_BRANCHES: 2
BLOCK: BASIC
NUM_BLOCKS:
- 4
- 4
NUM_CHANNELS:
- 48
- 96
FUSE_METHOD: SUM
STAGE3:
NUM_MODULES: 4
NUM_BRANCHES: 3
BLOCK: BASIC
NUM_BLOCKS:
- 4
- 4
- 4
NUM_CHANNELS:
- 48
- 96
- 192
FUSE_METHOD: SUM
STAGE4:
NUM_MODULES: 3
NUM_BRANCHES: 4
BLOCK: BASIC
NUM_BLOCKS:
- 4
- 4
- 4
- 4
NUM_CHANNELS:
- 48
- 96
- 192
- 384
FUSE_METHOD: SUM
|