Skip to content

Commit f964858

Browse files
authored
Add segment_anything package. (#1241)
Code for running inference with the SegmentAnything model: https://github.com/facebookresearch/segment-anything http://b/277217745
1 parent fc6e4db commit f964858

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Dockerfile.tmpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -547,6 +547,7 @@ RUN pip install pytorch-ignite \
547547
openpyxl \
548548
timm \
549549
torchinfo && \
550+
pip install git+https://github.com/facebookresearch/segment-anything.git && \
550551
/tmp/clean-layer.sh
551552

552553
# Install pycolmap for py3.10 (only the conda version works).

tests/test_imports.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ def test_basic(self):
77
import cleverhans
88
import tensorflow_gcs_config
99
import tensorflow_datasets
10+
import segment_anything

0 commit comments

Comments
 (0)