summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-11-11 13:00:13 +0100
committerJules Laplace <julescarbon@gmail.com>2018-11-11 13:00:13 +0100
commit6d465d84b7337d998b4db21d563ca69479cbe6e7 (patch)
tree67220d2d23a2618008388391ef5b5fa2f23a06bc
parentb4b73038a1a83dc7c6b69f04a40de385e3da0892 (diff)
parent6e5ae5c8a9dbea2b5d19e08880feb4c04d1f9089 (diff)
Merge branch 'master' of asdf.us:pix2pixhd
-rwxr-xr-xaugment.py4
-rw-r--r--splice.pl2
2 files changed, 4 insertions, 2 deletions
diff --git a/augment.py b/augment.py
index e1360b0..c0f8c7a 100755
--- a/augment.py
+++ b/augment.py
@@ -122,6 +122,8 @@ for m in range(data_opt.augment_take):
i = randint(0, _len)
index = i
+ print('take frame... %i' % index)
+
for n in range(data_opt.augment_make):
index = i + n
if n == 0:
@@ -154,7 +156,7 @@ for m in range(data_opt.augment_take):
tmp_path = os.path.join(opt.render_dir, "recur_{}_{:05d}_{:05d}_tmp.png".format(epoch_id, m, index+1))
next_path = os.path.join(opt.render_dir, "recur_{}_{:05d}_{:05d}.png".format(epoch_id, m, index+1))
- print('process image... %i' % index)
+ # print('process image... %i' % index)
im = util.tensor2im(generated.data[0])
image_pil = Image.fromarray(im, mode='RGB')
diff --git a/splice.pl b/splice.pl
index 0269063..3a63180 100644
--- a/splice.pl
+++ b/splice.pl
@@ -69,7 +69,7 @@ my $last_fn = undef;
for my $filename (@sequence_files) {
if ($start_frame <= $sequence_i and $sequence_i <= $end_frame) {
chomp $filename;
- print($pwd . $filename. "\n");
+ # print($pwd . $filename. "\n");
my $a_fn = sprintf('./datasets/%s/train_A/%s_%05d.png', $dataset, $sequence, $sequence_i);
my $b_fn = sprintf('./datasets/%s/train_B/%s_%05d.png', $dataset, $sequence, $sequence_i);
if (! -e $a_fn) {