-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.py
44 lines (38 loc) · 805 Bytes
/
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
class BaseConfig:
lr=1e-4
checkpoint_dir = './summaries/'
summary_dir= './summaries/'
max_to_keep=5
max_images_to_visualize=5
summary_image_shape=[28,56,1]
load=True
class NeuralConfig(BaseConfig):
n_epochs=20
nit_epoch=1000
lr=1e-4
batch_size=32
state_size=[784]
class ConvConfig(BaseConfig):
n_epochs=20
nit_epoch=1000
lr=1e-4
batch_size=32
state_size=[28,28,1]
class LstmConfig(BaseConfig):
n_steps=28
state_size=28
n_epochs=20
nit_epoch=1000
lr=1e-4
batch_size=32
class AutoEncoderConfig(BaseConfig):
state_size=[96,96,2]
labels_size=[96,96]
n_epochs=20
nit_epoch=100
lr=.01
batch_size=32
num_test=5
train_ratio=.9
states_path='./data/states.npy'
dropout_rate=.5