Skip to content

Conversation

nihit2809
Copy link

Added the Dockerfile, handler.py, and convert_to_torchscipt.py files inside a deploy folder required to deploy the segmentation PyTorch model to Vertex AI using TorchServe.
Made necessary changes to the README file such that it gives stepwise instructions on how to deploy the model easily.
The Dockerfile has the required configurations for the TorchServe image
The handler.py file contains the code that involves preprocessing and inference of the input image.
The convert_to_torchscript.py file contains the code to convert the PyTorch checkpoint file(.pth) to TorchScript format(.pt).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants