Exported fcn_resnet50_voc model has duplicate layer names
See original GitHub issueIt seems that when exporting the fcn_resnet50_voc model, it causes duplicate layer names in all of the Activation layers. This causes issues with using this network in MXNet since sym.get_internals()
will fail when there are duplicate names.
Example of duplicate names:
{
"op": "Activation",
"name": "fcn0_resnetv1b0_layers1_relu1_fwd",
"attrs": {"act_type": "relu"},
"inputs": [[65, 0, 0]]
},
and
{
"op": "Activation",
"name": "fcn0_resnetv1b0_layers1_relu1_fwd",
"attrs": {"act_type": "relu"},
"inputs": [[56, 0, 0]]
}
Here is the issue when I try to call get_internals.
ValueError: There are multiple outputs with name "fcn0_resnetv1b0_layers1_relu0_fwd_output"
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Fully Convolutional Network (FCN) - onnx/models - GitHub
FCNs are a model for real-time neural network for class-wise image segmentation. As the name implies, every weight layer in the network is...
Read more >torchvision.models - PyTorch
Constructs a Faster R-CNN model with a ResNet-50-FPN backbone. The input to the model is expected to be a list of tensors, each...
Read more >Semantic Segmentation using PyTorch FCN ResNet50
In this tutorial, we will get hands-on experience with semantic segmentation in deep learning using the PyTorch FCN ResNet50 models.
Read more >Fast semantic segmentation method for machine vision ...
This study aims at online Machine Vision Inspection, focusing on the method of online semantic segmentation under complex backgrounds. First, the fewer- ...
Read more >Object Detection and Image Segmentation with Deep ... - MDPI
As more layers are stacked, the model becomes deeper, and more complex features can be learned, hence the name deep learning. ML itself...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I was able to fix it by just directly modifying the .json file containing the model definition after exporting it. Then after reloading the new model file everything works.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.