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

Method forward

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

Source from the content-addressed store, hash-verified

165 )
166
167 def forward(self, x):
168 outputs = {}
169 x = self.stem(x)
170 outputs["stem"] = x
171 x = self.dark2(x)
172 outputs["dark2"] = x
173 x = self.dark3(x)
174 outputs["dark3"] = x
175 x = self.dark4(x)
176 outputs["dark4"] = x
177 x = self.dark5(x)
178 outputs["dark5"] = x
179 return {k: v for k, v in outputs.items() if k in self.out_features}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected