summaryrefslogtreecommitdiff
path: root/app/relay/modules/test.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/relay/modules/test.js')
-rw-r--r--app/relay/modules/test.js8
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',