-
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.
- Loading branch information
1 parent
43e5a20
commit a23080a
Showing
4 changed files
with
91 additions
and
59 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
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,22 @@ | ||
import numpy as np | ||
import sys | ||
import torch | ||
|
||
import train | ||
import decoder | ||
import models | ||
|
||
if __name__ == '__main__': | ||
np.random.seed(0x5EED+3) | ||
if len(sys.argv) == 1: | ||
"""Run functions in this scratch area. | ||
""" | ||
valid_file = 'C:\\Users\\aj14\\Desktop\\SMI\\data\\valid_data.h5py' | ||
train_file = 'C:\\Users\\aj14\\Desktop\\SMI\\data\\training_data.h5py' | ||
test_file = 'C:\\Users\\aj14\\Desktop\\SMI\\data\\test_data.h5py' | ||
|
||
runner = train.TrainingRunner(train_file, valid_file, test_file) | ||
runner.scan_hyperparams() | ||
|
||
else: | ||
print("Error: Unsupported number of command-line arguments") |
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