summaryrefslogtreecommitdiff
path: root/app/relay/modules/pix2pix.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-06-16 18:25:52 +0200
committerJules Laplace <julescarbon@gmail.com>2018-06-16 18:25:52 +0200
commit408086ca5fced2552461f2d00f6d4a95be7b2636 (patch)
tree36f532eade938ea788f490019054a1b575462894 /app/relay/modules/pix2pix.js
parent88735512a3c5dbac1412e896bf76daf1c4c9cd3b (diff)
k
Diffstat (limited to 'app/relay/modules/pix2pix.js')
-rw-r--r--app/relay/modules/pix2pix.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/relay/modules/pix2pix.js b/app/relay/modules/pix2pix.js
index 67cca3e..97533d4 100644
--- a/app/relay/modules/pix2pix.js
+++ b/app/relay/modules/pix2pix.js
@@ -23,10 +23,14 @@ const fetch = {
listen: (task, line, i) => {
// relay the new dataset name from youtube-dl or w/e
if ( line.match(/^created dataset: /) ) {
+ console.log("_______________________________________-")
+ console.log("_______________________________________-")
+ console.log("_______________________________________-")
let filename = line.split(': ')[1].trim()
task.dataset = filename.split('.')[0]
task.opt.filename = filename
- return { type: 'progress', action: 'resolve_dataset', task, }
+ console.log(">>>>>> created dataset", filename)
+ return { type: 'progress', action: 'resolve_dataset', task }
}
return null
},