Skip to content

Commit 48f979f

Browse files
authored
Merge 9cb8c11 into fc6d402
2 parents fc6d402 + 9cb8c11 commit 48f979f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytorch_lightning/core/saving.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def load_from_checkpoint(
136136

137137
if hparams_file is not None:
138138
extension = hparams_file.split('.')[-1]
139-
if extension.lower() in ('csv'):
139+
if extension.lower() in ('csv',):
140140
hparams = load_hparams_from_tags_csv(hparams_file)
141141
elif extension.lower() in ('yml', 'yaml'):
142142
hparams = load_hparams_from_yaml(hparams_file)

0 commit comments

Comments
 (0)