diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-05-26 23:51:54 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-05-26 23:51:54 +0200 |
| commit | 1d4fca365ae76f193c05da6eb1d58b41b171e359 (patch) | |
| tree | c3cfd57d6bd0b9771efaccd957f63bb3f6f60ae6 /app/relay/modules/test.js | |
| parent | 2fa89d40071e4afffa2aeb1805eecf2f1c148cf0 (diff) | |
running basic tasks, monitoring stdout!
Diffstat (limited to 'app/relay/modules/test.js')
| -rw-r--r-- | app/relay/modules/test.js | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/app/relay/modules/test.js b/app/relay/modules/test.js index 6c94a0c..5619159 100644 --- a/app/relay/modules/test.js +++ b/app/relay/modules/test.js @@ -1,19 +1,17 @@ import path from 'path' const name = 'test' -const cwd = process.env.TEST_CWD || './test/module/' +const cwd = process.env.TEST_CWD || process.cwd() + '/test/module/' const cpu = { type: 'perl', script: 'test.pl', - params: (task) => { - } + params: '--train', } const gpu = { type: 'python', script: 'test.pl', - params: (task) => { - } + params: '--test', } const live = { type: 'pytorch', |
