mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-10 12:21:57 +08:00
ddp pickle
This commit is contained in:
@@ -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}',
|
||||
|
||||
Reference in New Issue
Block a user