--num_train_epochs=11 \
 --push_to_hub \
 --hub_model_id=$HUB_MODEL_ID
</hfoption>
</hfoptions>
Once training is complete, you can use your newly trained model for inference!   Copied from diffusers import StableDiffusionControlNetPipeline, ControlNetModel
from diffusers.utils import load_image
import torch

controlnet = ControlNetModel.from_pretrained("path/to/controlnet", torch_dtype=torch.float16)
pipeline = StableDiffusionControlNetPipeline