maskrcnn_benchmark的理解记录——modeling backbone resnet.py
发布时间
阅读量:
阅读量
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
"""
将cfg作为参数的resnet模块的变体。
Variant of the resnet module that takes cfg as an argument.
Example usage. Strings may be specified in the config file.
7. 注意!!!!!!可以在配置文件中指定字符串。有两种组合。
StemWithGN是指stem层用group_norm作为归一化方式,替代BN。效果会好一些
10. model = ResNet(
"StemWithFixedBatchNorm",
"BottleneckWithFixedBatchNorm",
"ResNet50StagesTo4",
)
OR:
model = ResNet(
"StemWithGN",
"BottleneckWithGN",
"ResN
全部评论 (0)
还没有任何评论哟~
