diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-06-04 22:19:11 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-06-04 22:19:11 +0200 |
| commit | cfe98e6eef5ca24b5c2656fcda8e3fac71d55a1d (patch) | |
| tree | fd8724292ce4309b96811160261fbcb4fa30fe06 /app/client/modules/samplernn/samplernn.actions.js | |
| parent | d38fd8419223560bc82f6153de80f889bbd75b01 (diff) | |
going over all this task stuff
Diffstat (limited to 'app/client/modules/samplernn/samplernn.actions.js')
| -rw-r--r-- | app/client/modules/samplernn/samplernn.actions.js | 15 |
1 files changed, 0 insertions, 15 deletions
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 |
