def __init__(self,
              prototxt_name,
              model_name,
              usrname,
              passwd,
              batch_size=1,
              max_num_proposals=200,
              output_dim=201,
              iou_thres=0.3):
     rcnn_detector.__init__(self, prototxt_name, model_name, batch_size,
                            max_num_proposals, output_dim, iou_thres)
     self.carrier = httpapi.carrier(usrname, passwd)
Example #2
0
 def __init__(self,
              prototxt_name,
              model_name,
              usrname,
              passwd,
              batch_size=1,
              max_num_proposals=200,
              output_dim=201,
              iou_thres=0.3):
     self.proposer = region_proposer.proposer(max_num_proposals)
     self.rcnn_net = fast_rcnn_net.fast_rcnn_net(prototxt_name, model_name,
                                                 batch_size)
     self.reducer = cnms.reducer(iou_thres)
     self.carrier = httpapi.carrier(usrname, passwd)
     self.queue = Queue(8)
Example #3
0
 def __init__(self, prototxt_name, model_name, usrname, passwd, batch_size = 1, max_num_proposals = 200, output_dim = 201, iou_thres = 0.3):
     rcnn_detector.__init__(self,prototxt_name, model_name, batch_size, max_num_proposals, output_dim, iou_thres)
     self.carrier = httpapi.carrier(usrname, passwd)
 def __init__(self, prototxt_name, model_name, usrname, passwd, batch_size = 1, max_num_proposals = 200, output_dim = 201, iou_thres = 0.3):
     self.proposer = region_proposer.proposer(max_num_proposals)
     self.rcnn_net = fast_rcnn_net.fast_rcnn_net(prototxt_name, model_name, batch_size)
     self.reducer = cnms.reducer(iou_thres)
     self.carrier = httpapi.carrier(usrname, passwd)
     self.queue = Queue(8)