masahi commented on issue #7971: URL: https://github.com/apache/tvm/issues/7971#issuecomment-832174435
You need to use `model = TraceWrapper(model_func(pretrained=True))`. The output from pytorch maskrcnn model needs to be a tensor or a tuple of tensors. `TraceWrapper` makes sure the output is in a format pytorch tracing supports. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
