Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add codebase and update README with instructions for deploying the model to Google Cloud Vertex AI #19

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

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