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

Unable to val #2

Closed
iscyy opened this issue Nov 24, 2021 · 2 comments
Closed

Unable to val #2

iscyy opened this issue Nov 24, 2021 · 2 comments

Comments

@iscyy
Copy link

iscyy commented Nov 24, 2021

Hello author, the following error occurred in the reasoning process, please advise, thank you。
AttributeError: Can't get attribute 'NonDynamicallyQuantizableLinear' on <module 'torch.nn.modules.linear' from '/root/miniconda3/lib/python3.8/site-packages/torch/nn/modules/linear.py'>

@cv516Buaa
Copy link
Owner

This problem may be caused by the version of torch.
The "yolov5l-xs-1.pt" and "yolov5l-xs-2.pt" is trained with PyTorch v1.10.
You can update torch to v1.10 or train your own weight use train.py.

@iscyy
Copy link
Author

iscyy commented Nov 25, 2021

Ok, thanks author

@iscyy iscyy closed this as completed Nov 25, 2021
@yxwhn yxwhn mentioned this issue Dec 16, 2021
Closed
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

2 participants