forked from stonescenter/track-particles
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed bugs for LSTM models in config json and code
- Loading branch information
1 parent
def2952
commit a6a18e5
Showing
7 changed files
with
288 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
{ | ||
"paths": { | ||
"save_dir": "results", | ||
"log_dir": "logs" | ||
}, | ||
"data": { | ||
"filename": "./dataset/phi025-025_eta025-025_filtered.csv", | ||
"train_split": 0.70, | ||
"normalise": true | ||
}, | ||
"training": { | ||
"epochs": 20, | ||
"batch_size": 32, | ||
"save_model": true, | ||
"load_model": false, | ||
"use_gpu": true | ||
}, | ||
"model": { | ||
"name": "lstm", | ||
"loss": "mse", | ||
"optimizer": "RMSprop", | ||
"layers": [ | ||
{ | ||
"type": "lstm", | ||
"neurons": 200, | ||
"input_timesteps": 4, | ||
"input_features": 3, | ||
"return_seq": true | ||
}, | ||
{ | ||
"type": "lstm", | ||
"neurons": 200, | ||
"return_seq": false | ||
}, | ||
{ | ||
"type": "dense", | ||
"neurons": 400, | ||
"activation": "tanh" | ||
}, | ||
{ | ||
"type": "activation", | ||
"activation": "tanh" | ||
}, | ||
{ | ||
"type": "repeatvector", | ||
"neurons": 50 | ||
}, | ||
{ | ||
"type": "lstm", | ||
"neurons": 200, | ||
"return_seq": true | ||
}, | ||
{ | ||
"type": "lstm", | ||
"neurons": 200, | ||
"return_seq": true | ||
}, | ||
{ | ||
"type": "timedistributed", | ||
"neurons": 3 | ||
}, | ||
{ | ||
"type": "activation", | ||
"activation": "linear" | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
{ | ||
"paths": { | ||
"save_dir": "results", | ||
"log_dir": "logs" | ||
}, | ||
"data": { | ||
"filename": "./dataset/phi025-025_eta025-025_filtered.csv", | ||
"train_split": 0.70, | ||
"normalise": true | ||
}, | ||
"training": { | ||
"epochs": 20, | ||
"batch_size": 128, | ||
"save_model": true, | ||
"load_model": false, | ||
"use_gpu": true | ||
}, | ||
"model": { | ||
"name": "lstm-paralel", | ||
"loss": "mse", | ||
"optimizer": "RMSprop", | ||
"layers": [ | ||
{ | ||
"type": "lstm-paralel", | ||
"neurons": 400, | ||
"input_timesteps": 4, | ||
"input_features": 3, | ||
"return_seq": false | ||
}, | ||
{ | ||
"type": "dense", | ||
"neurons": 400, | ||
"activation": "relu" | ||
}, | ||
{ | ||
"type": "dropout", | ||
"rate": 0.2 | ||
}, | ||
{ | ||
"type": "dense", | ||
"neurons": 20, | ||
"activation": "relu" | ||
}, | ||
{ | ||
"type": "dense", | ||
"neurons": 3, | ||
"activation": "linear" | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.