Closed yfyeung closed 1 year ago
https://github.com/chenxie95/deeplearning_course_sjtu/blob/master/languagemodel/main.py#L228
直接保存 model 在 torch.load 的时候加载目录与保存目录要相同,否则会报错: AttributeError: Can get attribute RNNModel on ...
https://github.com/chenxie95/deeplearning_course_sjtu/blob/master/languagemodel/main.py#L228