Skip to content

manual_saves模块

更新时间:2024年4月13日

简介

manual_saves模块是为了防止模型重名冲突所建立的,用来保存一些典型模型的模块。需要用户手动将模型放入。

需要保证每个模型文件夹内只有一个pth文件,且pth文件的最后三个整数分别对应epo,bth,latn。

手动保存示例

manual_saves/随便起名/lossfig_2000epo_128bth_256latn.pth

manual_saves/随便起名/lossfig_2000epo_128bth_256latn.png

manual_saves/随便起名/lossfig_2000epo_128bth_256latn.npy

manual_saves/随便起名/5e-4,5e-6,mse0.3,ssim0.7,1000,1000.nonsense

其实只要有pth文件就可以。为了方便分析可以同时保存其他文件,并一nonsense做细节标注。