summaryrefslogtreecommitdiff
path: root/app/client/modules/pix2pixhd/views
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-09-16 16:46:37 +0200
committerJules Laplace <julescarbon@gmail.com>2018-09-16 16:46:37 +0200
commitccc9f74102e4432ac8341395174b0004b1435e32 (patch)
tree144ce6d06394f219048d3152fe3f0109bb66c83d /app/client/modules/pix2pixhd/views
parentd94c415168b20dd43848dd7c8c77c07d8d4528d4 (diff)
surface sequence/dataset count...
Diffstat (limited to 'app/client/modules/pix2pixhd/views')
-rw-r--r--app/client/modules/pix2pixhd/views/pix2pixhd.train.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/client/modules/pix2pixhd/views/pix2pixhd.train.js b/app/client/modules/pix2pixhd/views/pix2pixhd.train.js
index 05ad638..06caa5a 100644
--- a/app/client/modules/pix2pixhd/views/pix2pixhd.train.js
+++ b/app/client/modules/pix2pixhd/views/pix2pixhd.train.js
@@ -52,6 +52,7 @@ class Pix2PixHDTrain extends Component {
if (prevState.checkpoint_name !== this.state.checkpoint_name) {
this.setState({ epoch: 'latest' })
this.props.actions.list_epochs(this.state.checkpoint_name)
+ this.props.actions.count_dataset(this.state.checkpoint_name)
}
}
handleChange(name, value){
@@ -152,6 +153,7 @@ class Pix2PixHDTrain extends Component {
</Group>
<Group title='Augmentation Grid'>
<AugmentationGrid
+ checkpoint={this.props.pix2pixhd.checkpoint}
take={[1,2,3,4,5,10,15,20,25,50,75,100,200,300,400,500,1000]}
make={[1,2,3,4,5,10,15,20,25,50,75,100,200,]}
onAugment={(augment_take, augment_make) => {