summaryrefslogtreecommitdiff
path: root/test.py
diff options
context:
space:
mode:
authorjules <jules@asdf.us>2019-01-18 13:30:13 +0100
committerjules <jules@asdf.us>2019-01-18 13:30:13 +0100
commit244811a3439dca9c02adce81f7a73a191bc2cddb (patch)
treeb88d640c46818ecc8b083b1c22245371f861255c /test.py
parent9325a3fa43b65ed6b5c69b95128db9c0a10d17b4 (diff)
log less, fix cropHEADmaster
Diffstat (limited to 'test.py')
-rw-r--r--test.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test.py b/test.py
index ec88299..5a3da41 100644
--- a/test.py
+++ b/test.py
@@ -67,7 +67,8 @@ def process_dir(dir):
frames_padded = np.lib.pad(frames, pad_width=((T_in//2,T_in//2),(0,0),(0,0),(0,0)), mode='constant')
for i in range(frames.shape[0]):
- print('Scene {}: Frame {}/{} processing'.format(tag, i+1, frames.shape[0]))
+ if (i % 100) == 1:
+ print('Scene {}: Frame {}/{} processing'.format(tag, i+1, frames.shape[0]))
in_L = frames_padded[i:i+T_in] # select T_in frames
in_L = in_L[np.newaxis,:,:,:,:]