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

The loss value is nan when I try to use resnet50 as the backbone network #3

Open
zhengli97 opened this issue May 31, 2021 · 0 comments

Comments

@zhengli97
Copy link

zhengli97 commented May 31, 2021

Hi,

Thanks for your contributions!
When I tried to implement your code on Resnet50 and Resnet101, the loss value is nan.
I just modified your code like this:
def cifarresnet50(pretrained=False, **kwargs): return CIFAR_ResNet(Bottleneck, [3, 4, 6, 3], **kwargs)
Then when I tried to train this network, the loss value is always nan.

(GPU: RTX 3090)

How to fix this error? Thanks!

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