Skip to content

Commit

Permalink
Fix missing space in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
bryant1410 authored Oct 26, 2023
1 parent bc247f6 commit 79f2aed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/open_clip/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ def _convert_ln(m):
else:
error_str = (
f'Pretrained weights ({pretrained}) not found for model {model_name}.'
f'Available pretrained tags ({list_pretrained_tags_by_model(model_name)}.')
f' Available pretrained tags ({list_pretrained_tags_by_model(model_name)}.')
logging.warning(error_str)
raise RuntimeError(error_str)
pretrained_loaded = True
Expand Down

0 comments on commit 79f2aed

Please sign in to comment.