diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-09-13 19:42:31 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-09-13 19:42:31 +0200 |
| commit | c4bbd2afff59d89cacc5879834fa3bf710e26b1c (patch) | |
| tree | a955d04e53959a72af4da21c58e9772b8d14aefd /app/relay | |
| parent | 5d51fd50ce59fb958565bc95e7572cc61043b8b4 (diff) | |
argz
Diffstat (limited to 'app/relay')
| -rw-r--r-- | app/relay/modules/pix2pixhd.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/relay/modules/pix2pixhd.js b/app/relay/modules/pix2pixhd.js index e05f427..b4a206a 100644 --- a/app/relay/modules/pix2pixhd.js +++ b/app/relay/modules/pix2pixhd.js @@ -210,7 +210,7 @@ const render_recursive = { console.log('will not render mov') return 'CANCEL' } - const tag = task.checkpoint + '/' + task.dataset + '_' + pad(task.augment_take, 5) + '_' + pad(task.augment_make, 5) + const tag = task.dataset + '/' + pad(task.opt.epoch || 'latest', 2) + '_' + pad(task.opt.augment_take, 5) + '_' + pad(task.opt.augment_make, 5) console.log('rendering recursve path:', tag) return [ '--path', 'recursive', @@ -222,6 +222,7 @@ const render_recursive = { } function pad(num, size) { + if (isNaN(parseInt(num))) return num; var s = num + ""; while (s.length < size) s = "0" + s; return s; |
