diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-06-07 01:51:11 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-06-07 01:51:11 +0200 |
| commit | f7d19d22c70b9f8bc879243729eda76f6d66c805 (patch) | |
| tree | 722f500333fd0f82e4615fc0b0d6dea0da680300 /app/client/modules/pix2pix/pix2pix.tasks.js | |
| parent | bfe71c7db045c8a1888b9823297765b294c72641 (diff) | |
ok need to observe whats happening when the checkpoints come back
Diffstat (limited to 'app/client/modules/pix2pix/pix2pix.tasks.js')
| -rw-r--r-- | app/client/modules/pix2pix/pix2pix.tasks.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app/client/modules/pix2pix/pix2pix.tasks.js b/app/client/modules/pix2pix/pix2pix.tasks.js index eaecca8..9572418 100644 --- a/app/client/modules/pix2pix/pix2pix.tasks.js +++ b/app/client/modules/pix2pix/pix2pix.tasks.js @@ -5,6 +5,17 @@ import types from '../../types' import actions from '../../actions' +export const live_task = (dataset, checkpoint, epochs=1) => dispatch => { + const task = { + module: 'pix2pix', + activity: 'live', + dataset: dataset.name, + checkpoint: checkpoint, + } + console.log(task) + return actions.queue.add_task(task) +} + // export const train_task = (dataset, folder_id, epochs=1) => dispatch => { // const task = { // module: 'samplernn', |
