train.py 文件源码

python
阅读 34 收藏 0 点赞 0 评论 0

项目:Tacotron_pytorch 作者: root20 项目源码 文件源码
def savePlot(points, outpath):
    plt.figure()
    fig, ax = plt.subplots()
    # this locator puts ticks at regular intervals
    loc = ticker.MultipleLocator(base=0.2)
    ax.yaxis.set_major_locator(loc)
    plt.plot(points)
    plt.savefig(outpath)
    plt.close('all')

######################################################################
# This is a helper function to print time elapsed and estimated time
# remaining given the current time and progress %.
#
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号