Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.
TypeScript ai-artartificial-intelligencegenerative-artimage-generationimg2imginpaintinglatent-diffusionlinuxmacosoutpaintingstable-diffusiontxt2imgwindows
Validate execution plan snapshots
JPPhoto73af19f3cb0d
diff --git a/invokeai/app/services/shared/execution_engine/scheduler.py b/invokeai/app/services/shared/execution_engine/scheduler.pyindex 3084cf8a02..f92e7dd6a0 100644--- a/invokeai/app/services/shared/execution_engine/scheduler.py+++ b/invokeai/app/services/shared/execution_engine/scheduler.py@@ -96,6 +96,8 @@ class ExecutionPlan:def from_snapshot(cls, snapshot: Mapping[str, Any]) -> "ExecutionPlan":"""Restore a plan using its insertion order and dependency list."""+ if not isinstance(snapshot, Mapping):+ raise ValueError("execution plan snapshot must be a mapping")plan = cls()raw_nodes = snapshot.get("nodes")if not isinstance(raw_nodes, Mapping):