- i have trained a .pt model in python/pytorch. (yolov5)
2)i have transform the .pt to torchscript.pt.
3)how to apply torchscript.pt in c++
my code is:
auto outputs = model.forward({ data });
auto pred1 = outputs.toList().get(0);
what is the following? please give me an example.