MCPcopy Create free account
hub / github.com/Yang-Li-2000/Touch-Line-Transformer / __init__

Method __init__

models/mdetr.py:77–171  ·  view source on GitHub ↗

Initializes the model. Args: backbone: torch module of the backbone to be used. See backbone.py transformer: torch module of the transformer architecture. See transformer.py num_classes: number of object classes num_queries: number of object q

(
            self,
            backbone,
            transformer,
            num_classes,
            num_queries,
            aux_loss=False,
            contrastive_hdim=64,
            contrastive_loss=False,
            contrastive_align_loss=False,
            qa_dataset: Optional[str] = None,
            split_qa_heads=True,
            predict_final=False,
            yourefit=False,
            pose=True
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 6

MLPClass · 0.85
TransformerEncoderClass · 0.70
__init__Method · 0.45
appendMethod · 0.45

Tested by

no test coverage detected