Created
July 28, 2018 08:10
-
-
Save vatsal-sodha/465b3cf68992fe1bc66892784c8a5192 to your computer and use it in GitHub Desktop.
grid_anchor_generator.proto
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax = "proto2"; | |
package object_detection.protos; | |
// Configuration proto for GridAnchorGenerator. See | |
// anchor_generators/grid_anchor_generator.py for details. | |
message GridAnchorGenerator { | |
// Anchor height in pixels. | |
optional int32 height = 1 [default = 256]; | |
// Anchor width in pixels. | |
optional int32 width = 2 [default = 256]; | |
// Anchor stride in height dimension in pixels. | |
optional int32 height_stride = 3 [default = 16]; | |
// Anchor stride in width dimension in pixels. | |
optional int32 width_stride = 4 [default = 16]; | |
// Anchor height offset in pixels. | |
optional int32 height_offset = 5 [default = 0]; | |
// Anchor width offset in pixels. | |
optional int32 width_offset = 6 [default = 0]; | |
// At any given location, len(scales) * len(aspect_ratios) anchors are | |
// generated with all possible combinations of scales and aspect ratios. | |
// List of scales for the anchors. | |
repeated float scales = 7; | |
// List of aspect ratios for the anchors. | |
repeated float aspect_ratios = 8; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment