Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem of training voca #113

Open
GIT-LZL629 opened this issue Jan 2, 2023 · 0 comments
Open

Problem of training voca #113

GIT-LZL629 opened this issue Jan 2, 2023 · 0 comments

Comments

@GIT-LZL629
Copy link

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) 👎 error: (-5:Bad argument) in function 'putText'

Overload resolution failed:

  • Layout of the output array img is incompatible with cv::Mat
  • Expected Ptrcv::UMat for argument 'img'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant