Open volare1996 opened 2 years ago
你好,感谢对我们工作的兴趣。有专门的函数,torch.save, 可以保存成.pth文件。 祝好! 丹枫
volare1996 @.***> 于2022年1月7日周五 11:00写道:
Hong老师您好: 请问下我在训练完成后如何保存模型呢?即您所给的log里模型! 谢谢
— Reply to this email directly, view it on GitHub https://github.com/danfenghong/IEEE_TGRS_SpectralFormer/issues/8, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFL2GZQ7P6F6PCX5AQKV64LUUZJMFANCNFSM5LN25BJA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message ID: @.***>
Hong老师您好: 请问下我在训练完成后如何保存模型呢?即您所给的log里模型! 谢谢