-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig.py
21 lines (19 loc) · 804 Bytes
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
EPOCHS = 75
SAVE_EVERY = 5 # after how many epochs to save a checkpoint
LOG_EVERY = 5 # log training and validation metrics every `LOG_EVERY` epochs
BATCH_SIZE = 16
DEVICE = 'cuda'
LR = 0.0001
ROOT_PATH = '../input/camvid'
# the classes that we want to train
CLASSES_TO_TRAIN = [
'animal', 'archway', 'bicyclist', 'bridge', 'building', 'car',
'cartluggagepram', 'child', 'columnpole', 'fence', 'lanemarkingdrve',
'lanemarkingnondrve', 'misctext', 'motorcyclescooter', 'othermoving',
'parkingblock', 'pedestrian', 'road', 'road shoulder', 'sidewalk',
'signsymbol', 'sky', 'suvpickuptruck', 'trafficcone', 'trafficlight',
'train', 'tree', 'truckbase', 'tunnel', 'vegetationmisc', 'void',
'wall'
]
# DEBUG for visualizations
DEBUG = False