Skip to content

Commit

Permalink
update loss weights
Browse files Browse the repository at this point in the history
Signed-off-by: Can-Zhao <[email protected]>
  • Loading branch information
Can-Zhao committed Dec 13, 2023
1 parent 703e92d commit bdbfa10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/brats_mri_generative_diffusion/scripts/losses.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
adv_loss = PatchAdversarialLoss(criterion="least_squares")

adv_weight = 0.1
perceptual_weight = 0.1
perceptual_weight = 0.3
# kl_weight: important hyper-parameter.
# If too large, decoder cannot recon good results from latent space.
# If too small, latent space will not be regularized enough for the diffusion model
Expand Down

0 comments on commit bdbfa10

Please sign in to comment.