-
Notifications
You must be signed in to change notification settings - Fork 46
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
ValueError: shape contains '0': (0,) at fasterrcnn_resnet50_fpn #13
Comments
Hi I stumbled upon the same error when I tried to create a nngen model from onnx, and I think I have figured out the cause of this error, so would like to share my conclusion here. My nngen version: 1.3.0 TL;DRThis error is caused by a lack of supporting onnx operators in nngen. In my case I need the Reszie operator. In @Kocha 's case, it needs Reszie and Split. My analysis of this errorThe model I tried was a PyTorch implementation of Fast-SCNN; I first converted the weights provided by the repository to onnx, and using that onnx file I tried to convert it to a nngen model, which gave me this error
After some digging around in the code, I found out that this value error pointed to an constant operator which contained no value, and was also an input for the scale parameter for Resize. |
I tried Faster-RCNN(ResNet50) model.
But,
ValueError: shape contains '0': (0,)
error message was displayed atng.from_onnx
.Do you know the cause of the error?
The text was updated successfully, but these errors were encountered: