@@ -8,7 +8,7 @@ curl -X POST http://127.0.0.1:5000/upload -F 'image=@/path/to/file.jpg' --output
88Start 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
1414Collect the rles
@@ -58,7 +58,7 @@ Make sure you've installed https://github.com/facebookresearch/sam2
5858
5959Start 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
6464Generate 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
7474Start 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
7979Generate 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
8989Start 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
9494Generate 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
104104Start 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
109109Generate and save rles (one line per json via ` -w "\n" ` )
0 commit comments