"Python/requirements.txt" did not exist on "b8fc3c491c990a648b238e41f944c114249e71cc"
  1. 26 Jan, 2023 2 commits
    • Pedro Cuenca's avatar
      Allow `UNet2DModel` to use arbitrary class embeddings (#2080) · 915a5636
      Pedro Cuenca authored
      * Allow `UNet2DModel` to use arbitrary class embeddings.
      
      We can currently use class conditioning in `UNet2DConditionModel`, but
      not in `UNet2DModel`. However, `UNet2DConditionModel` requires text
      conditioning too, which is unrelated to other types of conditioning.
      This commit makes it possible for `UNet2DModel` to be conditioned on
      entities other than timesteps. This is useful for training /
      research purposes. We can currently train models to perform
      unconditional image generation or text-to-image generation, but it's not
      straightforward to train a model to perform class-conditioned image
      generation, if text conditioning is not required.
      
      We could potentiall use `UNet2DConditionModel` for class-conditioning
      without text embeddings by using down/up blocks without
      cross-conditioning. However:
      - The mid block currently requires cross attention.
      - We are required to provide `encoder_hidden_states` to `forward`.
      
      * Style
      
      * Align class conditioning, add docstring for `num_class_embeds`.
      
      * Copy docstring to versatile_diffusion UNetFlatConditionModel
      915a5636
    • Pedro Cuenca's avatar
      [textual inversion] Allow validation images (#2077) · 08561373
      Pedro Cuenca authored
      
      
      * [textual inversion] Allow validation images.
      
      * Change key to `validation`
      
      * Specify format instead of transposing.
      
      As discussed with @sayakpaul.
      
      * Style
      Co-authored-by: default avatarisamu-isozaki <isamu.website@gmail.com>
      08561373
  2. 25 Jan, 2023 14 commits
  3. 24 Jan, 2023 9 commits
  4. 23 Jan, 2023 4 commits
  5. 22 Jan, 2023 3 commits
  6. 21 Jan, 2023 2 commits
  7. 20 Jan, 2023 6 commits