You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the output structure of your model?
The convertor only accept tensor or list of tensors as output. Nested list is not convertable as the final output.
I modified the output but I still got error
AttributeError: 'Tensor' object has no attribute 'trt'
in this function
def mark_outputs(self, torch_outputs, names=None):
if names is None:
names = ['output%d' % i for i in range(len(torch_outputs))]
.......
self.network.mark_output(trt_tensor)
I got this error when using list as output:
The text was updated successfully, but these errors were encountered: