Week 3 Assignment 1 # Exercise 1 TypeError:

Has anyone faced this problem ?

When I run # BEGIN UNIT TEST checker. I am getting this error
TypeError: Cannot convert 0.5 to EagerTensor of dtype int64

The value 0.5 is the threshold. It is of the Type: float. It comes in as an input.
The problem is when we calculate:
filtering_mask = (box_class_scores >= threshold)
box_class_scores Type is ‘int64’

Any suggestions on how to solve this?

Most likely there is an error in your calculation of box_class_scores.

Thanks for the help. TMosh. I did catch the error.