mirror of
https://github.com/jantic/DeOldify.git
synced 2026-08-29 01:55:46 +08:00
Adding proper attribution
This commit is contained in:
+1
-1
@@ -43,7 +43,7 @@ class FeatureLoss(nn.Module):
|
||||
self.hooks.remove()
|
||||
|
||||
|
||||
# Includes wasserstein loss
|
||||
# Refactored code, originally from https://github.com/VinceMarron/style_transfer
|
||||
class WassFeatureLoss(nn.Module):
|
||||
def __init__(self, layer_wgts=[5, 15, 2], wass_wgts=[3.0, 0.7, 0.01]):
|
||||
super().__init__()
|
||||
|
||||
Reference in New Issue
Block a user