This project wraps Stable Fast 3D with an optional ControlNet style step.
Pipeline:
data/.rembg..glb file.The project can run with either:
my_custom_controlnet/lllyasviel/sd-controlnet-canny fallbackrun.py: main image-to-GLB pipeline.compare.py: compares default ControlNet and local ControlNet.train.py: trains a local ControlNet from final_training_data/.download_data.py: downloads Objaverse models for dataset creation.blender_script.py: renders downloaded .glb files into training images.filter.py: filters rendered images with CLIP.preprocess_data.py: creates Canny conditioning pairs and train.jsonl.Dockerfile: CUDA runtime image for the main pipeline.The following are intentionally excluded from git:
my_custom_controlnet/data/final_training_data/blender_bin/.glb filestoken.txtIf you want to use the fine-tuned ControlNet, place the model files locally:
my_custom_controlnet/
config.json
diffusion_pytorch_model.safetensors
Build:
docker build -t sf3d-controlnet .
Run on Windows PowerShell:
docker run --gpus all -it --rm `
-v "${PWD}/data:/app/stable-fast-3d/data" `
-v "${PWD}/my_custom_controlnet:/app/stable-fast-3d/my_custom_controlnet" `
sf3d-controlnet
Inside the container:
python run.py
Outputs are written to:
data/output/
Stable Fast 3D is a gated model. Before running inference, request access to:
stabilityai/stable-fast-3d
Then log in inside the environment:
huggingface-cli login
Do not commit Hugging Face tokens.
The training flow is:
download_data.py -> blender_script.py -> filter.py -> preprocess_data.py -> train.py
The final dataset should look like:
final_training_data/
images/
conditioning_images/
train.jsonl
2 commits
Python
96.7%
Dockerfile
3.3%
This project wraps Stable Fast 3D with an optional ControlNet style step.
Pipeline:
data/.rembg..glb file.The project can run with either:
my_custom_controlnet/lllyasviel/sd-controlnet-canny fallbackrun.py: main image-to-GLB pipeline.compare.py: compares default ControlNet and local ControlNet.train.py: trains a local ControlNet from final_training_data/.download_data.py: downloads Objaverse models for dataset creation.blender_script.py: renders downloaded .glb files into training images.filter.py: filters rendered images with CLIP.preprocess_data.py: creates Canny conditioning pairs and train.jsonl.Dockerfile: CUDA runtime image for the main pipeline.The following are intentionally excluded from git:
my_custom_controlnet/data/final_training_data/blender_bin/.glb filestoken.txtIf you want to use the fine-tuned ControlNet, place the model files locally:
my_custom_controlnet/
config.json
diffusion_pytorch_model.safetensors
Build:
docker build -t sf3d-controlnet .
Run on Windows PowerShell:
docker run --gpus all -it --rm `
-v "${PWD}/data:/app/stable-fast-3d/data" `
-v "${PWD}/my_custom_controlnet:/app/stable-fast-3d/my_custom_controlnet" `
sf3d-controlnet
Inside the container:
python run.py
Outputs are written to:
data/output/
Stable Fast 3D is a gated model. Before running inference, request access to:
stabilityai/stable-fast-3d
Then log in inside the environment:
huggingface-cli login
Do not commit Hugging Face tokens.
The training flow is:
download_data.py -> blender_script.py -> filter.py -> preprocess_data.py -> train.py
The final dataset should look like:
final_training_data/
images/
conditioning_images/
train.jsonl
2 commits
Python
96.7%
Dockerfile
3.3%