Skip to content

Fix timestep embedding dim in UNet1D#6692

Open
AndreasBergmeister wants to merge 1 commit intohuggingface:mainfrom
AndreasBergmeister:fix_timeste_input_dim
Open

Fix timestep embedding dim in UNet1D#6692
AndreasBergmeister wants to merge 1 commit intohuggingface:mainfrom
AndreasBergmeister:fix_timeste_input_dim

Conversation

@AndreasBergmeister
Copy link
Copy Markdown

What does this PR do?

Fix timestep embedding dimension in UNet1D. The updated version is now consistent with the Unet2D model.

Before submitting

Who can review?

Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@github-actions
Copy link
Copy Markdown
Contributor

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the contributing guidelines are likely to be ignored.

@github-actions github-actions Bot added the stale Issues that haven't received updates label Feb 23, 2024
if time_embedding_type == "fourier":
self.time_proj = GaussianFourierProjection(
embedding_size=8, set_W_to_weight=False, log=False, flip_sin_to_cos=flip_sin_to_cos
embedding_size=block_out_channels[0], set_W_to_weight=False, log=False, flip_sin_to_cos=flip_sin_to_cos
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is a breaking change

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

Labels

stale Issues that haven't received updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants