ploter fixed

This commit is contained in:
shixian.shi 2023-03-03 11:06:37 +08:00
parent 661e30e54c
commit 9aacdc1158
2 changed files with 1 additions and 1 deletions

View File

Before

Width:  |  Height:  |  Size: 136 KiB

After

Width:  |  Height:  |  Size: 136 KiB

View File

@ -96,7 +96,7 @@ class Paraformer():
x_adj = 0.045 if char != '<sil>' else 0.12
ax1.text((start + end) * 0.5 - x_adj, 0, char)
# plt.legend()
plotname = "debug.png"
plotname = "funasr/runtime/python/onnxruntime/debug.png"
plt.savefig(plotname, bbox_inches='tight')
def load_data(self,