diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-09-24 02:24:10 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-09-24 02:24:10 +0200 |
| commit | 9bd4bfbec08732ca0821d6f493e4c02524b71b95 (patch) | |
| tree | 00c6000f786c4ec1fc8c74f33c9d15832c99834b /app/client | |
| parent | 2a19a76ee04c542c199424cc53baafcfc7fa2cc7 (diff) | |
splciing cmoing soon
Diffstat (limited to 'app/client')
| -rw-r--r-- | app/client/modules/pix2pixhd/views/pix2pixhd.train.js | 4 | ||||
| -rw-r--r-- | app/client/modules/pix2pixhd/views/sequence.editor.js | 8 |
2 files changed, 7 insertions, 5 deletions
diff --git a/app/client/modules/pix2pixhd/views/pix2pixhd.train.js b/app/client/modules/pix2pixhd/views/pix2pixhd.train.js index 65678ae..1a23618 100644 --- a/app/client/modules/pix2pixhd/views/pix2pixhd.train.js +++ b/app/client/modules/pix2pixhd/views/pix2pixhd.train.js @@ -61,9 +61,11 @@ class Pix2PixHDTrain extends Component { if (dataset) { const processed = dataset.input .map(f => this.props.pix2pixhd.data.fileLookup[f]) - .reduce((a,b) => { + .reduce((a, b) => { + console.log(b) return b.processed || a }, false) + console.log(dataset.input, processed) dataset.processed = processed this.setState({ processed }) } diff --git a/app/client/modules/pix2pixhd/views/sequence.editor.js b/app/client/modules/pix2pixhd/views/sequence.editor.js index 7c3dc3b..87a1b7f 100644 --- a/app/client/modules/pix2pixhd/views/sequence.editor.js +++ b/app/client/modules/pix2pixhd/views/sequence.editor.js @@ -44,7 +44,7 @@ class SequenceEditor extends Component { reset(){ const { checkpoint } = this.props if (!(checkpoint && checkpoint.sequence)) return - console.log(checkpoint) + // console.log(checkpoint) this.setState({ ...initialState, title: checkpoint.name + '_' + moment().format("YYYYMMDD") @@ -63,7 +63,7 @@ class SequenceEditor extends Component { const { app, pix2pixhd, remote, checkpoint, folder_id, processed } = this.props const { cursor, selection, title } = this.state const path = "sequences/" + checkpoint.name - console.log(checkpoint, pix2pixhd) + // console.log(checkpoint, pix2pixhd) return ( <div className='sequenceEditor row'> {selection @@ -89,8 +89,8 @@ class SequenceEditor extends Component { </Group> <Group title='Salt dataset'> {processed - ? 'Salting is only available on processed datasets.' - : 'Salting coming soon!'} + ? 'Salting coming soon!' + : 'Salting coming soon to processed datasets.'} </Group> </div> : <div className='form'><Group title='New dataset'>Please select some frames</Group></div> |
