Skip to content
This repository was archived by the owner on Feb 7, 2025. It is now read-only.

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.

@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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix autocast in 2d_ldm tutorial

3 participants