diffusion-models-class icon indicating copy to clipboard operation
diffusion-models-class copied to clipboard

Materials for the Hugging Face Diffusion Models Course

Results 29 diffusion-models-class issues
Sort by recently updated
recently updated
newest added

Thanks for the notebooks. I have one comment In this file https://github.com/huggingface/diffusion-models-class/blob/main/unit1/02_diffusion_models_from_scratch.ipynb ```python # The training loop for epoch in range(n_epochs): for x, y in train_dataloader: # Get some data...

/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_token.py:72: UserWarning: The secret `HF_TOKEN` does not exist in your Colab secrets. To authenticate with the Hugging Face Hub, create a token in your settings tab (https://huggingface.co/settings/tokens), set it as...

This link doesn't seem right. Have you changed the address? https://github.com/huggingface/diffusers/raw/main/examples/unconditional_image_generation/train_unconditional.py Is this link the same as the one above? "https://github.com/huggingface/diffusers/blob/main/examples/unconditional_image_generation/train_unconditional.py" If yes, do you know what the error is...

I'm trying to wade my way through https://github.com/huggingface/diffusion-models-class/blob/main/unit1/01_introduction_to_diffusers.ipynb Fairly informative overall, but a few things mire me down, in Step 4: 1. It is confusing that the IMAGE shows 5...

Hi! I think a typo fixed in notebook 01 wasn't fixed in notebook 02, q(xt | x0) ~ N(sqrt(1-alpha)*x0, sqrt(1-alpha)*I) should be q(xt | x0) ~ N(sqrt(1-alpha)*x0, 1-alpha\*I). For the...

…/02_diffusion_models_from_scratch.ipynb Misspelling of words in comments.

I tried to run the 'notebook_launcher' function and got error: [/usr/local/lib/python3.8/dist-packages/bitsandbytes/functional.py](https://localhost:8080/#) in optimizer_update_8bit_blockwise(optimizer_name, g, p, state1, state2, beta1, beta2, eps, step, lr, qmap1, qmap2, absmax1, absmax2, weight_decay, gnorm_scale, skip_zeros) 950...

Could we have a look at things like face variations from Justin Pinkey in unit4? https://www.youtube.com/watch?v=mpMGwQa7J1w&t=869s&ab_channel=HuggingFace

https://colab.research.google.com/github/huggingface/diffusion-models-class/blob/main/unit3/01_stable_diffusion_introduction.ipynb from torchvision import transforms display(init_image) # pil image convert to torch.tensor images = transforms.Compose([transforms.ToTensor()])(init_image).unsqueeze(0).to(device,torch.float) print("Input images shape:", images.shape) # Encode to latent space with torch.no_grad(): latents = 0.18215 *...