Open DRosemei opened 6 years ago
AttributeError: module 'nets.ssd_common' has no attribute 'tf_bboxes_sort' in ssd_test input[18]
localisations = ssd.bboxes_decode(localisations, layers_anchors) tclasses, tscores, tbboxes = ssd_common.tf_ssd_bboxes_select(predictions, localisations) tclasses, tscores, tbboxes = ssd_common.tf_bboxes_sort(tclasses, tscores, tbboxes, top_k=400) tclasses, tscores, tbboxes = ssd_common.tf_bboxes_nms_batch(tclasses, tscores, tbboxes, nms_threshold=0.3, num_classes=ssd.params.num_classes)
I can't find tf_bboxes_sort and tf_bboxes_nms_batch in ssd_common.py. Besides, ssd_common.tf_ssd_bboxes_select only return two args. Could someone tell me why? @balancap
maybe you can use detected_bboxes in ssd_vgg_512.py file. As the way in eval_ssd_network.py.
those similar method can see 'nets/npmethods', but np* isn't realized in graph theory.
AttributeError: module 'nets.ssd_common' has no attribute 'tf_bboxes_sort' in ssd_test input[18]
Output decoding.
localisations = ssd.bboxes_decode(localisations, layers_anchors) tclasses, tscores, tbboxes = ssd_common.tf_ssd_bboxes_select(predictions, localisations) tclasses, tscores, tbboxes = ssd_common.tf_bboxes_sort(tclasses, tscores, tbboxes, top_k=400) tclasses, tscores, tbboxes = ssd_common.tf_bboxes_nms_batch(tclasses, tscores, tbboxes, nms_threshold=0.3, num_classes=ssd.params.num_classes)
I can't find tf_bboxes_sort and tf_bboxes_nms_batch in ssd_common.py. Besides, ssd_common.tf_ssd_bboxes_select only return two args. Could someone tell me why? @balancap