jdihlmann commited on
Commit ·
3b4f5ff
1
Parent(s): 8949094
Document Arbor evaluation outputs
Browse files
README.md
CHANGED
|
@@ -40,10 +40,38 @@ conda activate arbor
|
|
| 40 |
conda install pytorch==2.4.0 torchvision==0.19.0 pytorch-cuda=11.8 -c pytorch -c nvidia -y
|
| 41 |
./setup.sh --basic --xformers --spconv
|
| 42 |
|
|
|
|
|
|
|
| 43 |
python scripts/download_model_from_hf.py --repo-id StabilityLabs/arbor --output-dir artifacts/model
|
| 44 |
-
python examples/run_manual_example.py --example bus_013 --output-root outputs/manual_examples
|
| 45 |
```
|
| 46 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
## Intended Uses
|
| 48 |
|
| 49 |
Intended uses include research and creative workflows involving constrained 3D asset generation, design exploration, and assessment of text plus geometry conditioned generation methods.
|
|
|
|
| 40 |
conda install pytorch==2.4.0 torchvision==0.19.0 pytorch-cuda=11.8 -c pytorch -c nvidia -y
|
| 41 |
./setup.sh --basic --xformers --spconv
|
| 42 |
|
| 43 |
+
hf auth login
|
| 44 |
+
hf auth whoami
|
| 45 |
python scripts/download_model_from_hf.py --repo-id StabilityLabs/arbor --output-dir artifacts/model
|
| 46 |
+
python examples/run_manual_example.py --example bus_013 --output-root outputs/manual_examples --evaluate
|
| 47 |
```
|
| 48 |
|
| 49 |
+
For non-interactive shells, store a read token with:
|
| 50 |
+
|
| 51 |
+
```bash
|
| 52 |
+
read -s HF_TOKEN
|
| 53 |
+
hf auth login --token "$HF_TOKEN"
|
| 54 |
+
unset HF_TOKEN
|
| 55 |
+
hf auth whoami
|
| 56 |
+
```
|
| 57 |
+
|
| 58 |
+
## Evaluation Outputs
|
| 59 |
+
|
| 60 |
+
The GitHub release includes a public `arbor-evaluate` command that computes condition-following metrics and renders inspection panels without training code or the benchmark runner.
|
| 61 |
+
|
| 62 |
+
```bash
|
| 63 |
+
arbor-evaluate \
|
| 64 |
+
--prediction outputs/manual_examples/bus_013/mesh.ply \
|
| 65 |
+
--hull examples/constraints/bus__bus_013__19cbb410/hull_constraint.ply \
|
| 66 |
+
--avoidance examples/constraints/bus__bus_013__19cbb410/avoidance_constraint.ply \
|
| 67 |
+
--touch examples/constraints/bus__bus_013__19cbb410/touchable_constraint.ply \
|
| 68 |
+
--source-mesh examples/constraints/bus__bus_013__19cbb410/gt_mesh.ply \
|
| 69 |
+
--sparse-structure outputs/manual_examples/bus_013/ss_surface.npz \
|
| 70 |
+
--output-dir outputs/manual_examples/bus_013/evaluation
|
| 71 |
+
```
|
| 72 |
+
|
| 73 |
+
The evaluator writes `metrics.json`, `metrics_flat.json`, and `condition_panel.png`; pass `--save-gif` to also write `condition_orbit.gif`.
|
| 74 |
+
|
| 75 |
## Intended Uses
|
| 76 |
|
| 77 |
Intended uses include research and creative workflows involving constrained 3D asset generation, design exploration, and assessment of text plus geometry conditioned generation methods.
|