-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathArgs_notebook.py
52 lines (44 loc) · 978 Bytes
/
Args_notebook.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
45
46
47
48
49
50
51
class args:
#Arguments passed through the code
# encoders
encoder_path= None
encoder_legacy_path= None
encoder_0_legacy_path= None
encoder_0_path= None
encoder_1_legacy_path= None
encoder_1_path= None
encoder_lr = 1e-4
encoder_bs = 128
encoder_max_epochs = 50
encoder_type = 'vae'
# clusters
cluster_0_path= None
cluster_1_path= None
cluster_number = 10
cluster_path= None
cluster_n_init = 20
cluster_max_step = 5000
# dfc
dfc_0_path= None
dfc_1_path= None
dfc_path= None
dfc_hidden_dim = 64
adv_multiplier = 10.0
dfc_tradeoff = 'none'
# dec
dec_lr = 0.001
dec_batch_size = 512
dec_iters = 20000
# dataset
dataset = "mnist_usps"
input_height = 32
digital_dataset = True
method = "dfc"
iters = 20000
lr = 1e-2
test_interval = 5000
bs = 512
log_dir = "./DFC_LOGS/"
gpu = 0
seed = 2019
half_tensor= False