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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Freeze module pass fails with below exception for torchvision Faster RCNN, Mask RCNN, Keypoint RCNN models:
torch._C._freeze_module(script_module._c) RuntimeError: node->kind() == prim::GetAttr INTERNAL ASSERT FAILED at "../torch/csrc/jit/passes/freeze_module.cpp":22, please report a bug to PyTorch. Expected prim::GetAttr nodes
Steps to reproduce the behavior:
model = torchvision.models.detection.keypoint_rcnn.keypointrcnn_resnet50_fpn(pretrained=True, min_size=200, max_size=300) model.eval() script_module = torch.jit.script(model) torch._C._freeze_module(script_module._c)
cc @gmagogsfm
The text was updated successfully, but these errors were encountered:
908c235
eellison
bzinodev
Successfully merging a pull request may close this issue.
馃悰 Bug
Freeze module pass fails with below exception for torchvision Faster RCNN, Mask RCNN, Keypoint RCNN models:
To Reproduce
Steps to reproduce the behavior:
cc @gmagogsfm
The text was updated successfully, but these errors were encountered: