Skip to content
Permalink
Browse files

extractor for AMD gpu: increase no response time

  • Loading branch information
iperov committed Nov 24, 2019
1 parent 6b14741 commit 1bfd65abe511d69dd989abb424a5159312a7c01a
Showing with 7 additions and 2 deletions.
  1. +7 −2 mainscripts/Extractor.py
@@ -307,9 +307,14 @@ def __init__(self, input_data, type, image_size=None, face_type=None, debug_dir=
self.result = []

self.devices = ExtractSubprocessor.get_devices_for_config(self.manual, self.type, multi_gpu, cpu_only)

no_response_time_sec = 60 if not self.manual and not DEBUG else 999999

if self.manual or DEBUG:
no_response_time_sec = 999999
elif nnlib.device.backend == 'plaidML':
no_response_time_sec = 600
else:
no_response_time_sec = 60

super().__init__('Extractor', ExtractSubprocessor.Cli, no_response_time_sec, initialize_subprocesses_in_serial=(type != 'final'))

#override

0 comments on commit 1bfd65a

Please sign in to comment.
You can’t perform that action at this time.