-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstants.py
More file actions
31 lines (24 loc) · 746 Bytes
/
constants.py
File metadata and controls
31 lines (24 loc) · 746 Bytes
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
from datetime import datetime
IMAGE_SIZE = 256
### SETUP CAPS ###
caps = True
type_str = "caps" if caps else "vgg-16"
output_caps = 10
mid_caps = 8
dims = 10
### SETUP TRAINING VARIABLES ###
batch_size = 1
steps = 5000
epochs = 1000
### LOGGING ###
log = True
log_vars = False
logdir = "logs/scalars/" + type_str + "-mid-" + str(mid_caps) + "-" + str(dims) + \
"-out-" + str(output_caps) + "-" + str(dims)
# imdir = "logs/train_data/" + datetime.now().strftime("%Y%m%d-%H%M%S")
imdir = "logs/train_data/20210817-101948"
histdir = "logs/hist/" + type_str + "-mid-" + str(mid_caps) + "-" + str(dims) + \
"-out-" + str(output_caps) + "-" + str(dims)
restore_disc_triplet = True
restore_disc_began = True
restore_gen = True