From cfe98e6eef5ca24b5c2656fcda8e3fac71d55a1d Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 4 Jun 2018 22:19:11 +0200 Subject: going over all this task stuff --- app/client/modules/samplernn/samplernn.actions.js | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'app/client/modules/samplernn/samplernn.actions.js') diff --git a/app/client/modules/samplernn/samplernn.actions.js b/app/client/modules/samplernn/samplernn.actions.js index c196cc5..ef3e417 100644 --- a/app/client/modules/samplernn/samplernn.actions.js +++ b/app/client/modules/samplernn/samplernn.actions.js @@ -282,18 +282,3 @@ export const fetch_url = (url) => (dispatch) => { opt: { url } }, { preempt: true, watch: true }) } - -export const train_task_now = (dataset, epochs=1) => (dispatch) => { - const task = { - module: 'samplernn', - activity: 'train', - dataset: dataset, - epochs: epochs, - opt: { - sample_length: 44100 * 5, - n_samples: 6, - keep_old_checkpoints: false, - } - } - return actions.queue.add_task(task) -} \ No newline at end of file -- cgit v1.2.3-70-g09d2