You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered the following issues during execution:
Traceback (most recent call last):
File "/Halo/hallo/scripts/inference.py", line 376, in
inference_process(command_line_args)
File "/Halo/hallo/scripts/inference.py", line 163, in inference_process
source_image_lip_mask = image_processor.preprocess(
File "/root/anaconda3/envs/hallo/lib/python3.10/site-packages/hallo/datasets/image_processor.py", line 124, in preprocess
faces = self.face_analysis.get(cv2.cvtColor(np.array(ref_image_pil.copy()), cv2.COLOR_RGB2BGR))
cv2.error: OpenCV(4.9.0) 👎 error: (-5:Bad argument) in function 'cvtColor'
Overload resolution failed:
src is not a numpy array, neither a scalar
Expected Ptrcv::UMat for argument 'src'
appreciate for explaination
The text was updated successfully, but these errors were encountered:
I encountered the following issues during execution:
Traceback (most recent call last):
File "/Halo/hallo/scripts/inference.py", line 376, in
inference_process(command_line_args)
File "/Halo/hallo/scripts/inference.py", line 163, in inference_process
source_image_lip_mask = image_processor.preprocess(
File "/root/anaconda3/envs/hallo/lib/python3.10/site-packages/hallo/datasets/image_processor.py", line 124, in preprocess
faces = self.face_analysis.get(cv2.cvtColor(np.array(ref_image_pil.copy()), cv2.COLOR_RGB2BGR))
cv2.error: OpenCV(4.9.0) 👎 error: (-5:Bad argument) in function 'cvtColor'
appreciate for explaination
The text was updated successfully, but these errors were encountered: