-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.py
25 lines (25 loc) · 1.15 KB
/
config.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
BUFFER_SIZE = 400
DATASET_TYPE = 'colorization' # 'pix2pix', 'colorization', 'segmentation'
BATCH_SIZE = 1
IMG_WIDTH = 256
IMG_HEIGHT = 256
OUTPUT_CHANNELS = 3
LAMBDA = 100 # Recommended By Authors of the paper
EPOCHS = 150
ACTIVATION = 'Mish' # Use '' for Default Activations and 'Mish' otherwise
GENERATOR_ACTIVATION_INDEX = [
False, False, False, False, False, False, False, False, # Generator Downsampling Blocks
False, False, False, False, False, False, False # Generator Upsampling Blocks
]
DISCRIMINATOR_ACTIVATION_INDEX = [
False, False, False, False
]
LEARNING_RATE = 2e-4
LEARNING_RATE = 2e-4
EXISTING_DATASETS = {
'cityscapes' : 'https://people.eecs.berkeley.edu/~tinghuiz/projects/pix2pix/datasets/cityscapes.tar.gz',
'edges2handbags' : 'https://people.eecs.berkeley.edu/~tinghuiz/projects/pix2pix/datasets/edges2handbags.tar.gz',
'edges2shoes' : 'https://people.eecs.berkeley.edu/~tinghuiz/projects/pix2pix/datasets/edges2shoes.tar.gz',
'facades' : 'https://people.eecs.berkeley.edu/~tinghuiz/projects/pix2pix/datasets/facades.tar.gz',
'maps' : 'https://people.eecs.berkeley.edu/~tinghuiz/projects/pix2pix/datasets/maps.tar.gz'
}