Home > other >  How to convert the Tensor NDArray?
How to convert the Tensor NDArray?

Time:11-29

Def nms_bboxes (scores_pred, bboxes_pred nms_topk, nms_threshold, name) :
With tf. Name_scope (name, 'nms_bboxes' [scores_pred bboxes_pred]) :
Idxes=tf. Image. Non_max_suppression (bboxes_pred scores_pred, nms_topk, nms_threshold)
Return tf. Gather (scores_pred idxes), tf, gather (bboxes_pred idxes)

Want to scores_pred and bboxes_pred converts NDArray, using the eval () is always out of various error, should how? I am using Tensorflow1.5
  • Related