Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 2d-ldm-tutorial. #151

Merged
merged 4 commits into from
Dec 19, 2022
Merged

Fix 2d-ldm-tutorial. #151

merged 4 commits into from
Dec 19, 2022

Conversation

JessyD
Copy link
Member

@JessyD JessyD commented Dec 19, 2022

Fix #149

@JessyD JessyD requested a review from Warvito December 19, 2022 05:16
Copy link
Collaborator

@Warvito Warvito left a comment

Choose a reason for hiding this comment

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

Looks good, I added a few comments that might help save some memory. In case you want to save even further memory, in the SR I deleted the discriminator and the perceptual networks and cleaned the GPU cache, since they are not necessary for the diffusion model training.

Comment on lines -1 to -16
# ---
# jupyter:
# jupytext:
# cell_metadata_filter: -all
# formats: ipynb,py
# text_representation:
# extension: .py
# format_name: light
# format_version: '1.5'
# jupytext_version: 1.14.1
# kernelspec:
# display_name: Python 3
# language: python
# name: python3
# ---

Copy link
Collaborator

Choose a reason for hiding this comment

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

Was it intended to remove the jupytext link here?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, I always tried to remove them from the .py file, as I think that they don't add any information.

tutorials/generative/2d_ldm/2d_ldm_tutorial.py Outdated Show resolved Hide resolved
tutorials/generative/2d_ldm/2d_ldm_tutorial.py Outdated Show resolved Hide resolved
@Warvito Warvito merged commit 80c44bb into main Dec 19, 2022
@Warvito Warvito deleted the 149-fix-2d-ldm-tutorial branch December 21, 2022 22:08
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.

Fix autocast in 2d_ldm tutorial
2 participants