ProGamerGov

Results 515 comments of ProGamerGov

The `ftfy` library function is also responsible for the divergence in normal text inputs. Looking at the docs for the library, it appears to be a heuristic replacement algorithm for...

I got a bit further by doing: ``` huggingface-cli login ``` ``` accelerate launch train_dreambooth.py --save_sample_prompt "a photo of sks " --pretrained_model_name_or_path "v1-5-pruned-emaonly.ckpt" --instance_data_dir "training_images" --class_data_dir "" --output_dir "text-inversion-model" --with_prior_preservation...

The script just hangs, with indication of any errors or progress: ``` user@instance-1:~$ accelerate launch train_dreambooth.py --save_sample_prompt "a photo of sks " --pretrained_model_name_or_path "runwayml/stable-diffusion-v1-5" --pretrained_vae_name_or_path="stabilityai/sd-vae-ft-ema" --instance_data_dir "training_images" --class_data_dir --output_dir "text-inversion-model"...

@ShivamShrirao I did some more testing and it looks like hangs on the following line for some reason: ``` if args.seed is not None: set_seed(args.seed) ``` When I omitted the...

Without using the seed parameter, it makes it up to this line before it stops working again: ``` accelerator.backward(loss) ``` I tried looking for similar issues: https://github.com/huggingface/accelerate/issues/287 https://github.com/huggingface/accelerate/issues/191 But I'm...

> Can't say. Btw you should install xformers. To check where script is hanging, press ctrl+C. The traceback will show where it was stuck. I need to find a pre-compiled...

I was able to get it working! I created a file called `environment.yaml` and put this inside: ``` name: ldm channels: - pytorch - defaults dependencies: - python=3.8.10 - pip=20.3...

I'm having trouble repeating my above success, even when using the exact same commands: ``` wget -q https://github.com/ShivamShrirao/diffusers/raw/main/examples/dreambooth/train_dreambooth.py conda env create -f conda.yaml conda activate ldm huggingface-cli login pip install...

Looking at the log for when I succeeded, I see the following PyTorch / Cuda versions: ``` torchvision pytorch/linux-64::torchvision-0.13.1-py38_cu113 None pytorch pytorch/linux-64::pytorch-1.12.1-py3.8_cuda11.3_cudnn8.3.2_0 None pytorch-1.12.1 torchvision-0.13.1 ``` So, maybe the versions...