I am having trouble getting the yolo filter boxes.
I am getting scores by confidence*probs
getting the arg max of scores as classes
getting the reduce max of classes as class scores
making the filter to be scores >= threshold
applying the mask on the scores, boxes, and classes
I get the error Cannot convert 0.5 to EagerTensor of dtype int64
And if I divide box_class_scores by 100 (to get them <1 ) I get only 324 shape with
scores.shape = (324,)
boxes.shape = (324, 5, 4)
classes.shape = (324, 5)
which looks wrong. I canāt seem to see where I am going wrong based on hints and such though.
One other general point to make is that you have to be careful if you are porting your solutions forward from the previous version of the course. Note that they changed the definition the yolo_filter_boxes function as well as some other things. You need to compare carefully if thatās your situation. Just blindly copying things will not end well ā¦
This is what I am getting so I must be doing box_class_score wrong.
The hint is a bit confusing to me
Step 2: Find the box_classes using the max box_scores, keep track of the corresponding score
##(ā 2 lines)
First line is argmax to find the biggest but then I donāt know what it means by keep track of score. So I did the reduce_max for the boxclass score of the box_classes, which I am just not understanding.