Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting [Errno 13] Permission denied | autotrain.cli.run_dreambooth:run:393 - Job ID: 33508 | autotrain.trainers.common:wrapper:121 - [Errno 13] Permission denied: #632

Open
SakshiKhadilkar opened this issue May 8, 2024 · 4 comments

Comments

@SakshiKhadilkar
Copy link

I setup autotrain-advanced on my local machine Windows11 with 12GB GPU Memory

Run the following commands

  1. pip install -U autotrain-advanced
  2. autotrain setup --update-torch
  3. autotrain dreambooth --train --model stabilityai/stable-diffusion-xl-base-1.0 --image-path images --prompt "photo of Narendra Modi" --resolution 1024 --batch-size 1 --num-steps 500 --gradient-accumulation 4 --lr 1e-4 --project-name "text-to-image" --mixed-precision fp16

The images on which I'm training my text-to-image model is present under the 'images' folder in current directory.

@abhishekkrthakur I followed your YouTube Tutorial
https://youtu.be/gF078Lhnr94?si=JDbFwW9FLjbFhX5h

Getting this errors, pls help me resolve this

image

@abhishekkrthakur
Copy link
Member

https://huggingface.co/docs/autotrain/faq#is-windows-supported

@SakshiKhadilkar
Copy link
Author

Setup this on Ubuntu 20.04.6 LTS

$ conda create -n autotrain python=3.10
$ conda activate autotrain
$ pip install autotrain-advanced
$ conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia
$ conda install -c "nvidia/label/cuda-12.1.0" cuda-nvcc
$ conda install xformers -c xformers
$ python -m nltk.downloader punkt
$ pip install flash-attn --no-build-isolation # if you want to use flash-attn
$ pip install deepspeed
$ export HF_TOKEN=your_hugging_face_write_token (added Token )
$ autotrain --help

getting same error for " autotrain setup "

@abhishekkrthakur

Screenshot from 2024-05-11 12-16-34

Screenshot from 2024-05-11 12-26-23

@abhishekkrthakur
Copy link
Member

youtube tutorials are outdated. please follow docs: https://hf.co/docs/autotrain

@SakshiKhadilkar
Copy link
Author

https://huggingface.co/docs/autotrain/quickstart

Yes, followed the same, still getting those errors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants