We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2504001 commit 060fc70Copy full SHA for 060fc70
run_inference.py
@@ -110,7 +110,7 @@ def main():
110
imwrite(filename + '.png', to_save)
111
if args.output_value in ['raw', 'both']:
112
# 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)
+ to_save = (args.div_flow*flow_output).cpu().numpy().transpose(1,2,0)
114
np.save(filename + '.npy', to_save)
115
116
0 commit comments