summaryrefslogtreecommitdiff
path: root/app/client/modules/pix2pixhd
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-10-16 18:50:04 +0200
committerJules Laplace <julescarbon@gmail.com>2018-10-16 18:50:04 +0200
commitfe35d87e1e69210b7b0c91d251e83347c5d4ac88 (patch)
tree0baef7456ec69b25d26d40ebf00a5eef12b30236 /app/client/modules/pix2pixhd
parent36e2151d2480d9baadaf2e35c90af721082dc8a8 (diff)
deploy bundle
Diffstat (limited to 'app/client/modules/pix2pixhd')
-rw-r--r--app/client/modules/pix2pixhd/pix2pixhd.actions.js2
-rw-r--r--app/client/modules/pix2pixhd/views/pix2pixhd.train.js14
2 files changed, 8 insertions, 8 deletions
diff --git a/app/client/modules/pix2pixhd/pix2pixhd.actions.js b/app/client/modules/pix2pixhd/pix2pixhd.actions.js
index d067017..68119e1 100644
--- a/app/client/modules/pix2pixhd/pix2pixhd.actions.js
+++ b/app/client/modules/pix2pixhd/pix2pixhd.actions.js
@@ -168,7 +168,7 @@ export const load_results = (id) => (dispatch) => {
})
}).then(res => {
const [folders, files, results, renders] = res //, datasets, results, output, datasetUsage, lossReport] = res
- console.log(files, results, renders)
+ // console.log(files, results, renders)
dispatch({
type: types.pix2pixhd.load_results,
results: {
diff --git a/app/client/modules/pix2pixhd/views/pix2pixhd.train.js b/app/client/modules/pix2pixhd/views/pix2pixhd.train.js
index d4e390c..e5bd7f6 100644
--- a/app/client/modules/pix2pixhd/views/pix2pixhd.train.js
+++ b/app/client/modules/pix2pixhd/views/pix2pixhd.train.js
@@ -159,13 +159,13 @@ class Pix2PixHDTrain extends Component {
if (currentDataset && currentDataset.folder_id) {
folder_id = currentDataset.folder_id || folder_id
console.log("dataset folder id", folder_id)
- const processed = currentDataset.input
- .map(f => this.props.pix2pixhd.data.fileLookup[f])
- .reduce((a, b) => {
- console.log(b)
- return b.processed || a
- }, false)
- console.log("is processed?", processed)
+ // const processed = currentDataset.input
+ // .map(f => this.props.pix2pixhd.data.fileLookup[f])
+ // .reduce((a, b) => {
+ // console.log(b)
+ // return b.processed || a
+ // }, false)
+ // console.log("is processed?", processed)
}
console.log(currentDataset)
console.log("so folder id is..", folder_id)