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

fix(sam) : update doc #30

Merged
merged 1 commit into from
Sep 12, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions advanced/segment-anything/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,14 @@ Technically, this demo shows how to:
- use the python client to connect and interact with the deployment in nontrivial ways.

Check out `sam.py` for the actual implementation, and `segment-anything.ipynb` for a notebook demonstration.

To run it on Lepton AI platform, you can use the following command:

```bash
# Create a photon
lep photon create -n sam -m py:github.com/leptonai/examples.git:advanced/segment-anything/sam.py
# Push the photon to the platform
lep photon push -n sam
# Run the SAM remotely
lep photon run -n sam --resource-shape gpu.a10
```