environment doesn’t support an interactive shell like a notebook, you can use:


	Copied
from accelerate.utils import write_basic_config

write_basic_config()
Finally, download a few images of a dog to DreamBooth with:


	Copied
from huggingface_hub import snapshot_download

local_dir = "./dog"
snapshot_download(
    "diffusers/dog-example",
    local_dir=local_dir,
    repo_type="dataset",
    ignore_patterns=".gitattributes",
)

Finetuning
	
