diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-09-13 19:42:31 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-09-13 19:42:31 +0200 |
| commit | c4bbd2afff59d89cacc5879834fa3bf710e26b1c (patch) | |
| tree | a955d04e53959a72af4da21c58e9772b8d14aefd /app/client | |
| parent | 5d51fd50ce59fb958565bc95e7572cc61043b8b4 (diff) | |
argz
Diffstat (limited to 'app/client')
| -rw-r--r-- | app/client/modules/pix2pixhd/pix2pixhd.tasks.js | 1 | ||||
| -rw-r--r-- | app/client/modules/pix2pixhd/views/pix2pixhd.train.js | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/app/client/modules/pix2pixhd/pix2pixhd.tasks.js b/app/client/modules/pix2pixhd/pix2pixhd.tasks.js index 412f066..8fec652 100644 --- a/app/client/modules/pix2pixhd/pix2pixhd.tasks.js +++ b/app/client/modules/pix2pixhd/pix2pixhd.tasks.js @@ -62,6 +62,7 @@ export const augment_task = (dataset, opt) => dispatch => { module: module.name, activity: 'augment', dataset, + folder_id: opt.folder_id, opt: { ...opt, } diff --git a/app/client/modules/pix2pixhd/views/pix2pixhd.train.js b/app/client/modules/pix2pixhd/views/pix2pixhd.train.js index 98d5e88..9c8aacc 100644 --- a/app/client/modules/pix2pixhd/views/pix2pixhd.train.js +++ b/app/client/modules/pix2pixhd/views/pix2pixhd.train.js @@ -164,7 +164,7 @@ class Pix2PixHDTrain extends Component { <Button title="Make a movie without augmenting" value="Generate" - onClick={() => this.props.remote.augment_task(this.state.checkpoint_name, { ...this.state, no_symlinks: true, mov: true })} + onClick={() => this.props.remote.augment_task(this.state.checkpoint_name, { ...this.state, no_symlinks: true, mov: true, folder_id: this.props.pix2pixhd.data.resultsFolder.id })} /> </Group> <Group title='Augmentation Presets'> |
