summaryrefslogtreecommitdiff
path: root/app/client/modules/samplernn/samplernn.actions.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-06-04 22:19:11 +0200
committerJules Laplace <julescarbon@gmail.com>2018-06-04 22:19:11 +0200
commitcfe98e6eef5ca24b5c2656fcda8e3fac71d55a1d (patch)
treefd8724292ce4309b96811160261fbcb4fa30fe06 /app/client/modules/samplernn/samplernn.actions.js
parentd38fd8419223560bc82f6153de80f889bbd75b01 (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.js15
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