Spaces:
Runtime error
Runtime error
jhj0517
commited on
Commit
•
3ad7b92
1
Parent(s):
3bf9562
Update README.md
Browse files
README.md
CHANGED
@@ -13,7 +13,7 @@ Gradio based Playground Web UI using [facebook/segment-anything-2](https://githu
|
|
13 |
|
14 |
<table>
|
15 |
<tr>
|
16 |
-
<td>Pixelize the girl's face</td>
|
17 |
</tr>
|
18 |
<tr>
|
19 |
<td>
|
@@ -22,14 +22,15 @@ Gradio based Playground Web UI using [facebook/segment-anything-2](https://githu
|
|
22 |
</tr>
|
23 |
</table>
|
24 |
|
|
|
25 |
- Divide segmentation parts into layers and save them as PSD files.
|
26 |
|
27 |
<table>
|
28 |
<tr>
|
29 |
-
<td>Divide clothes into layers and save as PSD file</td>
|
30 |
</tr>
|
31 |
<tr>
|
32 |
-
<td>
|
33 |
<img src="https://github.com/jhj0517/sam2-playground/blob/master/docs/example_psd_file.png" alt="Example_PSD">
|
34 |
</td>
|
35 |
</tr>
|
@@ -57,17 +58,21 @@ There's a set of shell / batch scripts for installation and running.
|
|
57 |
4. To update, run `update.bat` or `update.sh`
|
58 |
|
59 |
### Option 2: Docker
|
60 |
-
1.
|
|
|
|
|
|
|
|
|
61 |
```
|
62 |
docker compose build
|
63 |
```
|
64 |
-
|
65 |
```
|
66 |
docker compose up
|
67 |
```
|
68 |
3. Connect to `localhost:7860` with your browser.
|
69 |
|
70 |
-
|
71 |
|
72 |
-
## Todo
|
73 |
- [ ] Support `change()` API for `gradio_image_prompter` and automatically generate preview for video predictor
|
|
|
13 |
|
14 |
<table>
|
15 |
<tr>
|
16 |
+
<td align="center"><strong>Pixelize the girl's face</strong></td>
|
17 |
</tr>
|
18 |
<tr>
|
19 |
<td>
|
|
|
22 |
</tr>
|
23 |
</table>
|
24 |
|
25 |
+
|
26 |
- Divide segmentation parts into layers and save them as PSD files.
|
27 |
|
28 |
<table>
|
29 |
<tr>
|
30 |
+
<td align="center"><strong>Divide clothes into layers and save as PSD file</strong></td>
|
31 |
</tr>
|
32 |
<tr>
|
33 |
+
<td style="text-align: center;">
|
34 |
<img src="https://github.com/jhj0517/sam2-playground/blob/master/docs/example_psd_file.png" alt="Example_PSD">
|
35 |
</td>
|
36 |
</tr>
|
|
|
58 |
4. To update, run `update.bat` or `update.sh`
|
59 |
|
60 |
### Option 2: Docker
|
61 |
+
1. Clone the repository
|
62 |
+
```
|
63 |
+
git clone https://github.com/jhj0517/sam2-playground.git
|
64 |
+
```
|
65 |
+
3. Build the image ( Image is about ~6 GB )
|
66 |
```
|
67 |
docker compose build
|
68 |
```
|
69 |
+
3. Run the container
|
70 |
```
|
71 |
docker compose up
|
72 |
```
|
73 |
3. Connect to `localhost:7860` with your browser.
|
74 |
|
75 |
+
If needed, update [`docker-compose.yaml`](https://github.com/jhj0517/sam2-playground/blob/master/docker-compose.yaml) to match your environments.
|
76 |
|
77 |
+
## Todo 🗓
|
78 |
- [ ] Support `change()` API for `gradio_image_prompter` and automatically generate preview for video predictor
|