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

when i run "./experiment-rs.sh configs/fb15k-237-rs.sh --train 0 --few_shot" #6

Open
wj1108114106 opened this issue Aug 13, 2020 · 1 comment

Comments

@wj1108114106
Copy link

I change the model to point.rs.conve.
In fact, there doesn't exist error, but a userwanrning like follows:
**"‘UserWarning: RNN module weights are not part of single contiguous chunk of memory. This means they need to be compacted at every call, possibly reately increasing memory usage. To compact weights again call flatten_parameters()"**
I found the code:
self.path = [self.path_encoder(init_action_embedding, (init_h, init_c))[1]]
self.path_encoder = nn.LSTM(*)
found the class LSTM, and added the flatten_parameters, it doesn''t still work. and is it related to the version of anaconda(v_4.8.3)
could you give some suggestions?

@summerone123
Copy link

I have the same question,Have you solved it?or could you give some suggestions?

I change the model to point.rs.conve. In fact, there doesn't exist error, but a userwanrning like follows: **"‘UserWarning: RNN module weights are not part of single contiguous chunk of memory. This means they need to be compacted at every call, possibly reately increasing memory usage. To compact weights again call flatten_parameters()"** I found the code: self.path = [self.path_encoder(init_action_embedding, (init_h, init_c))[1]] self.path_encoder = nn.LSTM(*) found the class LSTM, and added the flatten_parameters, it doesn''t still work. and is it related to the version of anaconda(v_4.8.3) could you give some suggestions?

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