mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-06 04:52:13 -07:00
compatibility fix
This commit is contained in:
parent
a8a822fe68
commit
71a98e2ee4
1 changed files with 1 additions and 3 deletions
|
@ -618,10 +618,8 @@ class ExtractSubprocessor(Subprocessor):
|
|||
count = 1
|
||||
|
||||
if not manual:
|
||||
if (type == 'rects-dlib' or type == 'rects-mt' ):
|
||||
if (type == 'rects-mt' ):
|
||||
count = int (max (1, dev_vram / 2) )
|
||||
if type == 'rects-s3fd':
|
||||
count = int (max (1, dev_vram / 5) )
|
||||
|
||||
if count == 1:
|
||||
result += [ (idx, 'GPU', dev_name, dev_vram) ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue