Skip to content

Commit fe338de

Browse files
committed
Update README
1 parent 06fc16c commit fe338de

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

examples/sam2_amg_server/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ curl -X POST http://127.0.0.1:5000/upload -F 'image=@/path/to/file.jpg' --output
88
Start the server
99

1010
```
11-
python server.py ~/checkpoints/sam2 --port <your_port> --host <your_hostname> --fast
11+
python server.py ~/checkpoints/sam2 large --port <your_port> --host <your_hostname> --fast
1212
```
1313

1414
Collect the rles
@@ -58,7 +58,7 @@ Make sure you've installed https://github.com/facebookresearch/sam2
5858

5959
Start server
6060
```
61-
python server.py ~/checkpoints/sam2 --port <your_port> --host <your_hostname> --baseline
61+
python server.py ~/checkpoints/sam2 large --port <your_port> --host <your_hostname> --baseline
6262
```
6363

6464
Generate and save rles (one line per json via `-w "\n"`)
@@ -73,7 +73,7 @@ sys 0m4.137s
7373
### 3. Start server with torchao variant of SAM2
7474
Start server
7575
```
76-
python server.py ~/checkpoints/sam2 --port <your_port> --host <your_hostname>
76+
python server.py ~/checkpoints/sam2 large --port <your_port> --host <your_hostname>
7777
```
7878

7979
Generate and save rles (one line per json via `-w "\n"`)
@@ -88,7 +88,7 @@ sys 0m4.350s
8888
### 4. Start server with torchao variant of SAM2 and `--fast` optimizations
8989
Start server
9090
```
91-
python server.py ~/checkpoints/sam2 --port <your_port> --host <your_hostname> --fast
91+
python server.py ~/checkpoints/sam2 large --port <your_port> --host <your_hostname> --fast
9292
```
9393

9494
Generate and save rles (one line per json via `-w "\n"`)
@@ -103,7 +103,7 @@ sys 0m4.138s
103103
### 5. Start server with torchao variant of SAM2 and `--fast` and `--furious` optimizations
104104
Start server
105105
```
106-
python server.py ~/checkpoints/sam2 --port <your_port> --host <your_hostname> --fast --furious
106+
python server.py ~/checkpoints/sam2 large --port <your_port> --host <your_hostname> --fast --furious
107107
```
108108

109109
Generate and save rles (one line per json via `-w "\n"`)

0 commit comments

Comments
 (0)