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

Persistent memory #15

Open
sheetalreddy opened this issue Jan 10, 2018 · 1 comment
Open

Persistent memory #15

sheetalreddy opened this issue Jan 10, 2018 · 1 comment

Comments

@sheetalreddy
Copy link

Hi , In the paper , they mentioned a paragraph about persistent memory and the results they got with them. I was wondering about how to keep the external memory persistent and not wipe it off across episodes if i have a different label space across episodes . Is it even possible to work it around in such a way ?

@tristandeleu
Copy link
Owner

Hi! Here I am indeed resetting the memory at the beginning of each episode. To have a persistent memory across episodes, you can turn the initial memory M_0 into a tensor, and return the final memory state in memory_augmented_neural_network (maybe l_ntm_var[0][-1]).

Let me know if you have any trouble making that change.

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