Skip to content

Commit

Permalink
Update dcgan.py
Browse files Browse the repository at this point in the history
Embedding layer missing from weight initialization.
  • Loading branch information
HarshithBachimanchi committed May 5, 2024
1 parent ef67856 commit 6687191
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions deeplay/models/discriminators/dcgan.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ def dcgan_discriminator(encoder: ConvolutionalEncoder2d):
targets=(
nn.Conv2d,
nn.BatchNorm2d,
nn.Embedding,
nn.Linear,
),
mean=0,
Expand Down

0 comments on commit 6687191

Please sign in to comment.