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

373 add code for spade vae gan #405

Merged
merged 7 commits into from
Jul 5, 2023
Merged

Conversation

virginiafdez
Copy link
Contributor

  • Added support for SPADE-GAN network (SPADE normalisation and GAN-VAEGAN-like generator)
  • Added unit tests
  • Added tutorial for 2D usage of SPADE-GAN along with Multi-Scale Discriminator.

@virginiafdez virginiafdez linked an issue Jun 22, 2023 that may be closed by this pull request
Signed-off-by: Walter Hugo Lopez Pinaya <ianonimato@hotmail.com>
@virginiafdez virginiafdez marked this pull request as ready for review June 26, 2023 12:19
Copy link
Collaborator

@marksgraham marksgraham left a comment

Choose a reason for hiding this comment

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

Hi,

Looks good! Some changes requested in the comments

generative/losses/kld_loss.py Outdated Show resolved Hide resolved
generative/networks/blocks/spade_norm.py Show resolved Hide resolved
tutorials/generative/2d_spade_gan/2d_spade_vae.py Outdated Show resolved Hide resolved
generative/networks/blocks/spade_norm.py Show resolved Hide resolved
generative/networks/nets/spade_network.py Show resolved Hide resolved
x_s = x
return x_s

class SPADE_Encoder(nn.Module):
Copy link
Collaborator

Choose a reason for hiding this comment

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

docstrng here too

generative/networks/nets/spade_network.py Outdated Show resolved Hide resolved
generative/networks/nets/spade_network.py Outdated Show resolved Hide resolved
… blank lines, modifying the notebook to take losses more into account + conclusion.
@virginiafdez
Copy link
Contributor Author

Added requested changes:

  • Added more info to the tutorial and loss plot
  • Removed blank lines
  • Added docstrings

@marksgraham marksgraham merged commit 72f0e5d into main Jul 5, 2023
@marksgraham marksgraham deleted the 373-add-code-for-spade-vae-gan branch December 21, 2023 09:44
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add code for SPADE VAE-GAN
3 participants