|
import os |
|
import os.path as osp |
|
|
|
|
|
num_gpus = -1 |
|
exp_name = 'output/exp1/pre_analysis' |
|
|
|
|
|
save_epoch = 1 |
|
lr = 1e-5 |
|
end_epoch = 10 |
|
train_batch_size = 32 |
|
|
|
syncbn = True |
|
bbox_ratio = 1.2 |
|
|
|
|
|
continue_train = False |
|
start_over = True |
|
|
|
|
|
agora_fix_betas = True |
|
agora_fix_global_orient_transl = True |
|
agora_valid_root_pose = True |
|
|
|
|
|
dataset_list = ['Human36M', 'MSCOCO', 'MPII', 'AGORA', 'EHF', 'SynBody', 'GTA_Human2', \ |
|
'EgoBody_Egocentric', 'EgoBody_Kinect', 'UBody', 'PW3D', 'MuCo', 'PROX'] |
|
trainset_3d = ['MSCOCO','AGORA', 'UBody'] |
|
trainset_2d = ['PW3D', 'MPII', 'Human36M'] |
|
trainset_humandata = ['BEDLAM', 'SPEC', 'GTA_Human2','SynBody', 'PoseTrack', |
|
'EgoBody_Egocentric', 'PROX', 'CrowdPose', |
|
'EgoBody_Kinect', 'MPI_INF_3DHP', 'RICH', 'MuCo', 'InstaVariety', |
|
'Behave', 'UP3D', 'ARCTIC', |
|
'OCHuman', 'CHI3D', 'RenBody_HiRes', 'MTP', 'HumanSC3D', 'RenBody', |
|
'FIT3D', 'Talkshow' , 'SSP3D', 'LSPET'] |
|
testset = 'EHF' |
|
|
|
use_cache = True |
|
|
|
BEDLAM_train_sample_interval = 5 |
|
EgoBody_Kinect_train_sample_interval = 10 |
|
train_sample_interval = 10 |
|
MPI_INF_3DHP_train_sample_interval = 5 |
|
InstaVariety_train_sample_interval = 10 |
|
RenBody_HiRes_train_sample_interval = 5 |
|
ARCTIC_train_sample_interval = 10 |
|
|
|
FIT3D_train_sample_interval = 10 |
|
Talkshow_train_sample_interval = 10 |
|
|
|
|
|
data_strategy = 'balance' |
|
total_data_len = 4500000 |
|
|
|
|
|
smplx_loss_weight = 1.0 |
|
smplx_pose_weight = 10.0 |
|
|
|
smplx_kps_3d_weight = 100.0 |
|
smplx_kps_2d_weight = 1.0 |
|
net_kps_2d_weight = 1.0 |
|
|
|
agora_benchmark = 'agora_model' |
|
|
|
model_type = 'smpler_x_s' |
|
encoder_config_file = 'main/transformer_utils/configs/smpler_x/encoder/body_encoder_small.py' |
|
encoder_pretrained_model_path = 'pretrained_models/vitpose_small.pth' |
|
feat_dim = 384 |
|
|
|
|
|
|
|
upscale = 4 |
|
hand_pos_joint_num = 20 |
|
face_pos_joint_num = 72 |
|
num_task_token = 24 |
|
num_noise_sample = 0 |
|
|
|
|
|
train_sample_interval = 10 |
|
test_sample_interval = 100 |
|
make_same_len = False |
|
|
|
|
|
input_img_shape = (512, 384) |
|
input_body_shape = (256, 192) |
|
output_hm_shape = (16, 16, 12) |
|
input_hand_shape = (256, 256) |
|
output_hand_hm_shape = (16, 16, 16) |
|
output_face_hm_shape = (8, 8, 8) |
|
input_face_shape = (192, 192) |
|
focal = (5000, 5000) |
|
princpt = (input_body_shape[1] / 2, input_body_shape[0] / 2) |
|
body_3d_size = 2 |
|
hand_3d_size = 0.3 |
|
face_3d_size = 0.3 |
|
camera_3d_size = 2.5 |
|
|
|
|
|
print_iters = 100 |
|
lr_mult = 1 |
|
|
|
|
|
test_batch_size = 32 |
|
|
|
|
|
num_thread = 2 |
|
vis = False |
|
|
|
|
|
output_dir, model_dir, vis_dir, log_dir, result_dir, code_dir = None, None, None, None, None, None |
|
|