parent
639a4cbd25
commit
48f658fbb5
|
@ -317,7 +317,7 @@ class LightningDataModule(object, metaclass=_DataModuleWrapper): # pragma: no c
|
|||
depr_arg_names = blacklist + added_args
|
||||
depr_arg_names = set(depr_arg_names)
|
||||
|
||||
allowed_types = (str, float, int, bool)
|
||||
allowed_types = (str, int, float, bool)
|
||||
|
||||
# TODO: get "help" from docstring :)
|
||||
for arg, arg_types, arg_default in (
|
||||
|
|
|
@ -736,7 +736,7 @@ class Trainer(
|
|||
blacklist = ['kwargs']
|
||||
depr_arg_names = cls.get_deprecated_arg_names() + blacklist
|
||||
|
||||
allowed_types = (str, float, int, bool)
|
||||
allowed_types = (str, int, float, bool)
|
||||
|
||||
# TODO: get "help" from docstring :)
|
||||
for arg, arg_types, arg_default in (
|
||||
|
|
Loading…
Reference in New Issue