-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathhyperparameters.py
26 lines (26 loc) · 1.1 KB
/
hyperparameters.py
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
hyp = {
'k_n': 16, # KNN
'num_layers': 5, # Number of layers
'num_points': 40000, # Number of input points
'num_classes': 5, # Number of valid classes
'sub_grid_size': 0.001, # preprocess_parameter
'batch_size': 4, # batch_size during training
'val_batch_size': 16, # batch_size during validation and test
'train_steps': 500, # Number of steps per epochs
'val_steps': 100, # Number of validation steps per epoch
'sub_sampling_ratio': [4, 4, 4, 4, 2],
# sampling ratio of random sampling at each layer
'd_out': [16, 64, 128, 256, 512], # feature dimension
'noise_init': 3.5, # noise initial parameter
'max_epoch': 100, # maximum epoch during training
'learning_rate': 1e-3, # initial learning rate
'lr_decays': {i: 0.95 for i in range(0, 500)}, # decay rate of learning rate
'augment_scale_anisotropic': True,
'augment_symmetries': [True, False, False],
'augment_rotation': 'vertical',
'augment_scale_min': 0.8,
'augment_scale_max': 1.2,
'augment_noise': 0.001,
'augment_occlusion': 'none',
'augment_color': 0.8
}