I am getting error TypeError: Expected Ptrcv::UMat for argument ‘%s’
in statement
image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)
while calling
do_salience(‘cat1.jpg’, model, 0, “salient”) statement.
kindly suggest how to overcome this error.
I am getting error TypeError: Expected Ptrcv::UMat for argument ‘%s’
in statement
image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)
while calling
do_salience(‘cat1.jpg’, model, 0, “salient”) statement.
kindly suggest how to overcome this error.
Hi @nisarggandhewar,
Saliency maps seems to be from the TensorFlow: Advanced Techniques Specialization in course 3 (Advanced Computer Vision).
Feel free to ask the question there. And check out what’s else is happening in your course room , so many great discussions going on.
Happy learning!
Hi @nisarggandhewar! I moved your post to the Advanced Techniques Specialization discourse category.
Awesome. Thanks, @yurij