Skip to content

Commit

Permalink
Merge branch 'main' of github.com:nnaakkaaii/D-3DVRVAE
Browse files Browse the repository at this point in the history
  • Loading branch information
nnaakkaaii committed Jun 30, 2024
2 parents d373023 + b829786 commit f9274aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hrdae/models/gan_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def train(
loss_g_basic = self.criterion(y, xp, latent=latent)
loss_g_adv = self.criterion_g(y_pred, torch.ones_like(y_pred))

loss_g = loss_g_basic + 0.01 * loss_g_adv
loss_g = loss_g_basic + 0.001 * loss_g_adv
loss_g.backward()
self.optimizer_g.step()

Expand Down

0 comments on commit f9274aa

Please sign in to comment.