aigc-apps / sd-webui-EasyPhoto

📷 EasyPhoto | Your Smart AI Photo Generator.
Apache License 2.0
4.98k stars 399 forks source link

在使用 Video Inference Text2Video 的时候,报错:Template 1 error: Error info is can't convert np.ndarray of type numpy.object_. The only supported types are: float64, float32, float16, complex64, complex128, int64, int32, int16, int8, uint8, and bool.. #380

Open wrinkless opened 10 months ago

wrinkless commented 10 months ago

Template 1 error: Error info is can't convert np.ndarray of type numpy.object_. The only supported types are: float64, float32, float16, complex64, complex128, int64, int32, int16, int8, uint8, and bool.. 下面是日志: 2024-01-19 15:17:38,370 - EasyPhoto - Start 15 paste crop image to origin template. 2024-01-19 15:17:38,375 - EasyPhoto - Start 15 Portrait enhancement. Traceback (most recent call last): File "D:\AI2\sd-webui-aki-v4.5\extensions\sd-webui-EasyPhoto\scripts\easyphoto_infer.py", line 2825, in easyphoto_video_infer_forward output_video, output_gif, prefix = convert_to_video( File "D:\AI2\sd-webui-aki-v4.5\extensions\sd-webui-EasyPhoto\scripts\easyphoto_utils\common_utils.py", line 640, in convert_to_video frames = torch.fromnumpy(np.array(frames)) TypeError: can't convert np.ndarray of type numpy.object. The only supported types are: float64, float32, float16, complex64, complex128, int64, int32, int16, int8, uint8, and bool. 2024-01-19 15:17:39,132 - EasyPhoto - Template 1 error: Error info is can't convert np.ndarray of type numpy.object_. The only supported types are: float64, float32, float16, complex64, complex128, int64, int32, int16, int8, uint8, and bool., skip it. Cleanup completed. Loading VAE weights specified in settings: D:\AI2\sd-webui-aki-v4.5\models\VAE\animevae.pt Applying attention optimization: xformers... done.

wuziheng commented 9 months ago
  1. 确认你的其他功能是否是好的
  2. 你的启动项和显卡型号提供一下