Update installs in image classification doc (#29947)
Trainer with PyTorch now requires accelerate to be installed. Partly resolves huggingface/transformers#29174
This commit is contained in:
@@ -43,7 +43,7 @@ The task illustrated in this tutorial is supported by the following model archit
|
||||
Before you begin, make sure you have all the necessary libraries installed:
|
||||
|
||||
```bash
|
||||
pip install transformers datasets evaluate
|
||||
pip install transformers datasets evaluate accelerate
|
||||
```
|
||||
|
||||
We encourage you to log in to your Hugging Face account to upload and share your model with the community. When prompted, enter your token to log in:
|
||||
|
||||
Reference in New Issue
Block a user