We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I experienced the following error when I run demo.py:
Exception has occurred: ValueError The parameter 'num_classes' expected value 91 but got 20 instead. File "C:\doc\code_python\AA\hukenovs_hagrid\detector\models\fasterrcnn.py", line 10, in __init__ torchvision_model = torchvision.models.detection.fasterrcnn_mobilenet_v3_large_fpn( File "C:\doc\code_python\AA\hukenovs_hagrid\detector\utils.py", line 138, in build_model "FasterRCNN_mobilenet_large": FasterRCNN_Mobilenet_large(pretrained=pretrained, num_classes=num_classes), File "C:\doc\code_python\AA\hukenovs_hagrid\demo.py", line 149, in <module> model = build_model( ValueError: The parameter 'num_classes' expected value 91 but got 20 instead
The text was updated successfully, but these errors were encountered:
Hello!
We have updated both models and demo scripts with the release of HaGRIDv2. Please check it again, as we did not face any errors while testing it.
Sorry, something went wrong.
No branches or pull requests
Hi,
I experienced the following error when I run demo.py:
The text was updated successfully, but these errors were encountered: