nejyeah opened a new issue #7394: Cannot find custom operator type 
BoxAnnotatorOHEM
URL: https://github.com/apache/incubator-mxnet/issues/7394
 
 
   Hi, I am running MXNet in the latest Docker image with GPU versions.
   I have copied the custom defined operator "BoxAnnotatorOHEM" from 
"https://github.com/msracver/FCIS"; 
   to my own project. When I run my faster RCNN model, an error occured:
   `[07:55:12] /mxnet/dmlc-core/include/dmlc/./logging.h:304: [07:55:12] 
src/operator/custom/./custom-inl.h:128: Check failed: 
registry_.find(param_.op_type) != registry_.end() Cannot find custom operator 
type BoxAnnotatorOHEM`
   
   There exists the operator register process in the  "BoxAnnotatorOHEM"  file 
as follows:
   ` 62 @mx.operator.register('BoxAnnotatorOHEM')
    63 class BoxAnnotatorOHEMProp(mx.operator.CustomOpProp):
    64     def __init__(self, num_classes, roi_per_img, cfg):
    65         super(BoxAnnotatorOHEMProp, self).__init__(need_top_grad=False)
    66         self._num_classes = int(num_classes)
    67         self._roi_per_img = int(roi_per_img)
    68         self._cfg = cPickle.loads(cfg)
   `
   I wonder what have I missed ??
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to