diff options
Diffstat (limited to 'test.py')
| -rw-r--r-- | test.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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,:,:,:,:] |
