mxnet-ssd icon indicating copy to clipboard operation
mxnet-ssd copied to clipboard

How to use HARD_EXAMPLE in mxnet ssd?

Open zt706 opened this issue 7 years ago • 1 comments

Hi: I want to use HARD_EXAMPLE mining, what should I do? Does it only support MAX_NEGATIVE now?

zt706 avatar Nov 21 '17 10:11 zt706

Look at symbol/symbol_builder.py it calls the next function which is the answer for all your questions


mx.contrib.symbol.MultiBoxTarget( *[anchor_boxes, label, cls_preds], overlap_threshold=.5,
ignore_label=-1, negative_mining_ratio=3, minimum_negative_samples=0,
negative_mining_thresh=.5, variances=(0.1, 0.1, 0.2, 0.2), name="multibox_target")


You can see the documentation here: http://mxnet.incubator.apache.org/api/python/symbol/contrib.html#mxnet.symbol.contrib.MultiBoxDetection

davsol avatar Nov 22 '17 19:11 davsol