autotrain-advanced icon indicating copy to clipboard operation
autotrain-advanced copied to clipboard

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

Open SakshiKhadilkar opened this issue 1 year ago • 4 comments

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

SakshiKhadilkar avatar May 08 '24 15:05 SakshiKhadilkar

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

abhishekkrthakur avatar May 08 '24 16:05 abhishekkrthakur

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

SakshiKhadilkar avatar May 11 '24 12:05 SakshiKhadilkar

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

abhishekkrthakur avatar May 11 '24 12:05 abhishekkrthakur

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

Yes, followed the same, still getting those errors

SakshiKhadilkar avatar May 11 '24 15:05 SakshiKhadilkar

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Jun 11 '24 15:06 github-actions[bot]

This issue was closed because it has been inactive for 20 days since being marked as stale.

github-actions[bot] avatar Jul 02 '24 15:07 github-actions[bot]