mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2024-03-22 13:10:55 +08:00
_
This commit is contained in:
parent
91f0f30a78
commit
80cae7d9f5
|
@ -23,7 +23,7 @@ class DeepFakeArchi(nn.ArchiBase):
|
|||
|
||||
if 'c' in opts:
|
||||
def act(x, alpha=0.1):
|
||||
return tf.nn.relu(x)
|
||||
return x*tf.cos(x)
|
||||
else:
|
||||
def act(x, alpha=0.1):
|
||||
return tf.nn.leaky_relu(x, alpha)
|
||||
|
|
Loading…
Reference in New Issue
Block a user