Skip to content

Commit 7d10b22

Browse files
authored
Update installation instructions for Linux
1 parent e8c201d commit 7d10b22

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

index.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,13 @@ <h3 class="title is-5">Clone the repository</h3>
123123

124124
<h3 class="title is-5">Installation (Linux)</h3>
125125
<pre><code>pip install -r requirements.txt
126-
...</code></pre>
126+
cd sam2
127+
pip install -e .
128+
cd..
129+
pip install --index-url https://download.pytorch.org/whl/cu121 torch torchvision torchaudio
130+
cd ../checkpoints
131+
./download_chckpts.sh
132+
</code></pre>
127133

128134
<h3 class="title is-5">Run the tool</h3>
129135
<pre><code>python main.py</code></pre>

0 commit comments

Comments
 (0)