mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-30 19:50:08 -07:00
Bug Fixes: Improved Multi-GPU Support in Windows System and Optimized the Version Numbers of Some Modules.
This commit is contained in:
parent
a8c039da93
commit
e40201f15f
3 changed files with 27 additions and 25 deletions
|
@ -68,7 +68,8 @@ class Devices(object):
|
|||
return None
|
||||
|
||||
def get_devices_from_index_list(self, idx_list):
|
||||
idx_list = [int(idx.strip()) for idx in idx_list.split(',')]
|
||||
if not isinstance(idx_list, list):
|
||||
idx_list = [int(idx.strip()) for idx in idx_list.split(',')]
|
||||
result = []
|
||||
for device in self.devices:
|
||||
if device.index in idx_list:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue