mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-08-21 22:13:20 -07:00
fix: typo in new ms_ssim opt function
This commit is contained in:
parent
7cb33128f0
commit
039559e4fd
1 changed files with 1 additions and 1 deletions
|
@ -333,7 +333,7 @@ def ms_ssim(img1, img2, resolution, kernel_size=11, k1=0.01, k2=0.03, max_value=
|
|||
loss = tf.cast(loss, img_dtype)
|
||||
return loss
|
||||
|
||||
nn.dssim = ms_ssim
|
||||
nn.ms_ssim = ms_ssim
|
||||
|
||||
|
||||
def space_to_depth(x, size):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue