def __init__(self,
              prototxt_name,
              model_name,
              batch_size=1,
              max_num_proposals=60,
              output_dim=201,
              iou_thres=0.3):
     self.Net = cnn.Net(prototxt_name, model_name, batch_size)
     self.proposer = region_proposer.proposer(max_num_proposals)
     self.nms = nms.reducer(iou_thres)
     self.output_dim = output_dim
Ejemplo n.º 2
0
 def __init__(self,
              prototxt_name,
              model_name,
              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)
Ejemplo n.º 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):
     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)
Ejemplo n.º 4
0
 def __init__(self, prototxt_name, model_name, batch_size = 1, max_num_proposals = 60, output_dim = 201, iou_thres = 0.3):
     self.Net = cnn.Net(prototxt_name, model_name, batch_size)
     self.proposer = region_proposer.proposer(max_num_proposals)
     self.nms = nms.reducer(iou_thres)
     self.output_dim = output_dim
 def __init__(self, prototxt_name, model_name, 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)
Ejemplo n.º 6
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)