Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -37,7 +37,7 @@ Each subfolder contains a flat `config.json` + `model.safetensors`. SLAT + mesh/
|
|
| 37 |
from affostruction import AffostructionPipeline
|
| 38 |
|
| 39 |
pipeline = AffostructionPipeline.from_pretrained("chrockey/Affostruction").cuda()
|
| 40 |
-
outputs = pipeline.run(input_dict, queries=["
|
| 41 |
|
| 42 |
coords = outputs["coords"] # (N, 4) sparse voxel coords
|
| 43 |
probs = outputs["affordance"][0]["probs"] # (N,) per-voxel heatmap in [0, 1], paired with coords
|
|
|
|
| 37 |
from affostruction import AffostructionPipeline
|
| 38 |
|
| 39 |
pipeline = AffostructionPipeline.from_pretrained("chrockey/Affostruction").cuda()
|
| 40 |
+
outputs = pipeline.run(input_dict, queries=["Point to the part you would sit on."])
|
| 41 |
|
| 42 |
coords = outputs["coords"] # (N, 4) sparse voxel coords
|
| 43 |
probs = outputs["affordance"][0]["probs"] # (N,) per-voxel heatmap in [0, 1], paired with coords
|