fovea_rgb.py 369 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
    config.FC_PARAMS.update({
Nianchen Deng's avatar
Nianchen Deng committed
11
        'nf': 128,
BobYeah's avatar
sync    
BobYeah committed
12
13
14
        'n_layers': 4
    })
    config.SAMPLE_PARAMS.update({
BobYeah's avatar
BobYeah committed
15
        'depth_range': (1, 50),
Nianchen Deng's avatar
Nianchen Deng committed
16
        'n_samples': 32
Nianchen Deng's avatar
sync    
Nianchen Deng committed
17
18
19
    })