-
Notifications
You must be signed in to change notification settings - Fork 334
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
NoneType error when run torch.jit.script() #58
Comments
Hi, thanks for your question. I meet the same error when using torch.jit.script(). Do you address it? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, I want to optimize the OFA subnet model but I meet the error:
And this is my code:
I can make sure there is None value in the model because when I run the torchvision's model, It can run successfully.
How to solve the problem?
And this is my code link:
https://drive.google.com/drive/folders/172QoQxYoB1fUPvwjudHWgBmRv-IfE8Mg?usp=sharing
You can run without the data loader in
test1.py
andmobile_test.py
is the version that with data loader.The database link:
https://drive.google.com/file/d/1LY0ERp-egZr7NxTw3bApu2H93s9CQuYV/view?usp=sharing.
Kind regards.
Thanks very much.
The text was updated successfully, but these errors were encountered: