add stable-video-diffusion

This commit is contained in:
Vladimir Mandic
2023-11-30 11:21:26 -05:00
parent f08b4e5c23
commit 84d733f0a0
12 changed files with 217 additions and 71 deletions
+1 -1
View File
@@ -784,7 +784,7 @@ def validate_sample(tensor):
if shared.backend == shared.Backend.ORIGINAL:
sample = 255.0 * np.moveaxis(tensor.cpu().numpy(), 0, 2)
else:
sample = 255. * tensor
sample = 255.0 * tensor
with warnings.catch_warnings(record=True) as w:
cast = sample.astype(np.uint8)
if len(w) > 0: