mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(nodes): add super init to PickleStorageTorch
This commit is contained in:
parent
5dd158a2d4
commit
de63e888d6
@ -15,6 +15,7 @@ class PickleStorageTorch(PickleStorageBase[T]):
|
||||
"""Responsible for storing and retrieving non-serializable data using `torch.save` and `torch.load`."""
|
||||
|
||||
def __init__(self, output_folder: Path, item_type_name: "str"):
|
||||
super().__init__()
|
||||
self._output_folder = output_folder
|
||||
self._output_folder.mkdir(parents=True, exist_ok=True)
|
||||
self._item_type_name = item_type_name
|
||||
|
Loading…
Reference in New Issue
Block a user