-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
36 lines (31 loc) · 806 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
class hyperpm(object):
routit = None
dropout = None
lr = None
reg = None
nlayer = None
ncaps = None
nhidden = None
latent_nnb_k = None
gm_update_rate = None
space_lambda = None
div_lambda = None
class config(object):
datname = None
datadir = "../data/dataset/"
modeldir = "../data/model/"
cur_ddir = None
cur_mdir = None
nepoch = 1000 # max-training-epochs
early = 100 # patience for early-stopping
nbsz = 50 # size of the sampled node neighbors for efficient training
rnd_seed = None
hpm_opt = False # whether in the mode of hyper-params' opt
cpu = False
record_tst = True
is_print = True
is_sav_model = False
is_rdsp = False
rd_trn_idx = None
rd_val_idx = None
rd_tst_idx = None