MetaKGR
MetaKGR copied to clipboard
when i run "./experiment-rs.sh configs/fb15k-237-rs.sh --train 0 --few_shot"
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?
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?