[docs] [dreambooth training] accelerate.utils.write_basic_config (#1513)
This commit is contained in:
@@ -19,6 +19,13 @@ And initialize an [🤗Accelerate](https://github.com/huggingface/accelerate/) e
|
|||||||
accelerate config
|
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
|
### 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.
|
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.
|
||||||
|
|||||||
Reference in New Issue
Block a user