diff options
Diffstat (limited to 'app/client')
| -rw-r--r-- | app/client/modules/pix2pixhd/views/pix2pixhd.train.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/client/modules/pix2pixhd/views/pix2pixhd.train.js b/app/client/modules/pix2pixhd/views/pix2pixhd.train.js index df3a1f2..ace93e4 100644 --- a/app/client/modules/pix2pixhd/views/pix2pixhd.train.js +++ b/app/client/modules/pix2pixhd/views/pix2pixhd.train.js @@ -141,7 +141,7 @@ class Pix2PixHDTrain extends Component { <Button title="Augment dataset" value="Augment" - onClick={() => remote.augment_task(this.state.checkpoint_name, this.state)} + onClick={() => this.props.remote.augment_task(this.state.checkpoint_name, this.state)} /> </Group> @@ -149,7 +149,7 @@ class Pix2PixHDTrain extends Component { <Button title="Train one epoch" value="Train" - onClick={() => remote.train_task(this.state.checkpoint_name, pix2pixhd.folder_id, 1)} + onClick={() => this.props.remote.train_task(this.state.checkpoint_name, pix2pixhd.folder_id, 1)} /> </Group> @@ -157,7 +157,7 @@ class Pix2PixHDTrain extends Component { <Button title="Delete recursive frames" value="Clear" - onClick={() => remote.clear_recursive_task(this.state.checkpoint_name)} + onClick={() => this.props.remote.clear_recursive_task(this.state.checkpoint_name)} /> </Group> </div> |
