Skip to content

Conversation

@silky1708
Copy link
Owner

first move self.logvar to self.device, and then index (line 1030, ddpm.py)

the current ordering gives the following error:

RuntimeError: indices should be either on cpu or on the same device as the indexed tensor (cpu)

first move `self.logvar` to `self.device`, and then index on line 1030
@silky1708 silky1708 merged commit db0fb7f into main May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants