update install script and label
This commit is contained in:
21
install.sh
Normal file
21
install.sh
Normal file
@@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
# uv와 git이 사전에 설치되어 있다고 가정
|
||||
|
||||
# 가상환경 생성
|
||||
uv venv
|
||||
|
||||
# 가상환경 활성화
|
||||
source ./venv/bin/activate
|
||||
|
||||
# PyTorch 설치 (CUDA 12.8 버전)
|
||||
uv pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu128
|
||||
|
||||
# Facebook Research SAM 모델 설치
|
||||
uv pip install git+https://github.com/facebookresearch/segment-anything.git
|
||||
uv pip install git+https://github.com/facebookresearch/sam2.git
|
||||
|
||||
# 기타 필요한 패키지 설치
|
||||
uv pip install -r requirements.txt
|
||||
|
||||
echo "설치가 완료되었습니다."
|
||||
Reference in New Issue
Block a user