Add the demo snap prior (main + autoguidance guide), optimizer state stripped
Browse files
README.md
CHANGED
|
@@ -338,6 +338,37 @@ normalised latents and decodes to noise without them. Verify with `cd massing-ve
|
|
| 338 |
⚠️ **Keep global latent normalisation.** Per-channel normalisation was measured and is **harmful** —
|
| 339 |
the 16 low-variance channels are collapsed dimensions the decoder ignores.
|
| 340 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 341 |
## Reproduction
|
| 342 |
|
| 343 |
Code: <https://github.com/danvisai/SDFusion> (branch `massing-solid-gate-retrain`).
|
|
|
|
| 338 |
⚠️ **Keep global latent normalisation.** Per-channel normalisation was measured and is **harmful** —
|
| 339 |
the 16 low-variance channels are collapsed dimensions the decoder ignores.
|
| 340 |
|
| 341 |
+
## Also here: the demo serving stack (`demo-serving/`)
|
| 342 |
+
|
| 343 |
+
Separate from the massing research above. The repo's FastAPI + three.js demo — town generation from a
|
| 344 |
+
footprint image, SDF sculpting, texture bake — needs its own weights, which are published here so the
|
| 345 |
+
demo actually runs from a clone.
|
| 346 |
+
|
| 347 |
+
| path | size | what |
|
| 348 |
+
|---|---|---|
|
| 349 |
+
| `demo-serving/outputs/recipe_param_diffusion_b6/` | 80 MB | recipe-parameter diffusion — proportions/roof/wings. `recipe_inference.py:44` |
|
| 350 |
+
| `demo-serving/outputs/recipe_param_diffusion_b6_ema/` | 2.9 MB | EMA variant |
|
| 351 |
+
| `demo-serving/outputs/part_layout_planner_v2/` | 17 MB | window/door/balcony layouts |
|
| 352 |
+
| `demo-serving/outputs/part_set_refiner/` | 53 MB | integrates a sculpted mass into the part set |
|
| 353 |
+
| `demo-serving/outputs/part_composer/` | 1.3 MB | statistical facade detail |
|
| 354 |
+
| `demo-serving/outputs/refiner_v1/` | 22 MB | surface refiner |
|
| 355 |
+
| `demo-serving/logs_building/…-ft-final/ckpt/stage3a_steps-latest.pth` | 3.6 GB | **snap prior, main** (`refine.py:469`) |
|
| 356 |
+
| `demo-serving/logs_building/…-ft/ckpt/stage3a_steps-1000.pth` | 3.6 GB | **snap prior, autoguidance guide** (`refine.py:471`) |
|
| 357 |
+
|
| 358 |
+
Paths mirror the repo layout, so `demo-serving/` unpacks straight over a clone:
|
| 359 |
+
|
| 360 |
+
```bash
|
| 361 |
+
hf download danvisimhadri/SDFUSION --include 'demo-serving/*' --local-dir /tmp/demo
|
| 362 |
+
cp -r /tmp/demo/demo-serving/* . # into the repo root
|
| 363 |
+
./scripts/server/run_web_demo.sh 8099
|
| 364 |
+
```
|
| 365 |
+
|
| 366 |
+
⚠️ The two snap-prior checkpoints are the **same finetune run** at different steps — the guide is
|
| 367 |
+
deliberately the weaker, earlier checkpoint (autoguidance). Don't "upgrade" the guide to the latest;
|
| 368 |
+
that defeats the mechanism. ⚠️ Optimizer state is stripped from both, so they are inference-only.
|
| 369 |
+
⚠️ SDXL / ControlNet / Depth-Anything (~46 GB) are **not** here — they auto-download to the HF cache on
|
| 370 |
+
the first texture or render call.
|
| 371 |
+
|
| 372 |
## Reproduction
|
| 373 |
|
| 374 |
Code: <https://github.com/danvisai/SDFusion> (branch `massing-solid-gate-retrain`).
|
demo-serving/logs_building/continue-stage3a-xcultural-warmstart-ft-final/ckpt/stage3a_steps-latest.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:206af1ff04946acfae537314274ae94d0be10c6a478b1916264afa7bdb5b913a
|
| 3 |
+
size 3899003191
|
demo-serving/logs_building/continue-stage3a-xcultural-warmstart-ft/ckpt/stage3a_steps-1000.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:01f4fe68a509accd4c264f19026d8b69054d87f384f4bf04bc974fbfad13d438
|
| 3 |
+
size 3899001647
|