Skip to content

Commit 060fc70

Browse files
authored
Update run_inference.py
1 parent 2504001 commit 060fc70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

run_inference.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def main():
110110
imwrite(filename + '.png', to_save)
111111
if args.output_value in ['raw', 'both']:
112112
# Make the flow map a HxWx2 array as in .flo files
113-
to_save = (args.div_flow*flow_output[0]).cpu().numpy().transpose(1,2,0)
113+
to_save = (args.div_flow*flow_output).cpu().numpy().transpose(1,2,0)
114114
np.save(filename + '.npy', to_save)
115115

116116

0 commit comments

Comments
 (0)