MCPcopy Create free account
hub / github.com/AILab-CVC/YOLO-World / __init__

Method __init__

deploy/easydeploy/examples/numpy_coder.py:20–26  ·  view source on GitHub ↗
(self, model_type: ModelType, model_only: bool = False)

Source from the content-addressed store, hash-verified

18class Decoder:
19
20 def __init__(self, model_type: ModelType, model_only: bool = False):
21 self.model_type = model_type
22 self.model_only = model_only
23 self.boxes_pro = []
24 self.scores_pro = []
25 self.labels_pro = []
26 self.is_logging = False
27
28 def __call__(self,
29 feats: Union[List, Tuple],

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected