-
Notifications
You must be signed in to change notification settings - Fork 4
/
setting.py
59 lines (59 loc) · 2.5 KB
/
setting.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
52
53
54
55
56
57
58
59
# Modify this Path to make adaptive model path environment
myModelRootPath =['./Models']
#myModelRootPath = ['/home','keti', 'CLUST_KETI', 'Clust', 'KETIAppTestCode','MLModelTest','Models']
myModelInfoList = {
"brits":{
"modelRootPath": myModelRootPath,
"modelInfoPath": ["brits"],
"modelFileNames":['model.json', 'model.pth']},
"lstm":{
"modelRootPath": myModelRootPath,
"modelInfoPath": ["lstm"],
"modelFileNames":['model_state_dict.pth']},
"gru":{
"modelRootPath": myModelRootPath,
"modelInfoPath": ["gru"],
"modelFileNames":['model_state_dict.pth']},
# TODO 아래 클래시피케이션 중복 아닌지 확인해야함.
"LSTM_cf":{
"modelRootPath": myModelRootPath,
"modelInfoPath": ["LSTM_cf"],
"modelFileNames":['model.pt']},
"GRU_cf":{
"modelRootPath": myModelRootPath,
"modelInfoPath": ["GRU_cf"],
"modelFileNames":['model.pt']},
"CNN_1D_cf":{
"modelRootPath": myModelRootPath,
"modelInfoPath": ["CNN_1D_cf"],
"modelFileNames":['model.pt']},
"LSTM_FCNs_cf":{
"modelRootPath": myModelRootPath,
"modelInfoPath": ["LSTM_FCNs_cf"],
"modelFileNames":['model.pt']},
"FC_cf":{
"modelRootPath": myModelRootPath,
"modelInfoPath": ["FC_cf"],
"modelFileNames":['model.pt']},
# Regression Model
"LSTM_rg":{
"modelRootPath": myModelRootPath,
"modelInfoPath": ["LSTM_rg"],
"modelFileNames":['model.pt']},
"GRU_rg":{
"modelRootPath": myModelRootPath,
"modelInfoPath": ["GRU_rg"],
"modelFileNames":['model.pt']},
"CNN_1D_rg":{
"modelRootPath": myModelRootPath,
"modelInfoPath": ["CNN_1D_rg"],
"modelFileNames":['model.pt']},
"LSTM_FCNs_rg":{
"modelRootPath": myModelRootPath,
"modelInfoPath": ["LSTM_FCNs_rg"],
"modelFileNames":['model.pt']},
"FC_rg":{
"modelRootPath": myModelRootPath,
"modelInfoPath": ["FC_rg"],
"modelFileNames":['model.pt']}
}