Open
Conversation
Collaborator
|
Hi, @mohammadjoshaghani |
Collaborator
Author
|
Thanks amir. I get it.
Yes it works properly now.
…On Tue, Dec 6, 2022 at 10:24 AM Amirabbas Asadi ***@***.***> wrote:
Hi, @mohammadjoshaghani <https://github.com/mohammadjoshaghani>
Could you please check this error for the case of bidirectional GRU?
The line that you have mentioned is responsible for averaging the result
of two directions since the shape of output_tensor for a bidirectional LSTM
is (L, N, D∗H_out)) where D is the number of directions. I guess the
problem is associated with one-directional GRU or LSTM. That line should be
applied only when directions==2.
—
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQ6SV5QDD7HYL4XBZZ7Y5VDWL3PKHANCNFSM6AAAAAASUUV7PQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi, @amirabbasasadi
LSTMandGRUcreates Nan losses in meta-learning pipeline when using updated requirements.txtthis is because of the last lines of the decoder. I didn't get why it is:
Y = 0.5 * (out[:, :, :self.output_size] + out[:, :, self.output_size:])!but maybe it would be more precise if it is:
Y = 0.5 * (out[:, :, :self.output_size] + out[:, :, self.output_size-1:]). However, this seems it causes issues when time series features are >=2.