Installed in Autumn Leaf Launcher
sd-wav2lip-uhq plug-in, but it cannot run normally, the prompt is as follows
File "H:\AI\sd-webui-aki\sd-webui-aki-v4.4\python\lib\site-packages\anyio_backends_asyncio.py", line 867, in run
result = context.run(func, args)
File "H:\AI\sd-webui-aki\sd-webui-aki-v4.4\python\lib\site-packages\gradio\utils.py", line 707, in wrapper
response = f(args, **kwargs)
File "H:\AI\sd-webui-aki\sd-webui-aki-v4.4\extensions\sd-wav2lip-uhq\scripts\ui.py", line 160, in generate
w2l.execute()
File "H:\AI\sd-webui-aki\sd-webui-aki-v4.4\extensions\sd-wav2lip-uhq\scripts\wav2lip\w2l.py", line 251, in execute
for i, (img_batch, mel_batch, frames, coords) in enumerate(tqdm(gen,
File "H:\AI\sd-webui-aki\sd-webui-aki-v4.4\python\lib\site-packages\tqdm\std.py", line 1178, in iter
for obj in iterable:
File "H:\AI\sd-webui-aki\sd-webui-aki-v4.4\extensions\sd-wav2lip-uhq\scripts\wav2lip\w2l.py", line 117, in datagen
face_det_results = self.face_detect([frames[0]])
File "H:\AI\sd-webui-aki\sd-webui-aki-v4.4\extensions\sd-wav2lip-uhq\scripts\wav2lip\w2l.py", line 75, in face_detect
predictions.extend(detector.get_detections_for_batch(np.array(images[i:i + batch_size])))
File "H:\AI\sd-webui-aki\sd-webui-aki-v4.4\extensions\sd-wav2lip-uhq\scripts\wav2lip\face_detection\api.py", line 63, in get_detections_for_batch
detected_faces = self.face_detector.detect_from_batch(images.copy())
File "H:\AI\sd-webui-aki\sd-webui-aki-v4.4\extensions\sd-wav2lip-uhq\scripts\wav2lip\face_detection\detection\sfd\sfd_detector.py", line 43, in detect_from_batch
bboxlists = batch_detect(self.face_detector, images, device=self.device)
File "H:\AI\sd-webui-aki\sd-webui-aki-v4.4\extensions\sd-wav2lip-uhq\scripts\wav2lip\face_detection\detection\sfd\detect.py", line 59, in batch_detect
imgs = imgs - np.array([104, 117, 123])
TypeError: unsupported operand type(s) for -: 'NoneType' and 'int'
Installed in Autumn Leaf Launcher sd-wav2lip-uhq plug-in, but it cannot run normally, the prompt is as follows
File "H:\AI\sd-webui-aki\sd-webui-aki-v4.4\python\lib\site-packages\anyio_backends_asyncio.py", line 867, in run result = context.run(func, args) File "H:\AI\sd-webui-aki\sd-webui-aki-v4.4\python\lib\site-packages\gradio\utils.py", line 707, in wrapper response = f(args, **kwargs) File "H:\AI\sd-webui-aki\sd-webui-aki-v4.4\extensions\sd-wav2lip-uhq\scripts\ui.py", line 160, in generate w2l.execute() File "H:\AI\sd-webui-aki\sd-webui-aki-v4.4\extensions\sd-wav2lip-uhq\scripts\wav2lip\w2l.py", line 251, in execute for i, (img_batch, mel_batch, frames, coords) in enumerate(tqdm(gen, File "H:\AI\sd-webui-aki\sd-webui-aki-v4.4\python\lib\site-packages\tqdm\std.py", line 1178, in iter for obj in iterable: File "H:\AI\sd-webui-aki\sd-webui-aki-v4.4\extensions\sd-wav2lip-uhq\scripts\wav2lip\w2l.py", line 117, in datagen face_det_results = self.face_detect([frames[0]]) File "H:\AI\sd-webui-aki\sd-webui-aki-v4.4\extensions\sd-wav2lip-uhq\scripts\wav2lip\w2l.py", line 75, in face_detect predictions.extend(detector.get_detections_for_batch(np.array(images[i:i + batch_size]))) File "H:\AI\sd-webui-aki\sd-webui-aki-v4.4\extensions\sd-wav2lip-uhq\scripts\wav2lip\face_detection\api.py", line 63, in get_detections_for_batch detected_faces = self.face_detector.detect_from_batch(images.copy()) File "H:\AI\sd-webui-aki\sd-webui-aki-v4.4\extensions\sd-wav2lip-uhq\scripts\wav2lip\face_detection\detection\sfd\sfd_detector.py", line 43, in detect_from_batch bboxlists = batch_detect(self.face_detector, images, device=self.device) File "H:\AI\sd-webui-aki\sd-webui-aki-v4.4\extensions\sd-wav2lip-uhq\scripts\wav2lip\face_detection\detection\sfd\detect.py", line 59, in batch_detect imgs = imgs - np.array([104, 117, 123]) TypeError: unsupported operand type(s) for -: 'NoneType' and 'int'