stable-diffusion icon indicating copy to clipboard operation
stable-diffusion copied to clipboard

预测时报错

Open Blue-Sky-Wang opened this issue 2 years ago • 1 comments
trafficstars

跑预测模型的时候报错 DDIM Sampler: 100%|██████████| 20/20 [00:52<00:00, 2.61s/it] F:\Python\stable-diffusion-master\predict.py:145: RuntimeWarning: invalid value encountered in cast x_samples = (einops.rearrange(x_samples, 'b c h w -> b h w c') * 127.5 + 127.5).cpu().numpy().clip(0, 255).astype(np.uint8)

跑出来的图片全黑

Blue-Sky-Wang avatar Sep 02 '23 01:09 Blue-Sky-Wang

啊?是不是触发nfsw了?

bubbliiiing avatar Sep 06 '23 17:09 bubbliiiing