diff options
| author | jules@lens <julescarbon@gmail.com> | 2018-09-05 12:00:28 +0200 |
|---|---|---|
| committer | jules@lens <julescarbon@gmail.com> | 2018-09-05 12:00:28 +0200 |
| commit | 9abfa16dc059d042c21f1636ecc8797ef29a030d (patch) | |
| tree | d0583cb5dae01de1abc57ed8f7587d23242ed6f0 /app/client/modules/pix2pixhd/pix2pixhd.tasks.js | |
| parent | 0a3c6743543dd3dfcb876f5ce735b72d050e981d (diff) | |
| parent | 15eb6806b6e216255f33abcb885f6cdbc38a7663 (diff) | |
Merge branch 'master' of asdf.us:live-cortex
Diffstat (limited to 'app/client/modules/pix2pixhd/pix2pixhd.tasks.js')
| -rw-r--r-- | app/client/modules/pix2pixhd/pix2pixhd.tasks.js | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/app/client/modules/pix2pixhd/pix2pixhd.tasks.js b/app/client/modules/pix2pixhd/pix2pixhd.tasks.js index f3c5342..bd51f2b 100644 --- a/app/client/modules/pix2pixhd/pix2pixhd.tasks.js +++ b/app/client/modules/pix2pixhd/pix2pixhd.tasks.js @@ -52,3 +52,29 @@ export const live_task = (sequence, checkpoint, opt) => dispatch => { console.log('add live task') return actions.queue.add_task(task) } + +export const augment_task = (dataset, opt) => dispatch => { + const task = { + module: module.name, + activity: 'augment', + dataset, + opt: { + ...opt, + } + } + console.log(task) + console.log('add augment task') + return actions.queue.add_task(task) +} + +export const clear_recursive_task = (dataset) => dispatch => { + const task = { + module: module.name, + activity: 'clear_recursive', + dataset, + } + console.log(task) + console.log('add clear recursive task') + return actions.queue.add_task(task) +} + |
