Open GIT-LZL629 opened 1 year ago
Exception in thread Thread-3: Traceback (most recent call last): File "/home/cvlab/anaconda3/envs/voca/lib/python3.7/threading.py", line 926, in _bootstrap_inner self.run() File "/home/cvlab/anaconda3/envs/voca/lib/python3.7/threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "/media/cvlab/Disk/python_project/2023/voca-master/utils/voca_model.py", line 266, in _render_helper self._render_sequences_helper(video_fname, raw_audio[i_seq], processed_audio[i_seq], templates[i_seq], vertices[i_seq], condition_idx) File "/media/cvlab/Disk/python_project/2023/voca-master/utils/voca_model.py", line 300, in _render_sequences_helper add_image_text(gt_img, 'Captured data') File "/media/cvlab/Disk/python_project/2023/voca-master/utils/voca_model.py", line 275, in add_image_text cv2.putText(img, '%s' % (text), (textX, textY), font, 1, (0, 0, 255), 2, cv2.LINE_AA) cv2.error: OpenCV(4.7.0) :-1: error: (-5:Bad argument) in function 'putText'
Overload resolution failed: Layout of the output array img is incompatible with cv::Mat Expected Ptr for argument 'img'
Overload resolution failed:
Exception in thread Thread-3: Traceback (most recent call last): File "/home/cvlab/anaconda3/envs/voca/lib/python3.7/threading.py", line 926, in _bootstrap_inner self.run() File "/home/cvlab/anaconda3/envs/voca/lib/python3.7/threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "/media/cvlab/Disk/python_project/2023/voca-master/utils/voca_model.py", line 266, in _render_helper self._render_sequences_helper(video_fname, raw_audio[i_seq], processed_audio[i_seq], templates[i_seq], vertices[i_seq], condition_idx) File "/media/cvlab/Disk/python_project/2023/voca-master/utils/voca_model.py", line 300, in _render_sequences_helper add_image_text(gt_img, 'Captured data') File "/media/cvlab/Disk/python_project/2023/voca-master/utils/voca_model.py", line 275, in add_image_text cv2.putText(img, '%s' % (text), (textX, textY), font, 1, (0, 0, 255), 2, cv2.LINE_AA) cv2.error: OpenCV(4.7.0) :-1: error: (-5:Bad argument) in function 'putText'