Spaces:
Running on Zero
Running on Zero
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -11,6 +11,7 @@ startup_duration_timeout: 2h
|
|
| 11 |
short_description: "GPU Space for SynLayers real-world layer decomposition"
|
| 12 |
models:
|
| 13 |
- SynLayers/Bbox-caption-8b
|
|
|
|
| 14 |
pinned: false
|
| 15 |
---
|
| 16 |
|
|
@@ -23,18 +24,26 @@ This folder now contains a unified real-world inference demo:
|
|
| 23 |
3. `demo/real_world_pipeline.py` stitches the two stages together for one uploaded image.
|
| 24 |
4. `demo/app.py` provides a Gradio interface that can be used locally or adapted for a Hugging Face Space.
|
| 25 |
|
| 26 |
-
##
|
| 27 |
|
| 28 |
-
|
| 29 |
|
| 30 |
```text
|
| 31 |
-
|
|
|
|
| 32 |
```
|
| 33 |
|
| 34 |
This lets the Space:
|
| 35 |
|
| 36 |
-
- load the bbox detector from
|
| 37 |
-
- load SynLayers
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
|
| 39 |
## Local Run
|
| 40 |
|
|
|
|
| 11 |
short_description: "GPU Space for SynLayers real-world layer decomposition"
|
| 12 |
models:
|
| 13 |
- SynLayers/Bbox-caption-8b
|
| 14 |
+
- SynLayers/synlayers
|
| 15 |
pinned: false
|
| 16 |
---
|
| 17 |
|
|
|
|
| 24 |
3. `demo/real_world_pipeline.py` stitches the two stages together for one uploaded image.
|
| 25 |
4. `demo/app.py` provides a Gradio interface that can be used locally or adapted for a Hugging Face Space.
|
| 26 |
|
| 27 |
+
## Model Repos
|
| 28 |
|
| 29 |
+
The Space now expects two separate model repositories:
|
| 30 |
|
| 31 |
```text
|
| 32 |
+
SYNLAYERS_BBOX_MODEL_REPO=SynLayers/Bbox-caption-8b
|
| 33 |
+
SYNLAYERS_STAGE2_MODEL_REPO=SynLayers/synlayers
|
| 34 |
```
|
| 35 |
|
| 36 |
This lets the Space:
|
| 37 |
|
| 38 |
+
- load the bbox detector from `SynLayers/Bbox-caption-8b`
|
| 39 |
+
- load the Stage 2 SynLayers checkpoints from `SynLayers/synlayers`
|
| 40 |
+
|
| 41 |
+
`SynLayers/Bbox-caption-8b` should only host the Stage 1 bbox-caption model.
|
| 42 |
+
`SynLayers/synlayers` should host the Stage 2 decomposition checkpoints and runtime assets.
|
| 43 |
+
|
| 44 |
+
## Hardware
|
| 45 |
+
|
| 46 |
+
The Space code supports either a dedicated GPU Space or ZeroGPU. Hardware is still chosen in the Hugging Face Space settings.
|
| 47 |
|
| 48 |
## Local Run
|
| 49 |
|