ddp pickle

This commit is contained in:
William Falcon
2020-04-27 07:05:29 -04:00
parent 6e86b59d21
commit 4aac5568a6
+5 -5
View File
@@ -620,11 +620,11 @@ class Trainer(
else:
return int(x)
def arg_default(x):
if ',' in x:
return str(x)
else:
return int(x)
# def arg_default(x):
# if ',' in x:
# return str(x)
# else:
# return int(x)
parser.add_argument(
f'--{arg}',