Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sequence更新有进行reset_memory吗? #234

Open
kaiyi98 opened this issue Oct 16, 2024 · 2 comments
Open

sequence更新有进行reset_memory吗? #234

kaiyi98 opened this issue Oct 16, 2024 · 2 comments

Comments

@kaiyi98
Copy link

kaiyi98 commented Oct 16, 2024

你好,在训练过程中一段序列结束后,是不是应该要reset_memory?代码中reset_memory调用貌似只出现在init() 和 测试的时候

@exiawsh
Copy link
Owner

exiawsh commented Oct 16, 2024

您好,使用

self.memory_timestamp = memory_refresh(self.memory_timestamp[:, :self.memory_len], x)

memory_refresh进行memory重置

@kaiyi98
Copy link
Author

kaiyi98 commented Oct 16, 2024

您好,使用

self.memory_timestamp = memory_refresh(self.memory_timestamp[:, :self.memory_len], x)

memory_refresh进行memory重置

谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants