Skip to content

Commit

Permalink
Fix missing space in error message (mlfoundations#711)
Browse files Browse the repository at this point in the history
  • Loading branch information
bryant1410 authored and Interpause committed May 23, 2024
1 parent cd35f3b commit 35259bc
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 35259bc

Please sign in to comment.