We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4bca736 commit c37f15fCopy full SHA for c37f15f
comfy/latent_formats.py
@@ -412,6 +412,27 @@ class Wan21(LatentFormat):
412
latent_channels = 16
413
latent_dimensions = 3
414
415
+ latent_rgb_factors = [
416
+ [-0.1299, -0.1692, 0.2932],
417
+ [ 0.0671, 0.0406, 0.0442],
418
+ [ 0.3568, 0.2548, 0.1747],
419
+ [ 0.0372, 0.2344, 0.1420],
420
+ [ 0.0313, 0.0189, -0.0328],
421
+ [ 0.0296, -0.0956, -0.0665],
422
+ [-0.3477, -0.4059, -0.2925],
423
+ [ 0.0166, 0.1902, 0.1975],
424
+ [-0.0412, 0.0267, -0.1364],
425
+ [-0.1293, 0.0740, 0.1636],
426
+ [ 0.0680, 0.3019, 0.1128],
427
+ [ 0.0032, 0.0581, 0.0639],
428
+ [-0.1251, 0.0927, 0.1699],
429
+ [ 0.0060, -0.0633, 0.0005],
430
+ [ 0.3477, 0.2275, 0.2950],
431
+ [ 0.1984, 0.0913, 0.1861]
432
+ ]
433
+
434
+ latent_rgb_factors_bias = [-0.1835, -0.0868, -0.3360]
435
436
def __init__(self):
437
self.scale_factor = 1.0
438
self.latents_mean = torch.tensor([
0 commit comments