mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-01-15 04:37:56 -05:00
Turns out they are just different enough in purpose that the implementations would be rather unintuitive. I've made a separate ObjectSerializer service to handle tensors and conditioning. Refined the class a bit too.
6 lines
203 B
Python
6 lines
203 B
Python
class ObjectNotFoundError(KeyError):
|
|
"""Raised when an object is not found while loading"""
|
|
|
|
def __init__(self, name: str) -> None:
|
|
super().__init__(f"Object with name {name} not found")
|