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

MaskRCNN #214

Open
peasant98 opened this issue Dec 25, 2019 · 8 comments
Open

MaskRCNN #214

peasant98 opened this issue Dec 25, 2019 · 8 comments

Comments

@peasant98
Copy link

peasant98 commented Dec 25, 2019

Hello, is there support for MaskRCNN? I am using the torchvision.models.detection.maskrcnn_resnet50_fpn(pretrained=True) model, but get an error when trying to convert to torch2trt. Thanks!

I also get this:

Warning: Encountered known unsupported method torch.Tensor.__iter__ Warning: Encountered known unsupported method torch.Tensor.__iter__ Warning: Encountered known unsupported method torch.as_tensor Warning: Encountered known unsupported method torch.as_tensor

@peasant98
Copy link
Author

I also get an error of [TensorRT] ERROR: (Unnamed Layer* 1033) [ElementWise]: elementwise inputs must have same dimensions or follow broadcast rules (input dimensions were [1,256,2,2] and [1,2,2,76]). Are the plans to get torch2trt to work for this; and if not, what would be the steps for it? Thanks!

@felipevw
Copy link

felipevw commented Apr 2, 2020

Hi,
Did you solve the issue?

@peasant98
Copy link
Author

Hi, no. I am using https://github.com/onnx/onnx-tensorrt

@felipevw
Copy link

felipevw commented Apr 2, 2020

That's what I thought, but did you have to customize new layers or it was a plain and simple conversion Pytorch->Onnx->TensorRT?

@peasant98
Copy link
Author

I didn't have to do that much work for conversion.

@DuyguSerbes
Copy link

@felipevw @peasant98 Could you give link of any guidance for Pytorch->Onnx->TensorRT conversion?

@JunzheJosephZhu
Copy link

@DuyguSerbes Did you figure it out?

@isaacraf95
Copy link

any update?

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

5 participants