Run this model with HF Jobs
Run neuralvfx/Z-Image-SAM-ControlNet on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/neuralvfx/Z-Image-SAM-ControlNet. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/neuralvfx/Z-Image-SAM-ControlNet on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use neuralvfx/Z-Image-SAM-ControlNet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use neuralvfx/Z-Image-SAM-ControlNet with Diffusers:
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline controlnet = ControlNetModel.from_pretrained("neuralvfx/Z-Image-SAM-ControlNet") pipe = StableDiffusionControlNetPipeline.from_pretrained( "Tongyi-MAI/Z-Image", controlnet=controlnet ) - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files90 unmodified lines9192939495969790 unmodified linesnum_inference_steps=50,guidance_scale=4.0,controlnet_conditioning_scale=1.0,generator= torch.Generator("cuda").manual_seed(22),).images[0]image.save("output.png")90 unmodified lines9192939495969790 unmodified linesnum_inference_steps=50,guidance_scale=4.0,controlnet_conditioning_scale=1.0,generator= torch.Generator("cuda").manual_seed(45),).images[0]image.save("output.png")
README.md+1-1