Skip to content
This repository was archived by the owner on Mar 1, 2025. It is now read-only.
This repository was archived by the owner on Mar 1, 2025. It is now read-only.

Output with empty tensor #242

Description

@CheungBH

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions