bf
This commit is contained in:
parent
593e8860d1
commit
6779203dc4
@ -44,9 +44,7 @@ def plot_inference(img_tensor, img_name, output, target, detection_threshold):
|
|||||||
)
|
)
|
||||||
|
|
||||||
ax.set_axis_off()
|
ax.set_axis_off()
|
||||||
embed()
|
plt.savefig(Path(INFERENCE_OUTDIR)/(os.path.splitext(img_name)[0] +'_inferred.png'), dpi=IMG_DPI)
|
||||||
quit()
|
|
||||||
plt.savefig(Path(INFERENCE_OUTDIR)/(os.path.splitext(img_name)[0] +'_inferred.png'), IMG_DPI)
|
|
||||||
plt.close()
|
plt.close()
|
||||||
# plt.show()
|
# plt.show()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user