clip-guided-diffusion icon indicating copy to clipboard operation
clip-guided-diffusion copied to clipboard

A CLI tool/python module for generating images from text using guided diffusion and CLIP from OpenAI.

Results 9 clip-guided-diffusion issues
Sort by recently updated
recently updated
newest added

During the execution I get the following error: >TypeError: tensor is not a torch image. ``` MacBook-Pro-3 clip-guided-diffusion % cgd --prompts "A mushroom in the style of Vincent Van Gogh"...

![20220524_184408](https://user-images.githubusercontent.com/90665263/170027047-53e5ed17-5fcb-4095-8773-6f22b898b730.png)

Still does not work. See the context in the original issue. ResizeRight is expecting either a numpy array or a torch tensor, now it gets a PIL image which does...

Katherine just trained a new checkpoint meant to be used in tandem with existing unconditional checkpoints from Open AI. I intend to add this functionality here eventually but am going...

Made the sin of committing these changes without attribution. Need to update this asap.

Originally went with GIF as it meant not placing a dependency on ffmpeg. The outputs aren't very good quality for whatever reason. Rather than mess with fixing an outdated tech;...

The discovery of the original "cutouts" method goes back to `The Big Sleep` by advadvnoun. Katherine Crowson @crowsonkb provided the implementation for handling the guided-diffusion scenario. The original works from...

@crowsonkb has informed me this should work but I can't currently test it as I don't have an AMD GPU. I'd greatly appreciate it if someone with that type of...

help wanted

In cgd.py, in cond_fn(x, t, out, y=None): ```python fac = diffusion.sqrt_one_minus_alphas_cumprod[current_timestep] sigmas = 1 - fac x_in = out["pred_xstart"] * fac + x * sigmas ``` out["pred_xstart"] is the predicted...