mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-14 17:13:42 -07:00
fixes
This commit is contained in:
parent
76ca79216e
commit
c485e1718a
4 changed files with 10 additions and 22 deletions
|
@ -35,7 +35,7 @@ def initialize_tensor_ops(nn):
|
|||
gv = [*zip(grads,vars)]
|
||||
for g,v in gv:
|
||||
if g is None:
|
||||
raise Exception("No gradient for variable {v.name}")
|
||||
raise Exception(f"No gradient for variable {v.name}")
|
||||
return gv
|
||||
nn.tf_gradients = tf_gradients
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue