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

Method init_yolo

exps/default/nano.py:24–28  ·  view source on GitHub ↗
(M)

Source from the content-addressed store, hash-verified

22 def get_model(self, sublinear=False):
23
24 def init_yolo(M):
25 for m in M.modules():
26 if isinstance(m, nn.BatchNorm2d):
27 m.eps = 1e-3
28 m.momentum = 0.03
29 if "model" not in self.__dict__:
30 from yolox.models import YOLOX, YOLOPAFPN, YOLOXHead
31 in_channels = [256, 512, 1024]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected