mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-08-22 06:23:20 -07:00
no message
This commit is contained in:
parent
beb8c30970
commit
39601603ef
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ class MsSsim(nn.LayerBase):
|
||||||
|
|
||||||
|
|
||||||
def assign_device(op):
|
def assign_device(op):
|
||||||
if op.type != 'Assert':
|
if op.type != 'Assert' or op.type != 'ListDiff':
|
||||||
return '/gpu:0'
|
return '/gpu:0'
|
||||||
else:
|
else:
|
||||||
return '/cpu:0'
|
return '/cpu:0'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue