summaryrefslogtreecommitdiff
path: root/app/client
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-09-05 13:01:54 +0200
committerJules Laplace <julescarbon@gmail.com>2018-09-05 13:01:54 +0200
commitead43de436c7e625a77b0103e70ba0100ad52f8e (patch)
tree543cef85a1a5404df5040b5a054f21af2a73f5a9 /app/client
parenta04432efe5f4f3a21d20e4411949c166f1e62f93 (diff)
seq name
Diffstat (limited to 'app/client')
-rw-r--r--app/client/modules/pix2pixhd/views/pix2pixhd.train.js6
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>