Skip to content

Commit

Permalink
wget images used for sample
Browse files Browse the repository at this point in the history
  • Loading branch information
parthchadha committed Nov 27, 2024
1 parent e2690ce commit 390625e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions tripy/examples/segment-anything-model-v2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ This is an implementation of SAM2 model ([original repository](https://github.co

```bash
sudo apt-get update && sudo apt-get install ffmpeg libsm6 libxext6 -y
wget -O truck.jpg https://raw.githubusercontent.com/facebookresearch/sam2/main/notebooks/images/truck.jpg
mkdir checkpoints && cd checkpoints && wget https://dl.fbaipublicfiles.com/segment_anything_2/092824/sam2.1_hiera_large.pt
python3 -m pip install -r requirements.txt
```
Expand Down
Binary file removed tripy/examples/segment-anything-model-v2/truck.jpg
Binary file not shown.
5 changes: 4 additions & 1 deletion tripy/tests/test_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,10 @@ def __str__(self):
return os.path.relpath(self.path, EXAMPLES_ROOT)


EXAMPLES = [Example(["nanogpt"]), Example(["segment-anything-model-v2"])]
EXAMPLES = [
Example(["nanogpt"]),
Example(["segment-anything-model-v2"], artifact_names=["truck.jpg", "saved_engines/", "output/"]),
]


@pytest.mark.l1
Expand Down

0 comments on commit 390625e

Please sign in to comment.