本文整理汇总了Python中maskrcnn_benchmark.modeling.registry.ROI_KEYPOINT_FEATURE_EXTRACTORS属性的典型用法代码示例。如果您正苦于以下问题:Python registry.ROI_KEYPOINT_FEATURE_EXTRACTORS属性的具体用法?Python registry.ROI_KEYPOINT_FEATURE_EXTRACTORS怎么用?Python registry.ROI_KEYPOINT_FEATURE_EXTRACTORS使用的例子?那么, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在类maskrcnn_benchmark.modeling.registry
的用法示例。
在下文中一共展示了registry.ROI_KEYPOINT_FEATURE_EXTRACTORS属性的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: make_roi_keypoint_feature_extractor
# 需要导入模块: from maskrcnn_benchmark.modeling import registry [as 别名]
# 或者: from maskrcnn_benchmark.modeling.registry import ROI_KEYPOINT_FEATURE_EXTRACTORS [as 别名]
def make_roi_keypoint_feature_extractor(cfg, in_channels):
func = registry.ROI_KEYPOINT_FEATURE_EXTRACTORS[
cfg.MODEL.ROI_KEYPOINT_HEAD.FEATURE_EXTRACTOR
]
return func(cfg, in_channels)
示例2: test_roi_keypoints_feature_extractors
# 需要导入模块: from maskrcnn_benchmark.modeling import registry [as 别名]
# 或者: from maskrcnn_benchmark.modeling.registry import ROI_KEYPOINT_FEATURE_EXTRACTORS [as 别名]
def test_roi_keypoints_feature_extractors(self):
''' Make sure roi keypoints feature extractors run '''
_test_feature_extractors(
self,
registry.ROI_KEYPOINT_FEATURE_EXTRACTORS,
FEATURE_EXTRACTORS_CFGS,
FEATURE_EXTRACTORS_INPUT_CHANNELS,
)