embed for figsave bf
This commit is contained in:
parent
76cee2c050
commit
593e8860d1
@ -44,6 +44,8 @@ def plot_inference(img_tensor, img_name, output, target, detection_threshold):
|
|||||||
)
|
)
|
||||||
|
|
||||||
ax.set_axis_off()
|
ax.set_axis_off()
|
||||||
|
embed()
|
||||||
|
quit()
|
||||||
plt.savefig(Path(INFERENCE_OUTDIR)/(os.path.splitext(img_name)[0] +'_inferred.png'), IMG_DPI)
|
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