USDU parity: progressive tiles, deterministic blend, crop/seed/model fixes

This commit is contained in:
Robert Wojciechowski
2026-02-28 04:53:20 +00:00
parent 487f5b9c85
commit e4c025e06e
7 changed files with 240 additions and 31 deletions
+7
View File
@@ -176,6 +176,13 @@ class _FakeStaticWorker(static_mode.StaticModeMixin):
processed_batch = torch.zeros((batch_size, 2, 2, 3), dtype=torch.float32)
return processed_batch, 0, 0, 2, 2
def create_tile_mask(self, *_args, **_kwargs):
from PIL import Image
return Image.new("L", (4, 4), 255)
def blend_tile(self, base_image, *_args, **_kwargs):
return base_image
def _call_worker_static(fake_worker):
image = torch.zeros((1, 4, 4, 3), dtype=torch.float32)