MCPcopy Create free account
hub / github.com/FoundationVision/ByteTrack / forward

Method forward

yolox/models/darknet.py:82–94  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

80 return m
81
82 def forward(self, x):
83 outputs = {}
84 x = self.stem(x)
85 outputs["stem"] = x
86 x = self.dark2(x)
87 outputs["dark2"] = x
88 x = self.dark3(x)
89 outputs["dark3"] = x
90 x = self.dark4(x)
91 outputs["dark4"] = x
92 x = self.dark5(x)
93 outputs["dark5"] = x
94 return {k: v for k, v in outputs.items() if k in self.out_features}
95
96
97class CSPDarknet(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected