111111111111
好人一生平安
谢谢楼追1111111111
顶一波,好东西要支持
888888888888
0000000000
6666666666666666666666666666666666666666
6666666666666
66666666666666
66666666666666666
给哈哈哈哈哈哈哈哈
好东西!!!!
dsdsdsddsdsdfsdfsdfsdgsdgs
rrrrrrttrtttttttttttt
慕名而来,感谢分享。
况风格随机人头像补丁
111111111111111
57b1谢谢哥g
1111111111111111111111111111111111111111
def get_model(self, sublinear=False):
def init_yolo(M):
for m in M.modules():
if isinstance(m, nn.BatchNorm2d):
m.eps = 1e-3
m.momentum = 0.03
if "model" not in self.__dict__:
from yolox.models import YOLOX, YOLOPAFPN, YOLOXHead
in_channels =
# NANO model use depthwise = True, which is main difference.
backbone = YOLOPAFPN(
self.depth, self.width, in_channels=in_channels,
act=self.act, depthwise=True,
)
head = YOLOXHead(
self.num_classes, self.width, in_channels=in_channels,
act=self.act, depthwise=True
)
self.model = YOLOX(backbone, head)
self.model.apply(init_yolo)
self.model.head.initialize_biases(1e-2)
return self.model