YoonaAI commited on
Commit
382a5cf
·
1 Parent(s): 5909968

Create configs/pymaf_config.py

Browse files
Files changed (1) hide show
  1. lib/pymaf/configs/pymaf_config.py +47 -0
lib/pymaf/configs/pymaf_config.py ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ SOLVER:
2
+ MAX_ITER: 500000
3
+ TYPE: Adam
4
+ BASE_LR: 0.00005
5
+ GAMMA: 0.1
6
+ STEPS: [0]
7
+ EPOCHS: [0]
8
+ DEBUG: False
9
+ LOGDIR: ''
10
+ DEVICE: cuda
11
+ NUM_WORKERS: 8
12
+ SEED_VALUE: -1
13
+ LOSS:
14
+ KP_2D_W: 300.0
15
+ KP_3D_W: 300.0
16
+ SHAPE_W: 0.06
17
+ POSE_W: 60.0
18
+ VERT_W: 0.0
19
+ INDEX_WEIGHTS: 2.0
20
+ # Loss weights for surface parts. (24 Parts)
21
+ PART_WEIGHTS: 0.3
22
+ # Loss weights for UV regression.
23
+ POINT_REGRESSION_WEIGHTS: 0.5
24
+ TRAIN:
25
+ NUM_WORKERS: 8
26
+ BATCH_SIZE: 64
27
+ PIN_MEMORY: True
28
+ TEST:
29
+ BATCH_SIZE: 32
30
+ MODEL:
31
+ PyMAF:
32
+ BACKBONE: 'res50'
33
+ MLP_DIM: [256, 128, 64, 5]
34
+ N_ITER: 3
35
+ AUX_SUPV_ON: True
36
+ DP_HEATMAP_SIZE: 56
37
+ RES_MODEL:
38
+ DECONV_WITH_BIAS: False
39
+ NUM_DECONV_LAYERS: 3
40
+ NUM_DECONV_FILTERS:
41
+ - 256
42
+ - 256
43
+ - 256
44
+ NUM_DECONV_KERNELS:
45
+ - 4
46
+ - 4
47
+ - 4