-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 69e30df
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
## Getting Started | ||
|
||
#### SAMURAI Installation | ||
|
||
SAM 2 needs to be installed first before use. The code requires `python>=3.10`, as well as `torch>=2.3.1` and `torchvision>=0.18.1`. Please follow the instructions [here](https://github.com/facebookresearch/sam2?tab=readme-ov-file) to install both PyTorch and TorchVision dependencies. You can install **the SAMURAI version** of SAM 2 on a GPU machine using: | ||
``` | ||
cd sam2 | ||
pip install -e . | ||
pip install -e ".[notebooks]" | ||
``` | ||
|
||
Please see [INSTALL.md](https://github.com/facebookresearch/sam2/blob/main/INSTALL.md) from the original SAM 2 repository for FAQs on potential issues and solutions. | ||
``` | ||
pip install matplotlib==3.7 tikzplotlib jpeg4py opencv-python lmdb pandas scipy | ||
``` | ||
|
||
#### SAM 2.1 Checkpoint Download | ||
|
||
``` | ||
cd checkpoints && \ | ||
./download_ckpts.sh && \ | ||
cd .. | ||
``` | ||
|
||
#### Data Preparation |