diff options
| author | jules@lens <julescarbon@gmail.com> | 2018-10-16 20:19:10 +0200 |
|---|---|---|
| committer | jules@lens <julescarbon@gmail.com> | 2018-10-16 20:19:10 +0200 |
| commit | 6e5ae5c8a9dbea2b5d19e08880feb4c04d1f9089 (patch) | |
| tree | c04c46bda91c7142f3095786df36e14f233b32f7 /augment.py | |
| parent | bd871b2b3d5a52abae55c7f59f640be7be01ad2e (diff) | |
less useless logging
Diffstat (limited to 'augment.py')
| -rwxr-xr-x | augment.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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') |
