mxnet-ssd
mxnet-ssd copied to clipboard
How to use HARD_EXAMPLE in mxnet ssd?
Hi: I want to use HARD_EXAMPLE mining, what should I do? Does it only support MAX_NEGATIVE now?
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