I trained a model for medical imaging segmentation task using Monai label and saved it as model.pt.
Now when i am trying to deploy it it says i need a torchscript file.
error: monai.deploy.exceptions.ItemNotExistsError: A predictor of the model is not set.
I tried tracing and scripting but couldn’t do it.
Can someone suggest me how to convert my model.pt into torchscript file.
Any help would be very appreciable.