mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
stability improvements
- provide full traceback when a model fails to load - fix VAE record for VoxelArt; otherwise load fails
This commit is contained in:
@ -844,6 +844,7 @@ class Generate:
|
||||
model_data = cache.get_model(model_name)
|
||||
except Exception as e:
|
||||
print(f'** model {model_name} could not be loaded: {str(e)}')
|
||||
print(traceback.format_exc(), file=sys.stderr)
|
||||
if previous_model_name is None:
|
||||
raise e
|
||||
print(f'** trying to reload previous model')
|
||||
|
Reference in New Issue
Block a user