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

Output with empty tensor #242

Open
CheungBH opened this issue May 7, 2023 · 0 comments
Open

Output with empty tensor #242

CheungBH opened this issue May 7, 2023 · 0 comments

Comments

@CheungBH
Copy link

CheungBH commented May 7, 2023

Hello. Thanks for your work. I met something strange happen to me while calling your forward function.
During training, there is nan generated in the output. However, when I save the tensors and do a forward separately, the output tensor is empty.
I checked that the input activations, weights, and biases are not empty.

My code and saved tensor are attached.
nan_inference.txt
The pkl file
https://connecthkuhk-my.sharepoint.com/:u:/g/personal/bhzhang_connect_hku_hk/EdszoQrphWhIkOoKe8quikgB_85ZstY_Caf2oEKnsKXfNQ?e=ErN9Jv

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

1 participant