Aim : i tried to convert an pytorch model to tensort.
solver : 1. using torch.onnx to get the onnx mode.The file ended with .ptoto.
2. using the onnx_mnist.py located in your example file dir.
Then when i run the code:
‘’’
parser.convert_to_trtnetwork()
‘’’
that i got the result.
what(): No converter registered for op type: Slice.
how can i avoid this error, any example to convert pytroch to tensorrt freely. For example, that i can decide which layer to convert and which not to .