From 189be96150fbd49766228cf50c6a89279542565c Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sun, 16 Sep 2018 16:48:56 +0200 Subject: surface ckpt name --- app/client/common/augmentationGrid.component.js | 30 ++++++++++++++++--------- 1 file changed, 19 insertions(+), 11 deletions(-) (limited to 'app/client/common') diff --git a/app/client/common/augmentationGrid.component.js b/app/client/common/augmentationGrid.component.js index 536136a..af77f6c 100644 --- a/app/client/common/augmentationGrid.component.js +++ b/app/client/common/augmentationGrid.component.js @@ -10,28 +10,36 @@ export default class AugmentationGrid extends Component { x: 0, y: 0, sum: 0, } render() { + let { + make, take, checkpoint, + onTrain, onAugment, + } = this.props + let { + x, y, sum + } = this.state let rows = [] return ( this.setState({ x, y })} onClick={(x, y) => { - this.setState({ sum: this.state.sum + x * y }) - this.props.onAugment(y, x) + this.setState({ sum: sum + x * y }) + onAugment(y, x) }} /> - {this.state.y} - {this.state.x} - {this.state.x * this.state.y} - {this.state.sum} - {this.state.checkpoint.sequenceCount} - {this.state.checkpoint.datasetCount} + {checkpoint.name} + {y} + {x} + {x * y} + {sum} + {checkpoint.sequenceCount} + {checkpoint.datasetCount} ) -- cgit v1.2.3-70-g09d2