From 1d4fca365ae76f193c05da6eb1d58b41b171e359 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 26 May 2018 23:51:54 +0200 Subject: running basic tasks, monitoring stdout! --- app/relay/modules/test.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'app/relay/modules') 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', -- cgit v1.2.3-70-g09d2