Week 4 Assignment: Saliency Maps

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.

1 Like

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 :blush:, so many great discussions going on.

Happy learning!

1 Like

Hi @nisarggandhewar! :wave: I moved your post to the Advanced Techniques Specialization discourse category.

1 Like

Awesome. Thanks, @yurij :raised_hands:t2:

1 Like