InvalidArgumentError: Value for attr 'Tindices' of float is not in the list of allowed values: int32, int64
I see that in a post from February, it’s suggested to use max_boxes_tensor instead of max_boxes, when calling tf.image.non_max_suppression, but with the latest implementation of this lab, there is no max_boxes_tensor, so I wonder what am I missing. Any suggestions are appreciated!
so
1/ for nms_indices_labels I use tf.image.non_max_suppression
2/ to nms_indices I append result of tf.gather with ‘selected_indices’ (as indices) and nms_indices_label (as params)
ha, this helped. Interesting thing, I had to switch selected_indices
and nms_indices_label in tf.gather. There is clearly something I dont understand about tf.gather
thank you for your help and happy 2025! that’s enough for 2024 for me, going to jump on the rest of the assignment tomorrow!