diff options
| author | Jules <jules@asdf.us> | 2018-06-20 12:29:36 -0400 |
|---|---|---|
| committer | Jules <jules@asdf.us> | 2018-06-20 12:29:36 -0400 |
| commit | 89c3c2546af95122099e5e3e7cc0c40448066508 (patch) | |
| tree | 226bcc92ebbfab003339ffbd346a90421d9c6fe0 /app/client/modules/pix2pixhd/pix2pixhd.tasks.js | |
| parent | 95de035728c209a6d0acee9b14a86837e44d26e4 (diff) | |
| parent | 78abe1dc85c7b251cc871ffd4630a4a6c5eb2bd4 (diff) | |
oop
Diffstat (limited to 'app/client/modules/pix2pixhd/pix2pixhd.tasks.js')
| -rw-r--r-- | app/client/modules/pix2pixhd/pix2pixhd.tasks.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/client/modules/pix2pixhd/pix2pixhd.tasks.js b/app/client/modules/pix2pixhd/pix2pixhd.tasks.js index 2e7cbbd..f3c5342 100644 --- a/app/client/modules/pix2pixhd/pix2pixhd.tasks.js +++ b/app/client/modules/pix2pixhd/pix2pixhd.tasks.js @@ -31,21 +31,21 @@ export const train_task = (dataset, folder_id, epochs=1) => dispatch => { epochs: epochs, opt: { folder_id: folder_id, - load_size: 264, // switch to 256 for pix2wav } } console.log(task) return actions.queue.add_task(task) } -export const live_task = (sequence, checkpoint) => dispatch => { +export const live_task = (sequence, checkpoint, opt) => dispatch => { const task = { module: module.name, activity: 'live', dataset: sequence, checkpoint, opt: { - poll_delay: 0.09, + ...opt, + poll_delay: 0.01, } } console.log(task) |
