This commit is contained in:
Steve Nyemba 2020-03-06 14:42:40 -06:00
parent 411aa170eb
commit ff6ae5a622
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ class Components :
else: else:
_args['gpu'] = 0 _args['gpu'] = 0
_args['num_gpu'] = 1 _args['num_gpu'] = 1
os.environ['CUDA_VISIBLE_DEVICES'] = str(args['gpu'])
_args['no_value']= args['no_value'] _args['no_value']= args['no_value']
# MAX_ROWS = args['max_rows'] if 'max_rows' in args else 0 # MAX_ROWS = args['max_rows'] if 'max_rows' in args else 0
PART_SIZE = int(args['part_size']) if 'part_size' in args else 8 PART_SIZE = int(args['part_size']) if 'part_size' in args else 8