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

vit last stage output is nan #324

Open
nur1225 opened this issue Feb 24, 2025 · 0 comments
Open

vit last stage output is nan #324

nur1225 opened this issue Feb 24, 2025 · 0 comments

Comments

@nur1225
Copy link

nur1225 commented Feb 24, 2025

` def forward(self, x):
x = self.stem(x)
encoder_hidden_states = []
for i, module in enumerate(self.stages):
x = module(x)

        encoder_hidden_states.append(x)

    return encoder_hidden_states`

running inference text detection model result is nan

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