Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 259 Bytes

deep_snippets.md

File metadata and controls

10 lines (7 loc) · 259 Bytes
  • Saving and loading a numpy array
out = mi.inference(engine_path,  im3, batch_size1)
y_pred = np.reshape(out, (1,-1, 18))

np.save('array_jetson.npy', y_pred)  ## Saves a .npy file
y_pred_load = np.load('array_ssd7_pc.npy')  ## Loads the .npy file