MCPcopy Create free account
hub / github.com/ChenhongyiYang/QueryDet-PyTorch / __init__

Method __init__

models/querydet/qinfer.py:25–37  ·  view source on GitHub ↗
(self, anchor_num, num_classes, score_th=0.12, context=2)

Source from the content-addressed store, hash-verified

23
24class QueryInfer(object):
25 def __init__(self, anchor_num, num_classes, score_th=0.12, context=2):
26
27 self.anchor_num = anchor_num
28 self.num_classes = num_classes
29 self.score_th = score_th
30 self.context = context
31
32 self.initialized = False
33 self.cls_spconv = None
34 self.bbox_spconv = None
35 self.qcls_spconv = None
36 self.qcls_conv = None
37 self.n_conv = None
38
39
40 def _make_sparse_tensor(self, query_logits, last_ys, last_xs, anchors, feature_value):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected