Spaces:
Runtime error
Runtime error
| PYTHON=3.9 | |
| BASENAME=$(shell basename $(CURDIR)) | |
| CURRENT_DIR = $(shell pwd) | |
| env: | |
| conda create -n $(BASENAME) -y python=$(PYTHON) | |
| setup: | |
| pip install -r requirements.txt | |
| pip install git+https://github.com/facebookresearch/segment-anything.git | |
| load-model: | |
| mkdir -p models | |
| curl -O https://dl.fbaipublicfiles.com/segment_anything/sam_vit_h_4b8939.pth && mv sam_vit_h_4b8939.pth models/sam_vit_h_4b8939.pth |