periph_rgb.py 365 Bytes
Newer Older
Nianchen Deng's avatar
sync    
Nianchen Deng committed
1
2
from ..my import color_mode

BobYeah's avatar
BobYeah committed
3
4
def update_config(config):
    # Dataset settings
Nianchen Deng's avatar
sync    
Nianchen Deng committed
5
    config.COLOR = color_mode.RGB
BobYeah's avatar
BobYeah committed
6
7
8
9

    # Net parameters
    config.NET_TYPE = 'msl'
    config.N_ENCODE_DIM = 10
BobYeah's avatar
sync    
BobYeah committed
10
11
12
13
14
    config.FC_PARAMS.update({
        'nf': 128,
        'n_layers': 4
    })
    config.SAMPLE_PARAMS.update({
BobYeah's avatar
BobYeah committed
15
        'depth_range': (1, 50),
BobYeah's avatar
sync    
BobYeah committed
16
17
        'n_samples': 8
    })