fix S3FD for plaidML, fix S3FD warnings on Lambda layers.
This commit is contained in:
Binary file not shown.
@@ -213,7 +213,7 @@ class ExtractSubprocessor(Subprocessor):
|
||||
cpu_only = True
|
||||
|
||||
if not cpu_only and (type == 'rects' or type == 'landmarks'):
|
||||
if type == 'rects' and (self.detector == 'mt' or self.detector == 's3fd') and nnlib.device.backend == "plaidML":
|
||||
if type == 'rects' and (self.detector == 'mt') and nnlib.device.backend == "plaidML":
|
||||
cpu_only = True
|
||||
else:
|
||||
if multi_gpu:
|
||||
|
||||
Reference in New Issue
Block a user