From b25ae2e6abe8eb2101a515e6e2ec7e2efd139856 Mon Sep 17 00:00:00 2001 From: Will Berman Date: Fri, 2 Dec 2022 03:11:18 -0800 Subject: [PATCH] [docs] [dreambooth training] accelerate.utils.write_basic_config (#1513) --- examples/dreambooth/README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/examples/dreambooth/README.md b/examples/dreambooth/README.md index 08ebdd5c32..9f89cd31d2 100644 --- a/examples/dreambooth/README.md +++ b/examples/dreambooth/README.md @@ -19,6 +19,13 @@ And initialize an [🤗Accelerate](https://github.com/huggingface/accelerate/) e accelerate config ``` +Or if your environment doesn't support an interactive shell e.g. a notebook + +```python +from accelerate.utils import write_basic_config +write_basic_config() +``` + ### Dog toy example You need to accept the model license before downloading or using the weights. In this example we'll use model version `v1-4`, so you'll need to visit [its card](https://huggingface.co/CompVis/stable-diffusion-v1-4), read the license and tick the checkbox if you agree.