Skip to content

Commit

Permalink
remove a source of confusion
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains committed Sep 19, 2022
1 parent e10e92e commit f879ec9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion imagen_pytorch/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def load_imagen_from_checkpoint(
elif imagen_type == 'elucidated':
imagen_klass = ElucidatedImagenConfig
else:
raise ValueError(f'unknown imagen type {imagen_type}')
raise ValueError(f'unknown imagen type {imagen_type} - you need to instantiate your Imagen with configurations, using classes ImagenConfig or ElucidatedImagenConfig')

assert exists(imagen_params) and exists(imagen_type), 'imagen type and configuration not saved in this checkpoint'

Expand Down
2 changes: 1 addition & 1 deletion imagen_pytorch/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.11.11'
__version__ = '1.11.12'

0 comments on commit f879ec9

Please sign in to comment.