mirror of
https://github.com/facefusion/facefusion-labs.git
synced 2026-07-28 16:08:50 +02:00
Introduce new DiscriminatorLoss class, Remove useless super call params
This commit is contained in:
@@ -4,7 +4,7 @@ from torch import Tensor, nn
|
||||
|
||||
class EmbeddingConverter(nn.Module):
|
||||
def __init__(self) -> None:
|
||||
super(EmbeddingConverter, self).__init__()
|
||||
super().__init__()
|
||||
self.layers = self.create_layers()
|
||||
self.leaky_relu = nn.LeakyReLU()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user