Skip to content

DDIM Timesteps Offset #136

Description

@BlueAmulet

What is the significance of this line of code?
https://github.com/CompVis/latent-diffusion/blob/main/ldm/modules/diffusionmodules/util.py#L57
It has a slight issue that if you want to run the model for the full 1000 timesteps, an array of [0, 999] is made, then moved to [1, 1000], and then crashes here with "IndexError: index 1000 is out of bounds for dimension 0 with size 1000"
https://github.com/CompVis/latent-diffusion/blob/main/ldm/modules/diffusionmodules/util.py#L65

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions