zhreshold / mxnet-ssd

MXNet port of SSD: Single Shot MultiBox Object Detector. Reimplementation of https://github.com/weiliu89/caffe/tree/ssd
MIT License
763 stars 339 forks source link

How to add batch priorboxes in multibox_target? #203

Closed nopattern closed 6 years ago

nopattern commented 6 years ago

hi, @zhreshold, I want to reimplement RefineNet in mxnet ,which require every batch has it's own priorboxes. So Imodified the code of multibox_target from your project . I changed the 3 files. multibox_target-inl.h multibox_target.cu multibox_target.cc as following.

multi_new.zip The change is little , and I tested it by making priorbox same in every batch. So the result should be the same as old multibox_target. But It made big difference . Can you help to see why? Thank you very much .

nopattern commented 6 years ago
  no error , Just because the input of multibox_target  is wrong . The layer implemented by Numpy dones't work proper. Thanks.