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

Method forward

yolox/deepsort_tracker/reid_model.py:37–45  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

35 self.is_downsample = True
36
37 def forward(self, x):
38 y = self.conv1(x)
39 y = self.bn1(y)
40 y = self.relu(y)
41 y = self.conv2(y)
42 y = self.bn2(y)
43 if self.is_downsample:
44 x = self.downsample(x)
45 return F.relu(x.add(y), True)
46
47
48def make_layers(c_in, c_out, repeat_times, is_downsample=False):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected