File size: 773 Bytes
34fb220
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
exp_name: SSN

# model related
model:
  name: 'SSN'
  in_channels: 1
  out_channels: 1
  resnet: False 

  mid_act: "relu"
  out_act: 'relu'

  optimizer: 'Adam'
  weight_decay: 4e-5
  beta1: 0.9


# dataset
dataset:
  name: 'SSN_Dataset'
  hdf5_file: 'Dataset/SSN/ssn_shadow/shadow_base/ssn_base.hdf5'
  shadow_per_epoch: 10


# test_dataset:
#   name: 'SSN_Dataset'
#   hdf5_file: 'Dataset/SSN/ssn_shadow/shadow_base/ssn_base.hdf5'


# training related
hyper_params:
  lr: 1e-3
  epochs: 100000
  workers: 40
  batch_size: 10
  save_epoch: 10

  eval_batch: 10
  eval_save: False

  # visualization
  vis_iter: 100     # iteration for visualization
  save_iter: 100
  n_cols: 5
  gpus:
    - 0
    - 1

  default_folder: 'weights'
  resume: False
  weight_file: 'latest'