From 567671c43ec783c97e65186c53536b2fc47b4fbd Mon Sep 17 00:00:00 2001 From: Steve Nyemba Date: Tue, 13 Apr 2021 17:43:43 -0500 Subject: [PATCH] bug fix --- pipeline.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pipeline.py b/pipeline.py index 2a3919c..ae6c2b8 100644 --- a/pipeline.py +++ b/pipeline.py @@ -634,14 +634,14 @@ if __name__ == '__main__' : # if GPU_CHIPS and 'all-chips' in SYS_ARGS: index = 0 - + print (['... launching ',len(GPU_CHIPS),' jobs',args['context']]) for _gpu in GPU_CHIPS : _args = copy.deepcopy(args) _args['gpu'] = [int(_gpu)] _args['partition'] = index index += 1 make = lambda _params: (Components()).train(**_params) - job = Process(target=make,args=( dict(_args),)) + job = Process(target=make,args=( _args,)) job.name = 'Trainer # ' + str(index) job.start() jobs.append(job)