def hourglass_104(channel_means, channel_stds, bgr_ordering): """The Hourglass-104 backbone for CenterNet.""" network = hourglass_network.hourglass_104() return CenterNetHourglassFeatureExtractor( network, channel_means=channel_means, channel_stds=channel_stds, bgr_ordering=bgr_ordering)
def hourglass_104(channel_means, channel_stds, bgr_ordering): """The Hourglass-104 backbone for CenterNet.""" # TODO(vighneshb): update hourglass_104 signature to match with other # hourglass networks. network = hourglass_network.hourglass_104() return CenterNetHourglassFeatureExtractor( network, channel_means=channel_means, channel_stds=channel_stds, bgr_ordering=bgr_ordering)
def test_hourglass_104(self): net = hourglass.hourglass_104() self.assertEqual(hourglass.hourglass_depth(net), 104)