Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
bb16d5ca
Commit
bb16d5ca
authored
Jul 11, 2020
by
Kaushik Shivakumar
Browse files
add protos
parent
ec50c261
Changes
34
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
6469 additions
and
0 deletions
+6469
-0
research/object_detection/protos/anchor_generator_pb2.py
research/object_detection/protos/anchor_generator_pb2.py
+114
-0
research/object_detection/protos/argmax_matcher_pb2.py
research/object_detection/protos/argmax_matcher_pb2.py
+104
-0
research/object_detection/protos/bipartite_matcher_pb2.py
research/object_detection/protos/bipartite_matcher_pb2.py
+69
-0
research/object_detection/protos/box_coder_pb2.py
research/object_detection/protos/box_coder_pb2.py
+114
-0
research/object_detection/protos/box_predictor_pb2.py
research/object_detection/protos/box_predictor_pb2.py
+678
-0
research/object_detection/protos/calibration_pb2.py
research/object_detection/protos/calibration_pb2.py
+589
-0
research/object_detection/protos/center_net_pb2.py
research/object_detection/protos/center_net_pb2.py
+606
-0
research/object_detection/protos/eval_pb2.py
research/object_detection/protos/eval_pb2.py
+458
-0
research/object_detection/protos/faster_rcnn_box_coder_pb2.py
...arch/object_detection/protos/faster_rcnn_box_coder_pb2.py
+90
-0
research/object_detection/protos/faster_rcnn_pb2.py
research/object_detection/protos/faster_rcnn_pb2.py
+478
-0
research/object_detection/protos/flexible_grid_anchor_generator_pb2.py
...ct_detection/protos/flexible_grid_anchor_generator_pb2.py
+151
-0
research/object_detection/protos/graph_rewriter_pb2.py
research/object_detection/protos/graph_rewriter_pb2.py
+130
-0
research/object_detection/protos/grid_anchor_generator_pb2.py
...arch/object_detection/protos/grid_anchor_generator_pb2.py
+118
-0
research/object_detection/protos/hyperparams_pb2.py
research/object_detection/protos/hyperparams_pb2.py
+665
-0
research/object_detection/protos/image_resizer_pb2.py
research/object_detection/protos/image_resizer_pb2.py
+461
-0
research/object_detection/protos/input_reader_pb2.py
research/object_detection/protos/input_reader_pb2.py
+429
-0
research/object_detection/protos/keypoint_box_coder_pb2.py
research/object_detection/protos/keypoint_box_coder_pb2.py
+97
-0
research/object_detection/protos/losses_pb2.py
research/object_detection/protos/losses_pb2.py
+959
-0
research/object_detection/protos/matcher_pb2.py
research/object_detection/protos/matcher_pb2.py
+90
-0
research/object_detection/protos/mean_stddev_box_coder_pb2.py
...arch/object_detection/protos/mean_stddev_box_coder_pb2.py
+69
-0
No files found.
research/object_detection/protos/anchor_generator_pb2.py
0 → 100644
View file @
bb16d5ca
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: object_detection/protos/anchor_generator.proto
import
sys
_b
=
sys
.
version_info
[
0
]
<
3
and
(
lambda
x
:
x
)
or
(
lambda
x
:
x
.
encode
(
'latin1'
))
from
google.protobuf
import
descriptor
as
_descriptor
from
google.protobuf
import
message
as
_message
from
google.protobuf
import
reflection
as
_reflection
from
google.protobuf
import
symbol_database
as
_symbol_database
from
google.protobuf
import
descriptor_pb2
# @@protoc_insertion_point(imports)
_sym_db
=
_symbol_database
.
Default
()
from
object_detection.protos
import
flexible_grid_anchor_generator_pb2
as
object__detection_dot_protos_dot_flexible__grid__anchor__generator__pb2
from
object_detection.protos
import
grid_anchor_generator_pb2
as
object__detection_dot_protos_dot_grid__anchor__generator__pb2
from
object_detection.protos
import
multiscale_anchor_generator_pb2
as
object__detection_dot_protos_dot_multiscale__anchor__generator__pb2
from
object_detection.protos
import
ssd_anchor_generator_pb2
as
object__detection_dot_protos_dot_ssd__anchor__generator__pb2
DESCRIPTOR
=
_descriptor
.
FileDescriptor
(
name
=
'object_detection/protos/anchor_generator.proto'
,
package
=
'object_detection.protos'
,
syntax
=
'proto2'
,
serialized_pb
=
_b
(
'
\n
.object_detection/protos/anchor_generator.proto
\x12\x17
object_detection.protos
\x1a
<object_detection/protos/flexible_grid_anchor_generator.proto
\x1a\x33
object_detection/protos/grid_anchor_generator.proto
\x1a\x39
object_detection/protos/multiscale_anchor_generator.proto
\x1a\x32
object_detection/protos/ssd_anchor_generator.proto
\"\x82\x03\n\x0f\x41
nchorGenerator
\x12
M
\n\x15
grid_anchor_generator
\x18\x01
\x01
(
\x0b\x32
,.object_detection.protos.GridAnchorGeneratorH
\x00\x12
K
\n\x14
ssd_anchor_generator
\x18\x02
\x01
(
\x0b\x32
+.object_detection.protos.SsdAnchorGeneratorH
\x00\x12
Y
\n\x1b
multiscale_anchor_generator
\x18\x03
\x01
(
\x0b\x32\x32
.object_detection.protos.MultiscaleAnchorGeneratorH
\x00\x12
^
\n\x1e\x66
lexible_grid_anchor_generator
\x18\x04
\x01
(
\x0b\x32\x34
.object_detection.protos.FlexibleGridAnchorGeneratorH
\x00\x42\x18\n\x16\x61
nchor_generator_oneof'
)
,
dependencies
=
[
object__detection_dot_protos_dot_flexible__grid__anchor__generator__pb2
.
DESCRIPTOR
,
object__detection_dot_protos_dot_grid__anchor__generator__pb2
.
DESCRIPTOR
,
object__detection_dot_protos_dot_multiscale__anchor__generator__pb2
.
DESCRIPTOR
,
object__detection_dot_protos_dot_ssd__anchor__generator__pb2
.
DESCRIPTOR
,])
_sym_db
.
RegisterFileDescriptor
(
DESCRIPTOR
)
_ANCHORGENERATOR
=
_descriptor
.
Descriptor
(
name
=
'AnchorGenerator'
,
full_name
=
'object_detection.protos.AnchorGenerator'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'grid_anchor_generator'
,
full_name
=
'object_detection.protos.AnchorGenerator.grid_anchor_generator'
,
index
=
0
,
number
=
1
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'ssd_anchor_generator'
,
full_name
=
'object_detection.protos.AnchorGenerator.ssd_anchor_generator'
,
index
=
1
,
number
=
2
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'multiscale_anchor_generator'
,
full_name
=
'object_detection.protos.AnchorGenerator.multiscale_anchor_generator'
,
index
=
2
,
number
=
3
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'flexible_grid_anchor_generator'
,
full_name
=
'object_detection.protos.AnchorGenerator.flexible_grid_anchor_generator'
,
index
=
3
,
number
=
4
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
_descriptor
.
OneofDescriptor
(
name
=
'anchor_generator_oneof'
,
full_name
=
'object_detection.protos.AnchorGenerator.anchor_generator_oneof'
,
index
=
0
,
containing_type
=
None
,
fields
=
[]),
],
serialized_start
=
302
,
serialized_end
=
688
,
)
_ANCHORGENERATOR
.
fields_by_name
[
'grid_anchor_generator'
].
message_type
=
object__detection_dot_protos_dot_grid__anchor__generator__pb2
.
_GRIDANCHORGENERATOR
_ANCHORGENERATOR
.
fields_by_name
[
'ssd_anchor_generator'
].
message_type
=
object__detection_dot_protos_dot_ssd__anchor__generator__pb2
.
_SSDANCHORGENERATOR
_ANCHORGENERATOR
.
fields_by_name
[
'multiscale_anchor_generator'
].
message_type
=
object__detection_dot_protos_dot_multiscale__anchor__generator__pb2
.
_MULTISCALEANCHORGENERATOR
_ANCHORGENERATOR
.
fields_by_name
[
'flexible_grid_anchor_generator'
].
message_type
=
object__detection_dot_protos_dot_flexible__grid__anchor__generator__pb2
.
_FLEXIBLEGRIDANCHORGENERATOR
_ANCHORGENERATOR
.
oneofs_by_name
[
'anchor_generator_oneof'
].
fields
.
append
(
_ANCHORGENERATOR
.
fields_by_name
[
'grid_anchor_generator'
])
_ANCHORGENERATOR
.
fields_by_name
[
'grid_anchor_generator'
].
containing_oneof
=
_ANCHORGENERATOR
.
oneofs_by_name
[
'anchor_generator_oneof'
]
_ANCHORGENERATOR
.
oneofs_by_name
[
'anchor_generator_oneof'
].
fields
.
append
(
_ANCHORGENERATOR
.
fields_by_name
[
'ssd_anchor_generator'
])
_ANCHORGENERATOR
.
fields_by_name
[
'ssd_anchor_generator'
].
containing_oneof
=
_ANCHORGENERATOR
.
oneofs_by_name
[
'anchor_generator_oneof'
]
_ANCHORGENERATOR
.
oneofs_by_name
[
'anchor_generator_oneof'
].
fields
.
append
(
_ANCHORGENERATOR
.
fields_by_name
[
'multiscale_anchor_generator'
])
_ANCHORGENERATOR
.
fields_by_name
[
'multiscale_anchor_generator'
].
containing_oneof
=
_ANCHORGENERATOR
.
oneofs_by_name
[
'anchor_generator_oneof'
]
_ANCHORGENERATOR
.
oneofs_by_name
[
'anchor_generator_oneof'
].
fields
.
append
(
_ANCHORGENERATOR
.
fields_by_name
[
'flexible_grid_anchor_generator'
])
_ANCHORGENERATOR
.
fields_by_name
[
'flexible_grid_anchor_generator'
].
containing_oneof
=
_ANCHORGENERATOR
.
oneofs_by_name
[
'anchor_generator_oneof'
]
DESCRIPTOR
.
message_types_by_name
[
'AnchorGenerator'
]
=
_ANCHORGENERATOR
AnchorGenerator
=
_reflection
.
GeneratedProtocolMessageType
(
'AnchorGenerator'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_ANCHORGENERATOR
,
__module__
=
'object_detection.protos.anchor_generator_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.AnchorGenerator)
))
_sym_db
.
RegisterMessage
(
AnchorGenerator
)
# @@protoc_insertion_point(module_scope)
research/object_detection/protos/argmax_matcher_pb2.py
0 → 100644
View file @
bb16d5ca
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: object_detection/protos/argmax_matcher.proto
import
sys
_b
=
sys
.
version_info
[
0
]
<
3
and
(
lambda
x
:
x
)
or
(
lambda
x
:
x
.
encode
(
'latin1'
))
from
google.protobuf
import
descriptor
as
_descriptor
from
google.protobuf
import
message
as
_message
from
google.protobuf
import
reflection
as
_reflection
from
google.protobuf
import
symbol_database
as
_symbol_database
from
google.protobuf
import
descriptor_pb2
# @@protoc_insertion_point(imports)
_sym_db
=
_symbol_database
.
Default
()
DESCRIPTOR
=
_descriptor
.
FileDescriptor
(
name
=
'object_detection/protos/argmax_matcher.proto'
,
package
=
'object_detection.protos'
,
syntax
=
'proto2'
,
serialized_pb
=
_b
(
'
\n
,object_detection/protos/argmax_matcher.proto
\x12\x17
object_detection.protos
\"\xec\x01\n\r
ArgMaxMatcher
\x12\x1e\n\x11
matched_threshold
\x18\x01
\x01
(
\x02
:
\x03\x30
.5
\x12
\n\x13
unmatched_threshold
\x18\x02
\x01
(
\x02
:
\x03\x30
.5
\x12
\n\x11
ignore_thresholds
\x18\x03
\x01
(
\x08
:
\x05\x66\x61
lse
\x12
,
\n\x1e
negatives_lower_than_unmatched
\x18\x04
\x01
(
\x08
:
\x04
true
\x12\'\n\x18\x66
orce_match_for_each_row
\x18\x05
\x01
(
\x08
:
\x05\x66\x61
lse
\x12
\n\x11
use_matmul_gather
\x18\x06
\x01
(
\x08
:
\x05\x66\x61
lse'
)
)
_sym_db
.
RegisterFileDescriptor
(
DESCRIPTOR
)
_ARGMAXMATCHER
=
_descriptor
.
Descriptor
(
name
=
'ArgMaxMatcher'
,
full_name
=
'object_detection.protos.ArgMaxMatcher'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'matched_threshold'
,
full_name
=
'object_detection.protos.ArgMaxMatcher.matched_threshold'
,
index
=
0
,
number
=
1
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
0.5
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'unmatched_threshold'
,
full_name
=
'object_detection.protos.ArgMaxMatcher.unmatched_threshold'
,
index
=
1
,
number
=
2
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
0.5
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'ignore_thresholds'
,
full_name
=
'object_detection.protos.ArgMaxMatcher.ignore_thresholds'
,
index
=
2
,
number
=
3
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'negatives_lower_than_unmatched'
,
full_name
=
'object_detection.protos.ArgMaxMatcher.negatives_lower_than_unmatched'
,
index
=
3
,
number
=
4
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
True
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'force_match_for_each_row'
,
full_name
=
'object_detection.protos.ArgMaxMatcher.force_match_for_each_row'
,
index
=
4
,
number
=
5
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'use_matmul_gather'
,
full_name
=
'object_detection.protos.ArgMaxMatcher.use_matmul_gather'
,
index
=
5
,
number
=
6
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
74
,
serialized_end
=
310
,
)
DESCRIPTOR
.
message_types_by_name
[
'ArgMaxMatcher'
]
=
_ARGMAXMATCHER
ArgMaxMatcher
=
_reflection
.
GeneratedProtocolMessageType
(
'ArgMaxMatcher'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_ARGMAXMATCHER
,
__module__
=
'object_detection.protos.argmax_matcher_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.ArgMaxMatcher)
))
_sym_db
.
RegisterMessage
(
ArgMaxMatcher
)
# @@protoc_insertion_point(module_scope)
research/object_detection/protos/bipartite_matcher_pb2.py
0 → 100644
View file @
bb16d5ca
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: object_detection/protos/bipartite_matcher.proto
import
sys
_b
=
sys
.
version_info
[
0
]
<
3
and
(
lambda
x
:
x
)
or
(
lambda
x
:
x
.
encode
(
'latin1'
))
from
google.protobuf
import
descriptor
as
_descriptor
from
google.protobuf
import
message
as
_message
from
google.protobuf
import
reflection
as
_reflection
from
google.protobuf
import
symbol_database
as
_symbol_database
from
google.protobuf
import
descriptor_pb2
# @@protoc_insertion_point(imports)
_sym_db
=
_symbol_database
.
Default
()
DESCRIPTOR
=
_descriptor
.
FileDescriptor
(
name
=
'object_detection/protos/bipartite_matcher.proto'
,
package
=
'object_detection.protos'
,
syntax
=
'proto2'
,
serialized_pb
=
_b
(
'
\n
/object_detection/protos/bipartite_matcher.proto
\x12\x17
object_detection.protos
\"
4
\n\x10\x42
ipartiteMatcher
\x12
\n\x11
use_matmul_gather
\x18\x06
\x01
(
\x08
:
\x05\x66\x61
lse'
)
)
_sym_db
.
RegisterFileDescriptor
(
DESCRIPTOR
)
_BIPARTITEMATCHER
=
_descriptor
.
Descriptor
(
name
=
'BipartiteMatcher'
,
full_name
=
'object_detection.protos.BipartiteMatcher'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'use_matmul_gather'
,
full_name
=
'object_detection.protos.BipartiteMatcher.use_matmul_gather'
,
index
=
0
,
number
=
6
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
76
,
serialized_end
=
128
,
)
DESCRIPTOR
.
message_types_by_name
[
'BipartiteMatcher'
]
=
_BIPARTITEMATCHER
BipartiteMatcher
=
_reflection
.
GeneratedProtocolMessageType
(
'BipartiteMatcher'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_BIPARTITEMATCHER
,
__module__
=
'object_detection.protos.bipartite_matcher_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.BipartiteMatcher)
))
_sym_db
.
RegisterMessage
(
BipartiteMatcher
)
# @@protoc_insertion_point(module_scope)
research/object_detection/protos/box_coder_pb2.py
0 → 100644
View file @
bb16d5ca
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: object_detection/protos/box_coder.proto
import
sys
_b
=
sys
.
version_info
[
0
]
<
3
and
(
lambda
x
:
x
)
or
(
lambda
x
:
x
.
encode
(
'latin1'
))
from
google.protobuf
import
descriptor
as
_descriptor
from
google.protobuf
import
message
as
_message
from
google.protobuf
import
reflection
as
_reflection
from
google.protobuf
import
symbol_database
as
_symbol_database
from
google.protobuf
import
descriptor_pb2
# @@protoc_insertion_point(imports)
_sym_db
=
_symbol_database
.
Default
()
from
object_detection.protos
import
faster_rcnn_box_coder_pb2
as
object__detection_dot_protos_dot_faster__rcnn__box__coder__pb2
from
object_detection.protos
import
keypoint_box_coder_pb2
as
object__detection_dot_protos_dot_keypoint__box__coder__pb2
from
object_detection.protos
import
mean_stddev_box_coder_pb2
as
object__detection_dot_protos_dot_mean__stddev__box__coder__pb2
from
object_detection.protos
import
square_box_coder_pb2
as
object__detection_dot_protos_dot_square__box__coder__pb2
DESCRIPTOR
=
_descriptor
.
FileDescriptor
(
name
=
'object_detection/protos/box_coder.proto'
,
package
=
'object_detection.protos'
,
syntax
=
'proto2'
,
serialized_pb
=
_b
(
'
\n\'
object_detection/protos/box_coder.proto
\x12\x17
object_detection.protos
\x1a\x33
object_detection/protos/faster_rcnn_box_coder.proto
\x1a\x30
object_detection/protos/keypoint_box_coder.proto
\x1a\x33
object_detection/protos/mean_stddev_box_coder.proto
\x1a
.object_detection/protos/square_box_coder.proto
\"\xc7\x02\n\x08\x42
oxCoder
\x12
L
\n\x15\x66\x61
ster_rcnn_box_coder
\x18\x01
\x01
(
\x0b\x32
+.object_detection.protos.FasterRcnnBoxCoderH
\x00\x12
L
\n\x15
mean_stddev_box_coder
\x18\x02
\x01
(
\x0b\x32
+.object_detection.protos.MeanStddevBoxCoderH
\x00\x12\x43\n\x10
square_box_coder
\x18\x03
\x01
(
\x0b\x32\'
.object_detection.protos.SquareBoxCoderH
\x00\x12
G
\n\x12
keypoint_box_coder
\x18\x04
\x01
(
\x0b\x32
).object_detection.protos.KeypointBoxCoderH
\x00\x42\x11\n\x0f\x62
ox_coder_oneof'
)
,
dependencies
=
[
object__detection_dot_protos_dot_faster__rcnn__box__coder__pb2
.
DESCRIPTOR
,
object__detection_dot_protos_dot_keypoint__box__coder__pb2
.
DESCRIPTOR
,
object__detection_dot_protos_dot_mean__stddev__box__coder__pb2
.
DESCRIPTOR
,
object__detection_dot_protos_dot_square__box__coder__pb2
.
DESCRIPTOR
,])
_sym_db
.
RegisterFileDescriptor
(
DESCRIPTOR
)
_BOXCODER
=
_descriptor
.
Descriptor
(
name
=
'BoxCoder'
,
full_name
=
'object_detection.protos.BoxCoder'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'faster_rcnn_box_coder'
,
full_name
=
'object_detection.protos.BoxCoder.faster_rcnn_box_coder'
,
index
=
0
,
number
=
1
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'mean_stddev_box_coder'
,
full_name
=
'object_detection.protos.BoxCoder.mean_stddev_box_coder'
,
index
=
1
,
number
=
2
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'square_box_coder'
,
full_name
=
'object_detection.protos.BoxCoder.square_box_coder'
,
index
=
2
,
number
=
3
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'keypoint_box_coder'
,
full_name
=
'object_detection.protos.BoxCoder.keypoint_box_coder'
,
index
=
3
,
number
=
4
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
_descriptor
.
OneofDescriptor
(
name
=
'box_coder_oneof'
,
full_name
=
'object_detection.protos.BoxCoder.box_coder_oneof'
,
index
=
0
,
containing_type
=
None
,
fields
=
[]),
],
serialized_start
=
273
,
serialized_end
=
600
,
)
_BOXCODER
.
fields_by_name
[
'faster_rcnn_box_coder'
].
message_type
=
object__detection_dot_protos_dot_faster__rcnn__box__coder__pb2
.
_FASTERRCNNBOXCODER
_BOXCODER
.
fields_by_name
[
'mean_stddev_box_coder'
].
message_type
=
object__detection_dot_protos_dot_mean__stddev__box__coder__pb2
.
_MEANSTDDEVBOXCODER
_BOXCODER
.
fields_by_name
[
'square_box_coder'
].
message_type
=
object__detection_dot_protos_dot_square__box__coder__pb2
.
_SQUAREBOXCODER
_BOXCODER
.
fields_by_name
[
'keypoint_box_coder'
].
message_type
=
object__detection_dot_protos_dot_keypoint__box__coder__pb2
.
_KEYPOINTBOXCODER
_BOXCODER
.
oneofs_by_name
[
'box_coder_oneof'
].
fields
.
append
(
_BOXCODER
.
fields_by_name
[
'faster_rcnn_box_coder'
])
_BOXCODER
.
fields_by_name
[
'faster_rcnn_box_coder'
].
containing_oneof
=
_BOXCODER
.
oneofs_by_name
[
'box_coder_oneof'
]
_BOXCODER
.
oneofs_by_name
[
'box_coder_oneof'
].
fields
.
append
(
_BOXCODER
.
fields_by_name
[
'mean_stddev_box_coder'
])
_BOXCODER
.
fields_by_name
[
'mean_stddev_box_coder'
].
containing_oneof
=
_BOXCODER
.
oneofs_by_name
[
'box_coder_oneof'
]
_BOXCODER
.
oneofs_by_name
[
'box_coder_oneof'
].
fields
.
append
(
_BOXCODER
.
fields_by_name
[
'square_box_coder'
])
_BOXCODER
.
fields_by_name
[
'square_box_coder'
].
containing_oneof
=
_BOXCODER
.
oneofs_by_name
[
'box_coder_oneof'
]
_BOXCODER
.
oneofs_by_name
[
'box_coder_oneof'
].
fields
.
append
(
_BOXCODER
.
fields_by_name
[
'keypoint_box_coder'
])
_BOXCODER
.
fields_by_name
[
'keypoint_box_coder'
].
containing_oneof
=
_BOXCODER
.
oneofs_by_name
[
'box_coder_oneof'
]
DESCRIPTOR
.
message_types_by_name
[
'BoxCoder'
]
=
_BOXCODER
BoxCoder
=
_reflection
.
GeneratedProtocolMessageType
(
'BoxCoder'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_BOXCODER
,
__module__
=
'object_detection.protos.box_coder_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.BoxCoder)
))
_sym_db
.
RegisterMessage
(
BoxCoder
)
# @@protoc_insertion_point(module_scope)
research/object_detection/protos/box_predictor_pb2.py
0 → 100644
View file @
bb16d5ca
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: object_detection/protos/box_predictor.proto
import
sys
_b
=
sys
.
version_info
[
0
]
<
3
and
(
lambda
x
:
x
)
or
(
lambda
x
:
x
.
encode
(
'latin1'
))
from
google.protobuf
import
descriptor
as
_descriptor
from
google.protobuf
import
message
as
_message
from
google.protobuf
import
reflection
as
_reflection
from
google.protobuf
import
symbol_database
as
_symbol_database
from
google.protobuf
import
descriptor_pb2
# @@protoc_insertion_point(imports)
_sym_db
=
_symbol_database
.
Default
()
from
object_detection.protos
import
hyperparams_pb2
as
object__detection_dot_protos_dot_hyperparams__pb2
DESCRIPTOR
=
_descriptor
.
FileDescriptor
(
name
=
'object_detection/protos/box_predictor.proto'
,
package
=
'object_detection.protos'
,
syntax
=
'proto2'
,
serialized_pb
=
_b
(
'
\n
+object_detection/protos/box_predictor.proto
\x12\x17
object_detection.protos
\x1a
)object_detection/protos/hyperparams.proto
\"\x90\x03\n\x0c\x42
oxPredictor
\x12
Y
\n\x1b\x63
onvolutional_box_predictor
\x18\x01
\x01
(
\x0b\x32\x32
.object_detection.protos.ConvolutionalBoxPredictorH
\x00\x12
P
\n\x17
mask_rcnn_box_predictor
\x18\x02
\x01
(
\x0b\x32
-.object_detection.protos.MaskRCNNBoxPredictorH
\x00\x12
G
\n\x12
rfcn_box_predictor
\x18\x03
\x01
(
\x0b\x32
).object_detection.protos.RfcnBoxPredictorH
\x00\x12
s
\n
)weight_shared_convolutional_box_predictor
\x18\x04
\x01
(
\x0b\x32
>.object_detection.protos.WeightSharedConvolutionalBoxPredictorH
\x00\x42\x15\n\x13\x62
ox_predictor_oneof
\"\xaf\x04\n\x19\x43
onvolutionalBoxPredictor
\x12
>
\n\x10\x63
onv_hyperparams
\x18\x01
\x01
(
\x0b\x32
$.object_detection.protos.Hyperparams
\x12\x14\n\t
min_depth
\x18\x02
\x01
(
\x05
:
\x01\x30\x12\x14\n\t
max_depth
\x18\x03
\x01
(
\x05
:
\x01\x30\x12
&
\n\x1b
num_layers_before_predictor
\x18\x04
\x01
(
\x05
:
\x01\x30\x12\x19\n\x0b
use_dropout
\x18\x05
\x01
(
\x08
:
\x04
true
\x12
%
\n\x18\x64
ropout_keep_probability
\x18\x06
\x01
(
\x02
:
\x03\x30
.8
\x12\x16\n\x0b
kernel_size
\x18\x07
\x01
(
\x05
:
\x01\x31\x12\x18\n\r
box_code_size
\x18\x08
\x01
(
\x05
:
\x01\x34\x12
&
\n\x17\x61
pply_sigmoid_to_scores
\x18\t
\x01
(
\x08
:
\x05\x66\x61
lse
\x12
%
\n\x1a\x63
lass_prediction_bias_init
\x18\n
\x01
(
\x02
:
\x01\x30\x12\x1c\n\r
use_depthwise
\x18\x0b
\x01
(
\x08
:
\x05\x66\x61
lse
\x12
j
\n\x18\x62
ox_encodings_clip_range
\x18\x0c
\x01
(
\x0b\x32
H.object_detection.protos.ConvolutionalBoxPredictor.BoxEncodingsClipRange
\x1a\x31\n\x15\x42
oxEncodingsClipRange
\x12\x0b\n\x03
min
\x18\x01
\x01
(
\x02\x12\x0b\n\x03
max
\x18\x02
\x01
(
\x02\"\xcc\x05\n
%WeightSharedConvolutionalBoxPredictor
\x12
>
\n\x10\x63
onv_hyperparams
\x18\x01
\x01
(
\x0b\x32
$.object_detection.protos.Hyperparams
\x12
&
\n\x1b
num_layers_before_predictor
\x18\x04
\x01
(
\x05
:
\x01\x30\x12\x10\n\x05\x64\x65
pth
\x18\x02
\x01
(
\x05
:
\x01\x30\x12\x16\n\x0b
kernel_size
\x18\x07
\x01
(
\x05
:
\x01\x33\x12\x18\n\r
box_code_size
\x18\x08
\x01
(
\x05
:
\x01\x34\x12
%
\n\x1a\x63
lass_prediction_bias_init
\x18\n
\x01
(
\x02
:
\x01\x30\x12\x1a\n\x0b
use_dropout
\x18\x0b
\x01
(
\x08
:
\x05\x66\x61
lse
\x12
%
\n\x18\x64
ropout_keep_probability
\x18\x0c
\x01
(
\x02
:
\x03\x30
.8
\x12
%
\n\x16
share_prediction_tower
\x18\r
\x01
(
\x08
:
\x05\x66\x61
lse
\x12\x1c\n\r
use_depthwise
\x18\x0e
\x01
(
\x08
:
\x05\x66\x61
lse
\x12
p
\n\x0f
score_converter
\x18\x10
\x01
(
\x0e\x32
M.object_detection.protos.WeightSharedConvolutionalBoxPredictor.ScoreConverter:
\x08
IDENTITY
\x12
v
\n\x18\x62
ox_encodings_clip_range
\x18\x11
\x01
(
\x0b\x32
T.object_detection.protos.WeightSharedConvolutionalBoxPredictor.BoxEncodingsClipRange
\x1a\x31\n\x15\x42
oxEncodingsClipRange
\x12\x0b\n\x03
min
\x18\x01
\x01
(
\x02\x12\x0b\n\x03
max
\x18\x02
\x01
(
\x02\"
+
\n\x0e
ScoreConverter
\x12\x0c\n\x08
IDENTITY
\x10\x00\x12\x0b\n\x07
SIGMOID
\x10\x01\"\xbf\x04\n\x14
MaskRCNNBoxPredictor
\x12
<
\n\x0e\x66\x63
_hyperparams
\x18\x01
\x01
(
\x0b\x32
$.object_detection.protos.Hyperparams
\x12\x1a\n\x0b
use_dropout
\x18\x02
\x01
(
\x08
:
\x05\x66\x61
lse
\x12
%
\n\x18\x64
ropout_keep_probability
\x18\x03
\x01
(
\x02
:
\x03\x30
.5
\x12\x18\n\r
box_code_size
\x18\x04
\x01
(
\x05
:
\x01\x34\x12
>
\n\x10\x63
onv_hyperparams
\x18\x05
\x01
(
\x0b\x32
$.object_detection.protos.Hyperparams
\x12
%
\n\x16
predict_instance_masks
\x18\x06
\x01
(
\x08
:
\x05\x66\x61
lse
\x12\'\n\x1a
mask_prediction_conv_depth
\x18\x07
\x01
(
\x05
:
\x03\x32\x35\x36\x12
\n\x11
predict_keypoints
\x18\x08
\x01
(
\x08
:
\x05\x66\x61
lse
\x12\x17\n\x0b
mask_height
\x18\t
\x01
(
\x05
:
\x02\x31\x35\x12\x16\n\n
mask_width
\x18\n
\x01
(
\x05
:
\x02\x31\x35\x12
*
\n\x1f
mask_prediction_num_conv_layers
\x18\x0b
\x01
(
\x05
:
\x01\x32\x12\'\n\x18
masks_are_class_agnostic
\x18\x0c
\x01
(
\x08
:
\x05\x66\x61
lse
\x12\'\n\x18
share_box_across_classes
\x18\r
\x01
(
\x08
:
\x05\x66\x61
lse
\x12
+
\n\x1c\x63
onvolve_then_upsample_masks
\x18\x0e
\x01
(
\x08
:
\x05\x66\x61
lse
\"\xf9\x01\n\x10
RfcnBoxPredictor
\x12
>
\n\x10\x63
onv_hyperparams
\x18\x01
\x01
(
\x0b\x32
$.object_detection.protos.Hyperparams
\x12\"\n\x17
num_spatial_bins_height
\x18\x02
\x01
(
\x05
:
\x01\x33\x12
!
\n\x16
num_spatial_bins_width
\x18\x03
\x01
(
\x05
:
\x01\x33\x12\x13\n\x05\x64\x65
pth
\x18\x04
\x01
(
\x05
:
\x04\x31\x30\x32\x34\x12\x18\n\r
box_code_size
\x18\x05
\x01
(
\x05
:
\x01\x34\x12\x17\n\x0b\x63
rop_height
\x18\x06
\x01
(
\x05
:
\x02\x31\x32\x12\x16\n\n
crop_width
\x18\x07
\x01
(
\x05
:
\x02\x31\x32
'
)
,
dependencies
=
[
object__detection_dot_protos_dot_hyperparams__pb2
.
DESCRIPTOR
,])
_sym_db
.
RegisterFileDescriptor
(
DESCRIPTOR
)
_WEIGHTSHAREDCONVOLUTIONALBOXPREDICTOR_SCORECONVERTER
=
_descriptor
.
EnumDescriptor
(
name
=
'ScoreConverter'
,
full_name
=
'object_detection.protos.WeightSharedConvolutionalBoxPredictor.ScoreConverter'
,
filename
=
None
,
file
=
DESCRIPTOR
,
values
=
[
_descriptor
.
EnumValueDescriptor
(
name
=
'IDENTITY'
,
index
=
0
,
number
=
0
,
options
=
None
,
type
=
None
),
_descriptor
.
EnumValueDescriptor
(
name
=
'SIGMOID'
,
index
=
1
,
number
=
1
,
options
=
None
,
type
=
None
),
],
containing_type
=
None
,
options
=
None
,
serialized_start
=
1754
,
serialized_end
=
1797
,
)
_sym_db
.
RegisterEnumDescriptor
(
_WEIGHTSHAREDCONVOLUTIONALBOXPREDICTOR_SCORECONVERTER
)
_BOXPREDICTOR
=
_descriptor
.
Descriptor
(
name
=
'BoxPredictor'
,
full_name
=
'object_detection.protos.BoxPredictor'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'convolutional_box_predictor'
,
full_name
=
'object_detection.protos.BoxPredictor.convolutional_box_predictor'
,
index
=
0
,
number
=
1
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'mask_rcnn_box_predictor'
,
full_name
=
'object_detection.protos.BoxPredictor.mask_rcnn_box_predictor'
,
index
=
1
,
number
=
2
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'rfcn_box_predictor'
,
full_name
=
'object_detection.protos.BoxPredictor.rfcn_box_predictor'
,
index
=
2
,
number
=
3
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'weight_shared_convolutional_box_predictor'
,
full_name
=
'object_detection.protos.BoxPredictor.weight_shared_convolutional_box_predictor'
,
index
=
3
,
number
=
4
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
_descriptor
.
OneofDescriptor
(
name
=
'box_predictor_oneof'
,
full_name
=
'object_detection.protos.BoxPredictor.box_predictor_oneof'
,
index
=
0
,
containing_type
=
None
,
fields
=
[]),
],
serialized_start
=
116
,
serialized_end
=
516
,
)
_CONVOLUTIONALBOXPREDICTOR_BOXENCODINGSCLIPRANGE
=
_descriptor
.
Descriptor
(
name
=
'BoxEncodingsClipRange'
,
full_name
=
'object_detection.protos.ConvolutionalBoxPredictor.BoxEncodingsClipRange'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'min'
,
full_name
=
'object_detection.protos.ConvolutionalBoxPredictor.BoxEncodingsClipRange.min'
,
index
=
0
,
number
=
1
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
False
,
default_value
=
float
(
0
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'max'
,
full_name
=
'object_detection.protos.ConvolutionalBoxPredictor.BoxEncodingsClipRange.max'
,
index
=
1
,
number
=
2
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
False
,
default_value
=
float
(
0
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1029
,
serialized_end
=
1078
,
)
_CONVOLUTIONALBOXPREDICTOR
=
_descriptor
.
Descriptor
(
name
=
'ConvolutionalBoxPredictor'
,
full_name
=
'object_detection.protos.ConvolutionalBoxPredictor'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'conv_hyperparams'
,
full_name
=
'object_detection.protos.ConvolutionalBoxPredictor.conv_hyperparams'
,
index
=
0
,
number
=
1
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'min_depth'
,
full_name
=
'object_detection.protos.ConvolutionalBoxPredictor.min_depth'
,
index
=
1
,
number
=
2
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'max_depth'
,
full_name
=
'object_detection.protos.ConvolutionalBoxPredictor.max_depth'
,
index
=
2
,
number
=
3
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'num_layers_before_predictor'
,
full_name
=
'object_detection.protos.ConvolutionalBoxPredictor.num_layers_before_predictor'
,
index
=
3
,
number
=
4
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'use_dropout'
,
full_name
=
'object_detection.protos.ConvolutionalBoxPredictor.use_dropout'
,
index
=
4
,
number
=
5
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
True
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'dropout_keep_probability'
,
full_name
=
'object_detection.protos.ConvolutionalBoxPredictor.dropout_keep_probability'
,
index
=
5
,
number
=
6
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
0.8
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'kernel_size'
,
full_name
=
'object_detection.protos.ConvolutionalBoxPredictor.kernel_size'
,
index
=
6
,
number
=
7
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
1
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'box_code_size'
,
full_name
=
'object_detection.protos.ConvolutionalBoxPredictor.box_code_size'
,
index
=
7
,
number
=
8
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
4
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'apply_sigmoid_to_scores'
,
full_name
=
'object_detection.protos.ConvolutionalBoxPredictor.apply_sigmoid_to_scores'
,
index
=
8
,
number
=
9
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'class_prediction_bias_init'
,
full_name
=
'object_detection.protos.ConvolutionalBoxPredictor.class_prediction_bias_init'
,
index
=
9
,
number
=
10
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
0
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'use_depthwise'
,
full_name
=
'object_detection.protos.ConvolutionalBoxPredictor.use_depthwise'
,
index
=
10
,
number
=
11
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'box_encodings_clip_range'
,
full_name
=
'object_detection.protos.ConvolutionalBoxPredictor.box_encodings_clip_range'
,
index
=
11
,
number
=
12
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[
_CONVOLUTIONALBOXPREDICTOR_BOXENCODINGSCLIPRANGE
,
],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
519
,
serialized_end
=
1078
,
)
_WEIGHTSHAREDCONVOLUTIONALBOXPREDICTOR_BOXENCODINGSCLIPRANGE
=
_descriptor
.
Descriptor
(
name
=
'BoxEncodingsClipRange'
,
full_name
=
'object_detection.protos.WeightSharedConvolutionalBoxPredictor.BoxEncodingsClipRange'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'min'
,
full_name
=
'object_detection.protos.WeightSharedConvolutionalBoxPredictor.BoxEncodingsClipRange.min'
,
index
=
0
,
number
=
1
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
False
,
default_value
=
float
(
0
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'max'
,
full_name
=
'object_detection.protos.WeightSharedConvolutionalBoxPredictor.BoxEncodingsClipRange.max'
,
index
=
1
,
number
=
2
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
False
,
default_value
=
float
(
0
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1029
,
serialized_end
=
1078
,
)
_WEIGHTSHAREDCONVOLUTIONALBOXPREDICTOR
=
_descriptor
.
Descriptor
(
name
=
'WeightSharedConvolutionalBoxPredictor'
,
full_name
=
'object_detection.protos.WeightSharedConvolutionalBoxPredictor'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'conv_hyperparams'
,
full_name
=
'object_detection.protos.WeightSharedConvolutionalBoxPredictor.conv_hyperparams'
,
index
=
0
,
number
=
1
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'num_layers_before_predictor'
,
full_name
=
'object_detection.protos.WeightSharedConvolutionalBoxPredictor.num_layers_before_predictor'
,
index
=
1
,
number
=
4
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'depth'
,
full_name
=
'object_detection.protos.WeightSharedConvolutionalBoxPredictor.depth'
,
index
=
2
,
number
=
2
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'kernel_size'
,
full_name
=
'object_detection.protos.WeightSharedConvolutionalBoxPredictor.kernel_size'
,
index
=
3
,
number
=
7
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
3
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'box_code_size'
,
full_name
=
'object_detection.protos.WeightSharedConvolutionalBoxPredictor.box_code_size'
,
index
=
4
,
number
=
8
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
4
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'class_prediction_bias_init'
,
full_name
=
'object_detection.protos.WeightSharedConvolutionalBoxPredictor.class_prediction_bias_init'
,
index
=
5
,
number
=
10
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
0
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'use_dropout'
,
full_name
=
'object_detection.protos.WeightSharedConvolutionalBoxPredictor.use_dropout'
,
index
=
6
,
number
=
11
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'dropout_keep_probability'
,
full_name
=
'object_detection.protos.WeightSharedConvolutionalBoxPredictor.dropout_keep_probability'
,
index
=
7
,
number
=
12
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
0.8
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'share_prediction_tower'
,
full_name
=
'object_detection.protos.WeightSharedConvolutionalBoxPredictor.share_prediction_tower'
,
index
=
8
,
number
=
13
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'use_depthwise'
,
full_name
=
'object_detection.protos.WeightSharedConvolutionalBoxPredictor.use_depthwise'
,
index
=
9
,
number
=
14
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'score_converter'
,
full_name
=
'object_detection.protos.WeightSharedConvolutionalBoxPredictor.score_converter'
,
index
=
10
,
number
=
16
,
type
=
14
,
cpp_type
=
8
,
label
=
1
,
has_default_value
=
True
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'box_encodings_clip_range'
,
full_name
=
'object_detection.protos.WeightSharedConvolutionalBoxPredictor.box_encodings_clip_range'
,
index
=
11
,
number
=
17
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[
_WEIGHTSHAREDCONVOLUTIONALBOXPREDICTOR_BOXENCODINGSCLIPRANGE
,
],
enum_types
=
[
_WEIGHTSHAREDCONVOLUTIONALBOXPREDICTOR_SCORECONVERTER
,
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1081
,
serialized_end
=
1797
,
)
_MASKRCNNBOXPREDICTOR
=
_descriptor
.
Descriptor
(
name
=
'MaskRCNNBoxPredictor'
,
full_name
=
'object_detection.protos.MaskRCNNBoxPredictor'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'fc_hyperparams'
,
full_name
=
'object_detection.protos.MaskRCNNBoxPredictor.fc_hyperparams'
,
index
=
0
,
number
=
1
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'use_dropout'
,
full_name
=
'object_detection.protos.MaskRCNNBoxPredictor.use_dropout'
,
index
=
1
,
number
=
2
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'dropout_keep_probability'
,
full_name
=
'object_detection.protos.MaskRCNNBoxPredictor.dropout_keep_probability'
,
index
=
2
,
number
=
3
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
0.5
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'box_code_size'
,
full_name
=
'object_detection.protos.MaskRCNNBoxPredictor.box_code_size'
,
index
=
3
,
number
=
4
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
4
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'conv_hyperparams'
,
full_name
=
'object_detection.protos.MaskRCNNBoxPredictor.conv_hyperparams'
,
index
=
4
,
number
=
5
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'predict_instance_masks'
,
full_name
=
'object_detection.protos.MaskRCNNBoxPredictor.predict_instance_masks'
,
index
=
5
,
number
=
6
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'mask_prediction_conv_depth'
,
full_name
=
'object_detection.protos.MaskRCNNBoxPredictor.mask_prediction_conv_depth'
,
index
=
6
,
number
=
7
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
256
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'predict_keypoints'
,
full_name
=
'object_detection.protos.MaskRCNNBoxPredictor.predict_keypoints'
,
index
=
7
,
number
=
8
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'mask_height'
,
full_name
=
'object_detection.protos.MaskRCNNBoxPredictor.mask_height'
,
index
=
8
,
number
=
9
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
15
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'mask_width'
,
full_name
=
'object_detection.protos.MaskRCNNBoxPredictor.mask_width'
,
index
=
9
,
number
=
10
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
15
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'mask_prediction_num_conv_layers'
,
full_name
=
'object_detection.protos.MaskRCNNBoxPredictor.mask_prediction_num_conv_layers'
,
index
=
10
,
number
=
11
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
2
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'masks_are_class_agnostic'
,
full_name
=
'object_detection.protos.MaskRCNNBoxPredictor.masks_are_class_agnostic'
,
index
=
11
,
number
=
12
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'share_box_across_classes'
,
full_name
=
'object_detection.protos.MaskRCNNBoxPredictor.share_box_across_classes'
,
index
=
12
,
number
=
13
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'convolve_then_upsample_masks'
,
full_name
=
'object_detection.protos.MaskRCNNBoxPredictor.convolve_then_upsample_masks'
,
index
=
13
,
number
=
14
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1800
,
serialized_end
=
2375
,
)
_RFCNBOXPREDICTOR
=
_descriptor
.
Descriptor
(
name
=
'RfcnBoxPredictor'
,
full_name
=
'object_detection.protos.RfcnBoxPredictor'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'conv_hyperparams'
,
full_name
=
'object_detection.protos.RfcnBoxPredictor.conv_hyperparams'
,
index
=
0
,
number
=
1
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'num_spatial_bins_height'
,
full_name
=
'object_detection.protos.RfcnBoxPredictor.num_spatial_bins_height'
,
index
=
1
,
number
=
2
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
3
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'num_spatial_bins_width'
,
full_name
=
'object_detection.protos.RfcnBoxPredictor.num_spatial_bins_width'
,
index
=
2
,
number
=
3
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
3
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'depth'
,
full_name
=
'object_detection.protos.RfcnBoxPredictor.depth'
,
index
=
3
,
number
=
4
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
1024
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'box_code_size'
,
full_name
=
'object_detection.protos.RfcnBoxPredictor.box_code_size'
,
index
=
4
,
number
=
5
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
4
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'crop_height'
,
full_name
=
'object_detection.protos.RfcnBoxPredictor.crop_height'
,
index
=
5
,
number
=
6
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
12
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'crop_width'
,
full_name
=
'object_detection.protos.RfcnBoxPredictor.crop_width'
,
index
=
6
,
number
=
7
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
12
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
2378
,
serialized_end
=
2627
,
)
_BOXPREDICTOR
.
fields_by_name
[
'convolutional_box_predictor'
].
message_type
=
_CONVOLUTIONALBOXPREDICTOR
_BOXPREDICTOR
.
fields_by_name
[
'mask_rcnn_box_predictor'
].
message_type
=
_MASKRCNNBOXPREDICTOR
_BOXPREDICTOR
.
fields_by_name
[
'rfcn_box_predictor'
].
message_type
=
_RFCNBOXPREDICTOR
_BOXPREDICTOR
.
fields_by_name
[
'weight_shared_convolutional_box_predictor'
].
message_type
=
_WEIGHTSHAREDCONVOLUTIONALBOXPREDICTOR
_BOXPREDICTOR
.
oneofs_by_name
[
'box_predictor_oneof'
].
fields
.
append
(
_BOXPREDICTOR
.
fields_by_name
[
'convolutional_box_predictor'
])
_BOXPREDICTOR
.
fields_by_name
[
'convolutional_box_predictor'
].
containing_oneof
=
_BOXPREDICTOR
.
oneofs_by_name
[
'box_predictor_oneof'
]
_BOXPREDICTOR
.
oneofs_by_name
[
'box_predictor_oneof'
].
fields
.
append
(
_BOXPREDICTOR
.
fields_by_name
[
'mask_rcnn_box_predictor'
])
_BOXPREDICTOR
.
fields_by_name
[
'mask_rcnn_box_predictor'
].
containing_oneof
=
_BOXPREDICTOR
.
oneofs_by_name
[
'box_predictor_oneof'
]
_BOXPREDICTOR
.
oneofs_by_name
[
'box_predictor_oneof'
].
fields
.
append
(
_BOXPREDICTOR
.
fields_by_name
[
'rfcn_box_predictor'
])
_BOXPREDICTOR
.
fields_by_name
[
'rfcn_box_predictor'
].
containing_oneof
=
_BOXPREDICTOR
.
oneofs_by_name
[
'box_predictor_oneof'
]
_BOXPREDICTOR
.
oneofs_by_name
[
'box_predictor_oneof'
].
fields
.
append
(
_BOXPREDICTOR
.
fields_by_name
[
'weight_shared_convolutional_box_predictor'
])
_BOXPREDICTOR
.
fields_by_name
[
'weight_shared_convolutional_box_predictor'
].
containing_oneof
=
_BOXPREDICTOR
.
oneofs_by_name
[
'box_predictor_oneof'
]
_CONVOLUTIONALBOXPREDICTOR_BOXENCODINGSCLIPRANGE
.
containing_type
=
_CONVOLUTIONALBOXPREDICTOR
_CONVOLUTIONALBOXPREDICTOR
.
fields_by_name
[
'conv_hyperparams'
].
message_type
=
object__detection_dot_protos_dot_hyperparams__pb2
.
_HYPERPARAMS
_CONVOLUTIONALBOXPREDICTOR
.
fields_by_name
[
'box_encodings_clip_range'
].
message_type
=
_CONVOLUTIONALBOXPREDICTOR_BOXENCODINGSCLIPRANGE
_WEIGHTSHAREDCONVOLUTIONALBOXPREDICTOR_BOXENCODINGSCLIPRANGE
.
containing_type
=
_WEIGHTSHAREDCONVOLUTIONALBOXPREDICTOR
_WEIGHTSHAREDCONVOLUTIONALBOXPREDICTOR
.
fields_by_name
[
'conv_hyperparams'
].
message_type
=
object__detection_dot_protos_dot_hyperparams__pb2
.
_HYPERPARAMS
_WEIGHTSHAREDCONVOLUTIONALBOXPREDICTOR
.
fields_by_name
[
'score_converter'
].
enum_type
=
_WEIGHTSHAREDCONVOLUTIONALBOXPREDICTOR_SCORECONVERTER
_WEIGHTSHAREDCONVOLUTIONALBOXPREDICTOR
.
fields_by_name
[
'box_encodings_clip_range'
].
message_type
=
_WEIGHTSHAREDCONVOLUTIONALBOXPREDICTOR_BOXENCODINGSCLIPRANGE
_WEIGHTSHAREDCONVOLUTIONALBOXPREDICTOR_SCORECONVERTER
.
containing_type
=
_WEIGHTSHAREDCONVOLUTIONALBOXPREDICTOR
_MASKRCNNBOXPREDICTOR
.
fields_by_name
[
'fc_hyperparams'
].
message_type
=
object__detection_dot_protos_dot_hyperparams__pb2
.
_HYPERPARAMS
_MASKRCNNBOXPREDICTOR
.
fields_by_name
[
'conv_hyperparams'
].
message_type
=
object__detection_dot_protos_dot_hyperparams__pb2
.
_HYPERPARAMS
_RFCNBOXPREDICTOR
.
fields_by_name
[
'conv_hyperparams'
].
message_type
=
object__detection_dot_protos_dot_hyperparams__pb2
.
_HYPERPARAMS
DESCRIPTOR
.
message_types_by_name
[
'BoxPredictor'
]
=
_BOXPREDICTOR
DESCRIPTOR
.
message_types_by_name
[
'ConvolutionalBoxPredictor'
]
=
_CONVOLUTIONALBOXPREDICTOR
DESCRIPTOR
.
message_types_by_name
[
'WeightSharedConvolutionalBoxPredictor'
]
=
_WEIGHTSHAREDCONVOLUTIONALBOXPREDICTOR
DESCRIPTOR
.
message_types_by_name
[
'MaskRCNNBoxPredictor'
]
=
_MASKRCNNBOXPREDICTOR
DESCRIPTOR
.
message_types_by_name
[
'RfcnBoxPredictor'
]
=
_RFCNBOXPREDICTOR
BoxPredictor
=
_reflection
.
GeneratedProtocolMessageType
(
'BoxPredictor'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_BOXPREDICTOR
,
__module__
=
'object_detection.protos.box_predictor_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.BoxPredictor)
))
_sym_db
.
RegisterMessage
(
BoxPredictor
)
ConvolutionalBoxPredictor
=
_reflection
.
GeneratedProtocolMessageType
(
'ConvolutionalBoxPredictor'
,
(
_message
.
Message
,),
dict
(
BoxEncodingsClipRange
=
_reflection
.
GeneratedProtocolMessageType
(
'BoxEncodingsClipRange'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_CONVOLUTIONALBOXPREDICTOR_BOXENCODINGSCLIPRANGE
,
__module__
=
'object_detection.protos.box_predictor_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.ConvolutionalBoxPredictor.BoxEncodingsClipRange)
))
,
DESCRIPTOR
=
_CONVOLUTIONALBOXPREDICTOR
,
__module__
=
'object_detection.protos.box_predictor_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.ConvolutionalBoxPredictor)
))
_sym_db
.
RegisterMessage
(
ConvolutionalBoxPredictor
)
_sym_db
.
RegisterMessage
(
ConvolutionalBoxPredictor
.
BoxEncodingsClipRange
)
WeightSharedConvolutionalBoxPredictor
=
_reflection
.
GeneratedProtocolMessageType
(
'WeightSharedConvolutionalBoxPredictor'
,
(
_message
.
Message
,),
dict
(
BoxEncodingsClipRange
=
_reflection
.
GeneratedProtocolMessageType
(
'BoxEncodingsClipRange'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_WEIGHTSHAREDCONVOLUTIONALBOXPREDICTOR_BOXENCODINGSCLIPRANGE
,
__module__
=
'object_detection.protos.box_predictor_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.WeightSharedConvolutionalBoxPredictor.BoxEncodingsClipRange)
))
,
DESCRIPTOR
=
_WEIGHTSHAREDCONVOLUTIONALBOXPREDICTOR
,
__module__
=
'object_detection.protos.box_predictor_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.WeightSharedConvolutionalBoxPredictor)
))
_sym_db
.
RegisterMessage
(
WeightSharedConvolutionalBoxPredictor
)
_sym_db
.
RegisterMessage
(
WeightSharedConvolutionalBoxPredictor
.
BoxEncodingsClipRange
)
MaskRCNNBoxPredictor
=
_reflection
.
GeneratedProtocolMessageType
(
'MaskRCNNBoxPredictor'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_MASKRCNNBOXPREDICTOR
,
__module__
=
'object_detection.protos.box_predictor_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.MaskRCNNBoxPredictor)
))
_sym_db
.
RegisterMessage
(
MaskRCNNBoxPredictor
)
RfcnBoxPredictor
=
_reflection
.
GeneratedProtocolMessageType
(
'RfcnBoxPredictor'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_RFCNBOXPREDICTOR
,
__module__
=
'object_detection.protos.box_predictor_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.RfcnBoxPredictor)
))
_sym_db
.
RegisterMessage
(
RfcnBoxPredictor
)
# @@protoc_insertion_point(module_scope)
research/object_detection/protos/calibration_pb2.py
0 → 100644
View file @
bb16d5ca
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: object_detection/protos/calibration.proto
import
sys
_b
=
sys
.
version_info
[
0
]
<
3
and
(
lambda
x
:
x
)
or
(
lambda
x
:
x
.
encode
(
'latin1'
))
from
google.protobuf.internal
import
enum_type_wrapper
from
google.protobuf
import
descriptor
as
_descriptor
from
google.protobuf
import
message
as
_message
from
google.protobuf
import
reflection
as
_reflection
from
google.protobuf
import
symbol_database
as
_symbol_database
from
google.protobuf
import
descriptor_pb2
# @@protoc_insertion_point(imports)
_sym_db
=
_symbol_database
.
Default
()
DESCRIPTOR
=
_descriptor
.
FileDescriptor
(
name
=
'object_detection/protos/calibration.proto'
,
package
=
'object_detection.protos'
,
syntax
=
'proto2'
,
serialized_pb
=
_b
(
'
\n
)object_detection/protos/calibration.proto
\x12\x17
object_detection.protos
\"\xe4\x03\n\x11\x43\x61
librationConfig
\x12
P
\n\x16\x66
unction_approximation
\x18\x01
\x01
(
\x0b\x32
..object_detection.protos.FunctionApproximationH
\x00\x12\x62\n
class_id_function_approximations
\x18\x02
\x01
(
\x0b\x32\x36
.object_detection.protos.ClassIdFunctionApproximationsH
\x00\x12
J
\n\x13
sigmoid_calibration
\x18\x03
\x01
(
\x0b\x32
+.object_detection.protos.SigmoidCalibrationH
\x00\x12\\\n\x1d\x63
lass_id_sigmoid_calibrations
\x18\x04
\x01
(
\x0b\x32\x33
.object_detection.protos.ClassIdSigmoidCalibrationsH
\x00\x12\x61\n\x1f
temperature_scaling_calibration
\x18\x05
\x01
(
\x0b\x32\x36
.object_detection.protos.TemperatureScalingCalibrationH
\x00\x42\x0c\n\n
calibrator
\"
L
\n\x15\x46
unctionApproximation
\x12\x33\n\t
x_y_pairs
\x18\x01
\x01
(
\x0b\x32
.object_detection.protos.XYPairs
\"\xe9\x01\n\x1d\x43
lassIdFunctionApproximations
\x12
l
\n\x15\x63
lass_id_xy_pairs_map
\x18\x01
\x03
(
\x0b\x32
M.object_detection.protos.ClassIdFunctionApproximations.ClassIdXyPairsMapEntry
\x1a
Z
\n\x16\x43
lassIdXyPairsMapEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\x05\x12
/
\n\x05
value
\x18\x02
\x01
(
\x0b\x32
.object_detection.protos.XYPairs:
\x02\x38\x01\"\\\n\x12
SigmoidCalibration
\x12\x46\n\x12
sigmoid_parameters
\x18\x01
\x01
(
\x0b\x32
*.object_detection.protos.SigmoidParameters
\"\x8b\x02\n\x1a\x43
lassIdSigmoidCalibrations
\x12
}
\n\x1f\x63
lass_id_sigmoid_parameters_map
\x18\x01
\x03
(
\x0b\x32
T.object_detection.protos.ClassIdSigmoidCalibrations.ClassIdSigmoidParametersMapEntry
\x1a
n
\n
ClassIdSigmoidParametersMapEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\x05\x12\x39\n\x05
value
\x18\x02
\x01
(
\x0b\x32
*.object_detection.protos.SigmoidParameters:
\x02\x38\x01\"
/
\n\x1d
TemperatureScalingCalibration
\x12\x0e\n\x06
scaler
\x18\x01
\x01
(
\x02\"\xab\x01\n\x07
XYPairs
\x12\x39\n\x08
x_y_pair
\x18\x01
\x03
(
\x0b\x32\'
.object_detection.protos.XYPairs.XYPair
\x12\x45\n\x12
training_data_type
\x18\x02
\x01
(
\x0e\x32
).object_detection.protos.TrainingDataType
\x1a\x1e\n\x06
XYPair
\x12\t\n\x01
x
\x18\x01
\x01
(
\x02\x12\t\n\x01
y
\x18\x02
\x01
(
\x02\"
0
\n\x11
SigmoidParameters
\x12\r\n\x01\x61\x18\x01
\x01
(
\x02
:
\x02
-1
\x12\x0c\n\x01\x62\x18\x02
\x01
(
\x02
:
\x01\x30
*N
\n\x10
TrainingDataType
\x12\x15\n\x11\x44\x41
TA_TYPE_UNKNOWN
\x10\x00\x12\x0f\n\x0b\x41
LL_CLASSES
\x10\x01\x12\x12\n\x0e\x43
LASS_SPECIFIC
\x10\x02
'
)
)
_sym_db
.
RegisterFileDescriptor
(
DESCRIPTOR
)
_TRAININGDATATYPE
=
_descriptor
.
EnumDescriptor
(
name
=
'TrainingDataType'
,
full_name
=
'object_detection.protos.TrainingDataType'
,
filename
=
None
,
file
=
DESCRIPTOR
,
values
=
[
_descriptor
.
EnumValueDescriptor
(
name
=
'DATA_TYPE_UNKNOWN'
,
index
=
0
,
number
=
0
,
options
=
None
,
type
=
None
),
_descriptor
.
EnumValueDescriptor
(
name
=
'ALL_CLASSES'
,
index
=
1
,
number
=
1
,
options
=
None
,
type
=
None
),
_descriptor
.
EnumValueDescriptor
(
name
=
'CLASS_SPECIFIC'
,
index
=
2
,
number
=
2
,
options
=
None
,
type
=
None
),
],
containing_type
=
None
,
options
=
None
,
serialized_start
=
1508
,
serialized_end
=
1586
,
)
_sym_db
.
RegisterEnumDescriptor
(
_TRAININGDATATYPE
)
TrainingDataType
=
enum_type_wrapper
.
EnumTypeWrapper
(
_TRAININGDATATYPE
)
DATA_TYPE_UNKNOWN
=
0
ALL_CLASSES
=
1
CLASS_SPECIFIC
=
2
_CALIBRATIONCONFIG
=
_descriptor
.
Descriptor
(
name
=
'CalibrationConfig'
,
full_name
=
'object_detection.protos.CalibrationConfig'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'function_approximation'
,
full_name
=
'object_detection.protos.CalibrationConfig.function_approximation'
,
index
=
0
,
number
=
1
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'class_id_function_approximations'
,
full_name
=
'object_detection.protos.CalibrationConfig.class_id_function_approximations'
,
index
=
1
,
number
=
2
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'sigmoid_calibration'
,
full_name
=
'object_detection.protos.CalibrationConfig.sigmoid_calibration'
,
index
=
2
,
number
=
3
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'class_id_sigmoid_calibrations'
,
full_name
=
'object_detection.protos.CalibrationConfig.class_id_sigmoid_calibrations'
,
index
=
3
,
number
=
4
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'temperature_scaling_calibration'
,
full_name
=
'object_detection.protos.CalibrationConfig.temperature_scaling_calibration'
,
index
=
4
,
number
=
5
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
_descriptor
.
OneofDescriptor
(
name
=
'calibrator'
,
full_name
=
'object_detection.protos.CalibrationConfig.calibrator'
,
index
=
0
,
containing_type
=
None
,
fields
=
[]),
],
serialized_start
=
71
,
serialized_end
=
555
,
)
_FUNCTIONAPPROXIMATION
=
_descriptor
.
Descriptor
(
name
=
'FunctionApproximation'
,
full_name
=
'object_detection.protos.FunctionApproximation'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'x_y_pairs'
,
full_name
=
'object_detection.protos.FunctionApproximation.x_y_pairs'
,
index
=
0
,
number
=
1
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
557
,
serialized_end
=
633
,
)
_CLASSIDFUNCTIONAPPROXIMATIONS_CLASSIDXYPAIRSMAPENTRY
=
_descriptor
.
Descriptor
(
name
=
'ClassIdXyPairsMapEntry'
,
full_name
=
'object_detection.protos.ClassIdFunctionApproximations.ClassIdXyPairsMapEntry'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'key'
,
full_name
=
'object_detection.protos.ClassIdFunctionApproximations.ClassIdXyPairsMapEntry.key'
,
index
=
0
,
number
=
1
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'value'
,
full_name
=
'object_detection.protos.ClassIdFunctionApproximations.ClassIdXyPairsMapEntry.value'
,
index
=
1
,
number
=
2
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
_descriptor
.
_ParseOptions
(
descriptor_pb2
.
MessageOptions
(),
_b
(
'8
\001
'
)),
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
779
,
serialized_end
=
869
,
)
_CLASSIDFUNCTIONAPPROXIMATIONS
=
_descriptor
.
Descriptor
(
name
=
'ClassIdFunctionApproximations'
,
full_name
=
'object_detection.protos.ClassIdFunctionApproximations'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'class_id_xy_pairs_map'
,
full_name
=
'object_detection.protos.ClassIdFunctionApproximations.class_id_xy_pairs_map'
,
index
=
0
,
number
=
1
,
type
=
11
,
cpp_type
=
10
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[
_CLASSIDFUNCTIONAPPROXIMATIONS_CLASSIDXYPAIRSMAPENTRY
,
],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
636
,
serialized_end
=
869
,
)
_SIGMOIDCALIBRATION
=
_descriptor
.
Descriptor
(
name
=
'SigmoidCalibration'
,
full_name
=
'object_detection.protos.SigmoidCalibration'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'sigmoid_parameters'
,
full_name
=
'object_detection.protos.SigmoidCalibration.sigmoid_parameters'
,
index
=
0
,
number
=
1
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
871
,
serialized_end
=
963
,
)
_CLASSIDSIGMOIDCALIBRATIONS_CLASSIDSIGMOIDPARAMETERSMAPENTRY
=
_descriptor
.
Descriptor
(
name
=
'ClassIdSigmoidParametersMapEntry'
,
full_name
=
'object_detection.protos.ClassIdSigmoidCalibrations.ClassIdSigmoidParametersMapEntry'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'key'
,
full_name
=
'object_detection.protos.ClassIdSigmoidCalibrations.ClassIdSigmoidParametersMapEntry.key'
,
index
=
0
,
number
=
1
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'value'
,
full_name
=
'object_detection.protos.ClassIdSigmoidCalibrations.ClassIdSigmoidParametersMapEntry.value'
,
index
=
1
,
number
=
2
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
_descriptor
.
_ParseOptions
(
descriptor_pb2
.
MessageOptions
(),
_b
(
'8
\001
'
)),
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1123
,
serialized_end
=
1233
,
)
_CLASSIDSIGMOIDCALIBRATIONS
=
_descriptor
.
Descriptor
(
name
=
'ClassIdSigmoidCalibrations'
,
full_name
=
'object_detection.protos.ClassIdSigmoidCalibrations'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'class_id_sigmoid_parameters_map'
,
full_name
=
'object_detection.protos.ClassIdSigmoidCalibrations.class_id_sigmoid_parameters_map'
,
index
=
0
,
number
=
1
,
type
=
11
,
cpp_type
=
10
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[
_CLASSIDSIGMOIDCALIBRATIONS_CLASSIDSIGMOIDPARAMETERSMAPENTRY
,
],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
966
,
serialized_end
=
1233
,
)
_TEMPERATURESCALINGCALIBRATION
=
_descriptor
.
Descriptor
(
name
=
'TemperatureScalingCalibration'
,
full_name
=
'object_detection.protos.TemperatureScalingCalibration'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'scaler'
,
full_name
=
'object_detection.protos.TemperatureScalingCalibration.scaler'
,
index
=
0
,
number
=
1
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
False
,
default_value
=
float
(
0
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1235
,
serialized_end
=
1282
,
)
_XYPAIRS_XYPAIR
=
_descriptor
.
Descriptor
(
name
=
'XYPair'
,
full_name
=
'object_detection.protos.XYPairs.XYPair'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'x'
,
full_name
=
'object_detection.protos.XYPairs.XYPair.x'
,
index
=
0
,
number
=
1
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
False
,
default_value
=
float
(
0
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'y'
,
full_name
=
'object_detection.protos.XYPairs.XYPair.y'
,
index
=
1
,
number
=
2
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
False
,
default_value
=
float
(
0
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1426
,
serialized_end
=
1456
,
)
_XYPAIRS
=
_descriptor
.
Descriptor
(
name
=
'XYPairs'
,
full_name
=
'object_detection.protos.XYPairs'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'x_y_pair'
,
full_name
=
'object_detection.protos.XYPairs.x_y_pair'
,
index
=
0
,
number
=
1
,
type
=
11
,
cpp_type
=
10
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'training_data_type'
,
full_name
=
'object_detection.protos.XYPairs.training_data_type'
,
index
=
1
,
number
=
2
,
type
=
14
,
cpp_type
=
8
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[
_XYPAIRS_XYPAIR
,
],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1285
,
serialized_end
=
1456
,
)
_SIGMOIDPARAMETERS
=
_descriptor
.
Descriptor
(
name
=
'SigmoidParameters'
,
full_name
=
'object_detection.protos.SigmoidParameters'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'a'
,
full_name
=
'object_detection.protos.SigmoidParameters.a'
,
index
=
0
,
number
=
1
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
-
1
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'b'
,
full_name
=
'object_detection.protos.SigmoidParameters.b'
,
index
=
1
,
number
=
2
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
0
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1458
,
serialized_end
=
1506
,
)
_CALIBRATIONCONFIG
.
fields_by_name
[
'function_approximation'
].
message_type
=
_FUNCTIONAPPROXIMATION
_CALIBRATIONCONFIG
.
fields_by_name
[
'class_id_function_approximations'
].
message_type
=
_CLASSIDFUNCTIONAPPROXIMATIONS
_CALIBRATIONCONFIG
.
fields_by_name
[
'sigmoid_calibration'
].
message_type
=
_SIGMOIDCALIBRATION
_CALIBRATIONCONFIG
.
fields_by_name
[
'class_id_sigmoid_calibrations'
].
message_type
=
_CLASSIDSIGMOIDCALIBRATIONS
_CALIBRATIONCONFIG
.
fields_by_name
[
'temperature_scaling_calibration'
].
message_type
=
_TEMPERATURESCALINGCALIBRATION
_CALIBRATIONCONFIG
.
oneofs_by_name
[
'calibrator'
].
fields
.
append
(
_CALIBRATIONCONFIG
.
fields_by_name
[
'function_approximation'
])
_CALIBRATIONCONFIG
.
fields_by_name
[
'function_approximation'
].
containing_oneof
=
_CALIBRATIONCONFIG
.
oneofs_by_name
[
'calibrator'
]
_CALIBRATIONCONFIG
.
oneofs_by_name
[
'calibrator'
].
fields
.
append
(
_CALIBRATIONCONFIG
.
fields_by_name
[
'class_id_function_approximations'
])
_CALIBRATIONCONFIG
.
fields_by_name
[
'class_id_function_approximations'
].
containing_oneof
=
_CALIBRATIONCONFIG
.
oneofs_by_name
[
'calibrator'
]
_CALIBRATIONCONFIG
.
oneofs_by_name
[
'calibrator'
].
fields
.
append
(
_CALIBRATIONCONFIG
.
fields_by_name
[
'sigmoid_calibration'
])
_CALIBRATIONCONFIG
.
fields_by_name
[
'sigmoid_calibration'
].
containing_oneof
=
_CALIBRATIONCONFIG
.
oneofs_by_name
[
'calibrator'
]
_CALIBRATIONCONFIG
.
oneofs_by_name
[
'calibrator'
].
fields
.
append
(
_CALIBRATIONCONFIG
.
fields_by_name
[
'class_id_sigmoid_calibrations'
])
_CALIBRATIONCONFIG
.
fields_by_name
[
'class_id_sigmoid_calibrations'
].
containing_oneof
=
_CALIBRATIONCONFIG
.
oneofs_by_name
[
'calibrator'
]
_CALIBRATIONCONFIG
.
oneofs_by_name
[
'calibrator'
].
fields
.
append
(
_CALIBRATIONCONFIG
.
fields_by_name
[
'temperature_scaling_calibration'
])
_CALIBRATIONCONFIG
.
fields_by_name
[
'temperature_scaling_calibration'
].
containing_oneof
=
_CALIBRATIONCONFIG
.
oneofs_by_name
[
'calibrator'
]
_FUNCTIONAPPROXIMATION
.
fields_by_name
[
'x_y_pairs'
].
message_type
=
_XYPAIRS
_CLASSIDFUNCTIONAPPROXIMATIONS_CLASSIDXYPAIRSMAPENTRY
.
fields_by_name
[
'value'
].
message_type
=
_XYPAIRS
_CLASSIDFUNCTIONAPPROXIMATIONS_CLASSIDXYPAIRSMAPENTRY
.
containing_type
=
_CLASSIDFUNCTIONAPPROXIMATIONS
_CLASSIDFUNCTIONAPPROXIMATIONS
.
fields_by_name
[
'class_id_xy_pairs_map'
].
message_type
=
_CLASSIDFUNCTIONAPPROXIMATIONS_CLASSIDXYPAIRSMAPENTRY
_SIGMOIDCALIBRATION
.
fields_by_name
[
'sigmoid_parameters'
].
message_type
=
_SIGMOIDPARAMETERS
_CLASSIDSIGMOIDCALIBRATIONS_CLASSIDSIGMOIDPARAMETERSMAPENTRY
.
fields_by_name
[
'value'
].
message_type
=
_SIGMOIDPARAMETERS
_CLASSIDSIGMOIDCALIBRATIONS_CLASSIDSIGMOIDPARAMETERSMAPENTRY
.
containing_type
=
_CLASSIDSIGMOIDCALIBRATIONS
_CLASSIDSIGMOIDCALIBRATIONS
.
fields_by_name
[
'class_id_sigmoid_parameters_map'
].
message_type
=
_CLASSIDSIGMOIDCALIBRATIONS_CLASSIDSIGMOIDPARAMETERSMAPENTRY
_XYPAIRS_XYPAIR
.
containing_type
=
_XYPAIRS
_XYPAIRS
.
fields_by_name
[
'x_y_pair'
].
message_type
=
_XYPAIRS_XYPAIR
_XYPAIRS
.
fields_by_name
[
'training_data_type'
].
enum_type
=
_TRAININGDATATYPE
DESCRIPTOR
.
message_types_by_name
[
'CalibrationConfig'
]
=
_CALIBRATIONCONFIG
DESCRIPTOR
.
message_types_by_name
[
'FunctionApproximation'
]
=
_FUNCTIONAPPROXIMATION
DESCRIPTOR
.
message_types_by_name
[
'ClassIdFunctionApproximations'
]
=
_CLASSIDFUNCTIONAPPROXIMATIONS
DESCRIPTOR
.
message_types_by_name
[
'SigmoidCalibration'
]
=
_SIGMOIDCALIBRATION
DESCRIPTOR
.
message_types_by_name
[
'ClassIdSigmoidCalibrations'
]
=
_CLASSIDSIGMOIDCALIBRATIONS
DESCRIPTOR
.
message_types_by_name
[
'TemperatureScalingCalibration'
]
=
_TEMPERATURESCALINGCALIBRATION
DESCRIPTOR
.
message_types_by_name
[
'XYPairs'
]
=
_XYPAIRS
DESCRIPTOR
.
message_types_by_name
[
'SigmoidParameters'
]
=
_SIGMOIDPARAMETERS
DESCRIPTOR
.
enum_types_by_name
[
'TrainingDataType'
]
=
_TRAININGDATATYPE
CalibrationConfig
=
_reflection
.
GeneratedProtocolMessageType
(
'CalibrationConfig'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_CALIBRATIONCONFIG
,
__module__
=
'object_detection.protos.calibration_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.CalibrationConfig)
))
_sym_db
.
RegisterMessage
(
CalibrationConfig
)
FunctionApproximation
=
_reflection
.
GeneratedProtocolMessageType
(
'FunctionApproximation'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_FUNCTIONAPPROXIMATION
,
__module__
=
'object_detection.protos.calibration_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.FunctionApproximation)
))
_sym_db
.
RegisterMessage
(
FunctionApproximation
)
ClassIdFunctionApproximations
=
_reflection
.
GeneratedProtocolMessageType
(
'ClassIdFunctionApproximations'
,
(
_message
.
Message
,),
dict
(
ClassIdXyPairsMapEntry
=
_reflection
.
GeneratedProtocolMessageType
(
'ClassIdXyPairsMapEntry'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_CLASSIDFUNCTIONAPPROXIMATIONS_CLASSIDXYPAIRSMAPENTRY
,
__module__
=
'object_detection.protos.calibration_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.ClassIdFunctionApproximations.ClassIdXyPairsMapEntry)
))
,
DESCRIPTOR
=
_CLASSIDFUNCTIONAPPROXIMATIONS
,
__module__
=
'object_detection.protos.calibration_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.ClassIdFunctionApproximations)
))
_sym_db
.
RegisterMessage
(
ClassIdFunctionApproximations
)
_sym_db
.
RegisterMessage
(
ClassIdFunctionApproximations
.
ClassIdXyPairsMapEntry
)
SigmoidCalibration
=
_reflection
.
GeneratedProtocolMessageType
(
'SigmoidCalibration'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_SIGMOIDCALIBRATION
,
__module__
=
'object_detection.protos.calibration_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.SigmoidCalibration)
))
_sym_db
.
RegisterMessage
(
SigmoidCalibration
)
ClassIdSigmoidCalibrations
=
_reflection
.
GeneratedProtocolMessageType
(
'ClassIdSigmoidCalibrations'
,
(
_message
.
Message
,),
dict
(
ClassIdSigmoidParametersMapEntry
=
_reflection
.
GeneratedProtocolMessageType
(
'ClassIdSigmoidParametersMapEntry'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_CLASSIDSIGMOIDCALIBRATIONS_CLASSIDSIGMOIDPARAMETERSMAPENTRY
,
__module__
=
'object_detection.protos.calibration_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.ClassIdSigmoidCalibrations.ClassIdSigmoidParametersMapEntry)
))
,
DESCRIPTOR
=
_CLASSIDSIGMOIDCALIBRATIONS
,
__module__
=
'object_detection.protos.calibration_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.ClassIdSigmoidCalibrations)
))
_sym_db
.
RegisterMessage
(
ClassIdSigmoidCalibrations
)
_sym_db
.
RegisterMessage
(
ClassIdSigmoidCalibrations
.
ClassIdSigmoidParametersMapEntry
)
TemperatureScalingCalibration
=
_reflection
.
GeneratedProtocolMessageType
(
'TemperatureScalingCalibration'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_TEMPERATURESCALINGCALIBRATION
,
__module__
=
'object_detection.protos.calibration_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.TemperatureScalingCalibration)
))
_sym_db
.
RegisterMessage
(
TemperatureScalingCalibration
)
XYPairs
=
_reflection
.
GeneratedProtocolMessageType
(
'XYPairs'
,
(
_message
.
Message
,),
dict
(
XYPair
=
_reflection
.
GeneratedProtocolMessageType
(
'XYPair'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_XYPAIRS_XYPAIR
,
__module__
=
'object_detection.protos.calibration_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.XYPairs.XYPair)
))
,
DESCRIPTOR
=
_XYPAIRS
,
__module__
=
'object_detection.protos.calibration_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.XYPairs)
))
_sym_db
.
RegisterMessage
(
XYPairs
)
_sym_db
.
RegisterMessage
(
XYPairs
.
XYPair
)
SigmoidParameters
=
_reflection
.
GeneratedProtocolMessageType
(
'SigmoidParameters'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_SIGMOIDPARAMETERS
,
__module__
=
'object_detection.protos.calibration_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.SigmoidParameters)
))
_sym_db
.
RegisterMessage
(
SigmoidParameters
)
_CLASSIDFUNCTIONAPPROXIMATIONS_CLASSIDXYPAIRSMAPENTRY
.
has_options
=
True
_CLASSIDFUNCTIONAPPROXIMATIONS_CLASSIDXYPAIRSMAPENTRY
.
_options
=
_descriptor
.
_ParseOptions
(
descriptor_pb2
.
MessageOptions
(),
_b
(
'8
\001
'
))
_CLASSIDSIGMOIDCALIBRATIONS_CLASSIDSIGMOIDPARAMETERSMAPENTRY
.
has_options
=
True
_CLASSIDSIGMOIDCALIBRATIONS_CLASSIDSIGMOIDPARAMETERSMAPENTRY
.
_options
=
_descriptor
.
_ParseOptions
(
descriptor_pb2
.
MessageOptions
(),
_b
(
'8
\001
'
))
# @@protoc_insertion_point(module_scope)
research/object_detection/protos/center_net_pb2.py
0 → 100644
View file @
bb16d5ca
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: object_detection/protos/center_net.proto
import
sys
_b
=
sys
.
version_info
[
0
]
<
3
and
(
lambda
x
:
x
)
or
(
lambda
x
:
x
.
encode
(
'latin1'
))
from
google.protobuf
import
descriptor
as
_descriptor
from
google.protobuf
import
message
as
_message
from
google.protobuf
import
reflection
as
_reflection
from
google.protobuf
import
symbol_database
as
_symbol_database
from
google.protobuf
import
descriptor_pb2
# @@protoc_insertion_point(imports)
_sym_db
=
_symbol_database
.
Default
()
from
object_detection.protos
import
image_resizer_pb2
as
object__detection_dot_protos_dot_image__resizer__pb2
from
object_detection.protos
import
losses_pb2
as
object__detection_dot_protos_dot_losses__pb2
DESCRIPTOR
=
_descriptor
.
FileDescriptor
(
name
=
'object_detection/protos/center_net.proto'
,
package
=
'object_detection.protos'
,
syntax
=
'proto2'
,
serialized_pb
=
_b
(
'
\n
(object_detection/protos/center_net.proto
\x12\x17
object_detection.protos
\x1a
+object_detection/protos/image_resizer.proto
\x1a
$object_detection/protos/losses.proto
\"\x9b\x10\n\t
CenterNet
\x12\x13\n\x0b
num_classes
\x18\x01
\x01
(
\x05\x12
M
\n\x11\x66\x65\x61
ture_extractor
\x18\x02
\x01
(
\x0b\x32\x32
.object_detection.protos.CenterNetFeatureExtractor
\x12
<
\n\r
image_resizer
\x18\x03
\x01
(
\x0b\x32
%.object_detection.protos.ImageResizer
\x12
Q
\n\x15
object_detection_task
\x18\x04
\x01
(
\x0b\x32\x32
.object_detection.protos.CenterNet.ObjectDetection
\x12
S
\n\x14
object_center_params
\x18\x05
\x01
(
\x0b\x32\x35
.object_detection.protos.CenterNet.ObjectCenterParams
\x12\x1f\n\x17
keypoint_label_map_path
\x18\x06
\x01
(
\t\x12
W
\n\x18
keypoint_estimation_task
\x18\x07
\x03
(
\x0b\x32\x35
.object_detection.protos.CenterNet.KeypointEstimation
\x12
O
\n\x14
mask_estimation_task
\x18\x08
\x01
(
\x0b\x32\x31
.object_detection.protos.CenterNet.MaskEstimation
\x1a\xcb\x01\n\x0f
ObjectDetection
\x12\x1b\n\x10
task_loss_weight
\x18\x01
\x01
(
\x02
:
\x01\x31\x12\x1d\n\x12
offset_loss_weight
\x18\x03
\x01
(
\x02
:
\x01\x31\x12\x1e\n\x11
scale_loss_weight
\x18\x04
\x01
(
\x02
:
\x03\x30
.1
\x12\x44\n\x11
localization_loss
\x18\x08
\x01
(
\x0b\x32
).object_detection.protos.LocalizationLossJ
\x04\x08\x02\x10\x03
J
\x04\x08\x05\x10\x06
J
\x04\x08\x06\x10\x07
J
\x04\x08\x07\x10\x08\x1a\x8e\x02\n\x12
ObjectCenterParams
\x12
$
\n\x19
object_center_loss_weight
\x18\x01
\x01
(
\x02
:
\x01\x31\x12
H
\n\x13\x63
lassification_loss
\x18\x02
\x01
(
\x0b\x32
+.object_detection.protos.ClassificationLoss
\x12
\n\x11
heatmap_bias_init
\x18\x03
\x01
(
\x02
:
\x05
-2.19
\x12
\n\x13
min_box_overlap_iou
\x18\x04
\x01
(
\x02
:
\x03\x30
.7
\x12
\n\x13
max_box_predictions
\x18\x05
\x01
(
\x05
:
\x03\x31\x30\x30\x12\"\n\x13
use_labeled_classes
\x18\x06
\x01
(
\x08
:
\x05\x66\x61
lse
\x1a\xac\x06\n\x12
KeypointEstimation
\x12\x11\n\t
task_name
\x18\x01
\x01
(
\t\x12\x1b\n\x10
task_loss_weight
\x18\x02
\x01
(
\x02
:
\x01\x31\x12
+
\n\x04
loss
\x18\x03
\x01
(
\x0b\x32\x1d
.object_detection.protos.Loss
\x12\x1b\n\x13
keypoint_class_name
\x18\x04
\x01
(
\t\x12
l
\n\x15
keypoint_label_to_std
\x18\x05
\x03
(
\x0b\x32
M.object_detection.protos.CenterNet.KeypointEstimation.KeypointLabelToStdEntry
\x12
*
\n\x1f
keypoint_regression_loss_weight
\x18\x06
\x01
(
\x02
:
\x01\x31\x12\'\n\x1c
keypoint_heatmap_loss_weight
\x18\x07
\x01
(
\x02
:
\x01\x31\x12
&
\n\x1b
keypoint_offset_loss_weight
\x18\x08
\x01
(
\x02
:
\x01\x31\x12
\n\x11
heatmap_bias_init
\x18\t
\x01
(
\x02
:
\x05
-2.19
\x12
/
\n\"
keypoint_candidate_score_threshold
\x18\n
\x01
(
\x02
:
\x03\x30
.1
\x12
(
\n\x1b
num_candidates_per_keypoint
\x18\x0b
\x01
(
\x05
:
\x03\x31\x30\x30\x12
$
\n\x19
peak_max_pool_kernel_size
\x18\x0c
\x01
(
\x05
:
\x01\x33\x12
%
\n\x18
unmatched_keypoint_score
\x18\r
\x01
(
\x02
:
\x03\x30
.1
\x12\x16\n\t
box_scale
\x18\x0e
\x01
(
\x02
:
\x03\x31
.2
\x12
#
\n\x16\x63\x61
ndidate_search_scale
\x18\x0f
\x01
(
\x02
:
\x03\x30
.3
\x12
,
\n\x16\x63\x61
ndidate_ranking_mode
\x18\x10
\x01
(
\t
:
\x0c
min_distance
\x12\x1d\n\x12
offset_peak_radius
\x18\x11
\x01
(
\x05
:
\x01\x30\x12\"\n\x13
per_keypoint_offset
\x18\x12
\x01
(
\x08
:
\x05\x66\x61
lse
\x1a\x39\n\x17
KeypointLabelToStdEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\x02
:
\x02\x38\x01\x1a\xea\x01\n\x0e
MaskEstimation
\x12\x1b\n\x10
task_loss_weight
\x18\x01
\x01
(
\x02
:
\x01\x31\x12
H
\n\x13\x63
lassification_loss
\x18\x02
\x01
(
\x0b\x32
+.object_detection.protos.ClassificationLoss
\x12\x18\n\x0b
mask_height
\x18\x04
\x01
(
\x05
:
\x03\x32\x35\x36\x12\x17\n\n
mask_width
\x18\x05
\x01
(
\x05
:
\x03\x32\x35\x36\x12\x1c\n\x0f
score_threshold
\x18\x06
\x01
(
\x02
:
\x03\x30
.5
\x12
\n\x11
heatmap_bias_init
\x18\x03
\x01
(
\x02
:
\x05
-2.19
\"
s
\n\x19\x43\x65
nterNetFeatureExtractor
\x12\x0c\n\x04
type
\x18\x01
\x01
(
\t\x12\x15\n\r
channel_means
\x18\x02
\x03
(
\x02\x12\x14\n\x0c\x63
hannel_stds
\x18\x03
\x03
(
\x02\x12\x1b\n\x0c\x62
gr_ordering
\x18\x04
\x01
(
\x08
:
\x05\x66\x61
lse'
)
,
dependencies
=
[
object__detection_dot_protos_dot_image__resizer__pb2
.
DESCRIPTOR
,
object__detection_dot_protos_dot_losses__pb2
.
DESCRIPTOR
,])
_sym_db
.
RegisterFileDescriptor
(
DESCRIPTOR
)
_CENTERNET_OBJECTDETECTION
=
_descriptor
.
Descriptor
(
name
=
'ObjectDetection'
,
full_name
=
'object_detection.protos.CenterNet.ObjectDetection'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'task_loss_weight'
,
full_name
=
'object_detection.protos.CenterNet.ObjectDetection.task_loss_weight'
,
index
=
0
,
number
=
1
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
1
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'offset_loss_weight'
,
full_name
=
'object_detection.protos.CenterNet.ObjectDetection.offset_loss_weight'
,
index
=
1
,
number
=
3
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
1
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'scale_loss_weight'
,
full_name
=
'object_detection.protos.CenterNet.ObjectDetection.scale_loss_weight'
,
index
=
2
,
number
=
4
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
0.1
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'localization_loss'
,
full_name
=
'object_detection.protos.CenterNet.ObjectDetection.localization_loss'
,
index
=
3
,
number
=
8
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
700
,
serialized_end
=
903
,
)
_CENTERNET_OBJECTCENTERPARAMS
=
_descriptor
.
Descriptor
(
name
=
'ObjectCenterParams'
,
full_name
=
'object_detection.protos.CenterNet.ObjectCenterParams'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'object_center_loss_weight'
,
full_name
=
'object_detection.protos.CenterNet.ObjectCenterParams.object_center_loss_weight'
,
index
=
0
,
number
=
1
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
1
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'classification_loss'
,
full_name
=
'object_detection.protos.CenterNet.ObjectCenterParams.classification_loss'
,
index
=
1
,
number
=
2
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'heatmap_bias_init'
,
full_name
=
'object_detection.protos.CenterNet.ObjectCenterParams.heatmap_bias_init'
,
index
=
2
,
number
=
3
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
-
2.19
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'min_box_overlap_iou'
,
full_name
=
'object_detection.protos.CenterNet.ObjectCenterParams.min_box_overlap_iou'
,
index
=
3
,
number
=
4
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
0.7
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'max_box_predictions'
,
full_name
=
'object_detection.protos.CenterNet.ObjectCenterParams.max_box_predictions'
,
index
=
4
,
number
=
5
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
100
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'use_labeled_classes'
,
full_name
=
'object_detection.protos.CenterNet.ObjectCenterParams.use_labeled_classes'
,
index
=
5
,
number
=
6
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
906
,
serialized_end
=
1176
,
)
_CENTERNET_KEYPOINTESTIMATION_KEYPOINTLABELTOSTDENTRY
=
_descriptor
.
Descriptor
(
name
=
'KeypointLabelToStdEntry'
,
full_name
=
'object_detection.protos.CenterNet.KeypointEstimation.KeypointLabelToStdEntry'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'key'
,
full_name
=
'object_detection.protos.CenterNet.KeypointEstimation.KeypointLabelToStdEntry.key'
,
index
=
0
,
number
=
1
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'value'
,
full_name
=
'object_detection.protos.CenterNet.KeypointEstimation.KeypointLabelToStdEntry.value'
,
index
=
1
,
number
=
2
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
False
,
default_value
=
float
(
0
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
_descriptor
.
_ParseOptions
(
descriptor_pb2
.
MessageOptions
(),
_b
(
'8
\001
'
)),
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1934
,
serialized_end
=
1991
,
)
_CENTERNET_KEYPOINTESTIMATION
=
_descriptor
.
Descriptor
(
name
=
'KeypointEstimation'
,
full_name
=
'object_detection.protos.CenterNet.KeypointEstimation'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'task_name'
,
full_name
=
'object_detection.protos.CenterNet.KeypointEstimation.task_name'
,
index
=
0
,
number
=
1
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'task_loss_weight'
,
full_name
=
'object_detection.protos.CenterNet.KeypointEstimation.task_loss_weight'
,
index
=
1
,
number
=
2
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
1
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'loss'
,
full_name
=
'object_detection.protos.CenterNet.KeypointEstimation.loss'
,
index
=
2
,
number
=
3
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'keypoint_class_name'
,
full_name
=
'object_detection.protos.CenterNet.KeypointEstimation.keypoint_class_name'
,
index
=
3
,
number
=
4
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'keypoint_label_to_std'
,
full_name
=
'object_detection.protos.CenterNet.KeypointEstimation.keypoint_label_to_std'
,
index
=
4
,
number
=
5
,
type
=
11
,
cpp_type
=
10
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'keypoint_regression_loss_weight'
,
full_name
=
'object_detection.protos.CenterNet.KeypointEstimation.keypoint_regression_loss_weight'
,
index
=
5
,
number
=
6
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
1
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'keypoint_heatmap_loss_weight'
,
full_name
=
'object_detection.protos.CenterNet.KeypointEstimation.keypoint_heatmap_loss_weight'
,
index
=
6
,
number
=
7
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
1
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'keypoint_offset_loss_weight'
,
full_name
=
'object_detection.protos.CenterNet.KeypointEstimation.keypoint_offset_loss_weight'
,
index
=
7
,
number
=
8
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
1
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'heatmap_bias_init'
,
full_name
=
'object_detection.protos.CenterNet.KeypointEstimation.heatmap_bias_init'
,
index
=
8
,
number
=
9
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
-
2.19
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'keypoint_candidate_score_threshold'
,
full_name
=
'object_detection.protos.CenterNet.KeypointEstimation.keypoint_candidate_score_threshold'
,
index
=
9
,
number
=
10
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
0.1
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'num_candidates_per_keypoint'
,
full_name
=
'object_detection.protos.CenterNet.KeypointEstimation.num_candidates_per_keypoint'
,
index
=
10
,
number
=
11
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
100
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'peak_max_pool_kernel_size'
,
full_name
=
'object_detection.protos.CenterNet.KeypointEstimation.peak_max_pool_kernel_size'
,
index
=
11
,
number
=
12
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
3
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'unmatched_keypoint_score'
,
full_name
=
'object_detection.protos.CenterNet.KeypointEstimation.unmatched_keypoint_score'
,
index
=
12
,
number
=
13
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
0.1
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'box_scale'
,
full_name
=
'object_detection.protos.CenterNet.KeypointEstimation.box_scale'
,
index
=
13
,
number
=
14
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
1.2
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'candidate_search_scale'
,
full_name
=
'object_detection.protos.CenterNet.KeypointEstimation.candidate_search_scale'
,
index
=
14
,
number
=
15
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
0.3
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'candidate_ranking_mode'
,
full_name
=
'object_detection.protos.CenterNet.KeypointEstimation.candidate_ranking_mode'
,
index
=
15
,
number
=
16
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
True
,
default_value
=
_b
(
"min_distance"
).
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'offset_peak_radius'
,
full_name
=
'object_detection.protos.CenterNet.KeypointEstimation.offset_peak_radius'
,
index
=
16
,
number
=
17
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'per_keypoint_offset'
,
full_name
=
'object_detection.protos.CenterNet.KeypointEstimation.per_keypoint_offset'
,
index
=
17
,
number
=
18
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[
_CENTERNET_KEYPOINTESTIMATION_KEYPOINTLABELTOSTDENTRY
,
],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1179
,
serialized_end
=
1991
,
)
_CENTERNET_MASKESTIMATION
=
_descriptor
.
Descriptor
(
name
=
'MaskEstimation'
,
full_name
=
'object_detection.protos.CenterNet.MaskEstimation'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'task_loss_weight'
,
full_name
=
'object_detection.protos.CenterNet.MaskEstimation.task_loss_weight'
,
index
=
0
,
number
=
1
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
1
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'classification_loss'
,
full_name
=
'object_detection.protos.CenterNet.MaskEstimation.classification_loss'
,
index
=
1
,
number
=
2
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'mask_height'
,
full_name
=
'object_detection.protos.CenterNet.MaskEstimation.mask_height'
,
index
=
2
,
number
=
4
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
256
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'mask_width'
,
full_name
=
'object_detection.protos.CenterNet.MaskEstimation.mask_width'
,
index
=
3
,
number
=
5
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
256
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'score_threshold'
,
full_name
=
'object_detection.protos.CenterNet.MaskEstimation.score_threshold'
,
index
=
4
,
number
=
6
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
0.5
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'heatmap_bias_init'
,
full_name
=
'object_detection.protos.CenterNet.MaskEstimation.heatmap_bias_init'
,
index
=
5
,
number
=
3
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
-
2.19
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1994
,
serialized_end
=
2228
,
)
_CENTERNET
=
_descriptor
.
Descriptor
(
name
=
'CenterNet'
,
full_name
=
'object_detection.protos.CenterNet'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'num_classes'
,
full_name
=
'object_detection.protos.CenterNet.num_classes'
,
index
=
0
,
number
=
1
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'feature_extractor'
,
full_name
=
'object_detection.protos.CenterNet.feature_extractor'
,
index
=
1
,
number
=
2
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'image_resizer'
,
full_name
=
'object_detection.protos.CenterNet.image_resizer'
,
index
=
2
,
number
=
3
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'object_detection_task'
,
full_name
=
'object_detection.protos.CenterNet.object_detection_task'
,
index
=
3
,
number
=
4
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'object_center_params'
,
full_name
=
'object_detection.protos.CenterNet.object_center_params'
,
index
=
4
,
number
=
5
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'keypoint_label_map_path'
,
full_name
=
'object_detection.protos.CenterNet.keypoint_label_map_path'
,
index
=
5
,
number
=
6
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'keypoint_estimation_task'
,
full_name
=
'object_detection.protos.CenterNet.keypoint_estimation_task'
,
index
=
6
,
number
=
7
,
type
=
11
,
cpp_type
=
10
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'mask_estimation_task'
,
full_name
=
'object_detection.protos.CenterNet.mask_estimation_task'
,
index
=
7
,
number
=
8
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[
_CENTERNET_OBJECTDETECTION
,
_CENTERNET_OBJECTCENTERPARAMS
,
_CENTERNET_KEYPOINTESTIMATION
,
_CENTERNET_MASKESTIMATION
,
],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
153
,
serialized_end
=
2228
,
)
_CENTERNETFEATUREEXTRACTOR
=
_descriptor
.
Descriptor
(
name
=
'CenterNetFeatureExtractor'
,
full_name
=
'object_detection.protos.CenterNetFeatureExtractor'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'type'
,
full_name
=
'object_detection.protos.CenterNetFeatureExtractor.type'
,
index
=
0
,
number
=
1
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'channel_means'
,
full_name
=
'object_detection.protos.CenterNetFeatureExtractor.channel_means'
,
index
=
1
,
number
=
2
,
type
=
2
,
cpp_type
=
6
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'channel_stds'
,
full_name
=
'object_detection.protos.CenterNetFeatureExtractor.channel_stds'
,
index
=
2
,
number
=
3
,
type
=
2
,
cpp_type
=
6
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'bgr_ordering'
,
full_name
=
'object_detection.protos.CenterNetFeatureExtractor.bgr_ordering'
,
index
=
3
,
number
=
4
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
2230
,
serialized_end
=
2345
,
)
_CENTERNET_OBJECTDETECTION
.
fields_by_name
[
'localization_loss'
].
message_type
=
object__detection_dot_protos_dot_losses__pb2
.
_LOCALIZATIONLOSS
_CENTERNET_OBJECTDETECTION
.
containing_type
=
_CENTERNET
_CENTERNET_OBJECTCENTERPARAMS
.
fields_by_name
[
'classification_loss'
].
message_type
=
object__detection_dot_protos_dot_losses__pb2
.
_CLASSIFICATIONLOSS
_CENTERNET_OBJECTCENTERPARAMS
.
containing_type
=
_CENTERNET
_CENTERNET_KEYPOINTESTIMATION_KEYPOINTLABELTOSTDENTRY
.
containing_type
=
_CENTERNET_KEYPOINTESTIMATION
_CENTERNET_KEYPOINTESTIMATION
.
fields_by_name
[
'loss'
].
message_type
=
object__detection_dot_protos_dot_losses__pb2
.
_LOSS
_CENTERNET_KEYPOINTESTIMATION
.
fields_by_name
[
'keypoint_label_to_std'
].
message_type
=
_CENTERNET_KEYPOINTESTIMATION_KEYPOINTLABELTOSTDENTRY
_CENTERNET_KEYPOINTESTIMATION
.
containing_type
=
_CENTERNET
_CENTERNET_MASKESTIMATION
.
fields_by_name
[
'classification_loss'
].
message_type
=
object__detection_dot_protos_dot_losses__pb2
.
_CLASSIFICATIONLOSS
_CENTERNET_MASKESTIMATION
.
containing_type
=
_CENTERNET
_CENTERNET
.
fields_by_name
[
'feature_extractor'
].
message_type
=
_CENTERNETFEATUREEXTRACTOR
_CENTERNET
.
fields_by_name
[
'image_resizer'
].
message_type
=
object__detection_dot_protos_dot_image__resizer__pb2
.
_IMAGERESIZER
_CENTERNET
.
fields_by_name
[
'object_detection_task'
].
message_type
=
_CENTERNET_OBJECTDETECTION
_CENTERNET
.
fields_by_name
[
'object_center_params'
].
message_type
=
_CENTERNET_OBJECTCENTERPARAMS
_CENTERNET
.
fields_by_name
[
'keypoint_estimation_task'
].
message_type
=
_CENTERNET_KEYPOINTESTIMATION
_CENTERNET
.
fields_by_name
[
'mask_estimation_task'
].
message_type
=
_CENTERNET_MASKESTIMATION
DESCRIPTOR
.
message_types_by_name
[
'CenterNet'
]
=
_CENTERNET
DESCRIPTOR
.
message_types_by_name
[
'CenterNetFeatureExtractor'
]
=
_CENTERNETFEATUREEXTRACTOR
CenterNet
=
_reflection
.
GeneratedProtocolMessageType
(
'CenterNet'
,
(
_message
.
Message
,),
dict
(
ObjectDetection
=
_reflection
.
GeneratedProtocolMessageType
(
'ObjectDetection'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_CENTERNET_OBJECTDETECTION
,
__module__
=
'object_detection.protos.center_net_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.CenterNet.ObjectDetection)
))
,
ObjectCenterParams
=
_reflection
.
GeneratedProtocolMessageType
(
'ObjectCenterParams'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_CENTERNET_OBJECTCENTERPARAMS
,
__module__
=
'object_detection.protos.center_net_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.CenterNet.ObjectCenterParams)
))
,
KeypointEstimation
=
_reflection
.
GeneratedProtocolMessageType
(
'KeypointEstimation'
,
(
_message
.
Message
,),
dict
(
KeypointLabelToStdEntry
=
_reflection
.
GeneratedProtocolMessageType
(
'KeypointLabelToStdEntry'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_CENTERNET_KEYPOINTESTIMATION_KEYPOINTLABELTOSTDENTRY
,
__module__
=
'object_detection.protos.center_net_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.CenterNet.KeypointEstimation.KeypointLabelToStdEntry)
))
,
DESCRIPTOR
=
_CENTERNET_KEYPOINTESTIMATION
,
__module__
=
'object_detection.protos.center_net_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.CenterNet.KeypointEstimation)
))
,
MaskEstimation
=
_reflection
.
GeneratedProtocolMessageType
(
'MaskEstimation'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_CENTERNET_MASKESTIMATION
,
__module__
=
'object_detection.protos.center_net_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.CenterNet.MaskEstimation)
))
,
DESCRIPTOR
=
_CENTERNET
,
__module__
=
'object_detection.protos.center_net_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.CenterNet)
))
_sym_db
.
RegisterMessage
(
CenterNet
)
_sym_db
.
RegisterMessage
(
CenterNet
.
ObjectDetection
)
_sym_db
.
RegisterMessage
(
CenterNet
.
ObjectCenterParams
)
_sym_db
.
RegisterMessage
(
CenterNet
.
KeypointEstimation
)
_sym_db
.
RegisterMessage
(
CenterNet
.
KeypointEstimation
.
KeypointLabelToStdEntry
)
_sym_db
.
RegisterMessage
(
CenterNet
.
MaskEstimation
)
CenterNetFeatureExtractor
=
_reflection
.
GeneratedProtocolMessageType
(
'CenterNetFeatureExtractor'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_CENTERNETFEATUREEXTRACTOR
,
__module__
=
'object_detection.protos.center_net_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.CenterNetFeatureExtractor)
))
_sym_db
.
RegisterMessage
(
CenterNetFeatureExtractor
)
_CENTERNET_KEYPOINTESTIMATION_KEYPOINTLABELTOSTDENTRY
.
has_options
=
True
_CENTERNET_KEYPOINTESTIMATION_KEYPOINTLABELTOSTDENTRY
.
_options
=
_descriptor
.
_ParseOptions
(
descriptor_pb2
.
MessageOptions
(),
_b
(
'8
\001
'
))
# @@protoc_insertion_point(module_scope)
research/object_detection/protos/eval_pb2.py
0 → 100644
View file @
bb16d5ca
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: object_detection/protos/eval.proto
import
sys
_b
=
sys
.
version_info
[
0
]
<
3
and
(
lambda
x
:
x
)
or
(
lambda
x
:
x
.
encode
(
'latin1'
))
from
google.protobuf
import
descriptor
as
_descriptor
from
google.protobuf
import
message
as
_message
from
google.protobuf
import
reflection
as
_reflection
from
google.protobuf
import
symbol_database
as
_symbol_database
from
google.protobuf
import
descriptor_pb2
# @@protoc_insertion_point(imports)
_sym_db
=
_symbol_database
.
Default
()
DESCRIPTOR
=
_descriptor
.
FileDescriptor
(
name
=
'object_detection/protos/eval.proto'
,
package
=
'object_detection.protos'
,
syntax
=
'proto2'
,
serialized_pb
=
_b
(
'
\n\"
object_detection/protos/eval.proto
\x12\x17
object_detection.protos
\"\xc0\x08\n\n
EvalConfig
\x12\x15\n\n
batch_size
\x18\x19
\x01
(
\r
:
\x01\x31\x12\x1e\n\x12
num_visualizations
\x18\x01
\x01
(
\r
:
\x02\x31\x30\x12\x1e\n\x0c
num_examples
\x18\x02
\x01
(
\r
:
\x04\x35\x30\x30\x30\x42\x02\x18\x01\x12\x1f\n\x12\x65
val_interval_secs
\x18\x03
\x01
(
\r
:
\x03\x33\x30\x30\x12\x18\n\t
max_evals
\x18\x04
\x01
(
\r
:
\x01\x30\x42\x02\x18\x01\x12\x19\n\n
save_graph
\x18\x05
\x01
(
\x08
:
\x05\x66\x61
lse
\x12\"\n\x18
visualization_export_dir
\x18\x06
\x01
(
\t
:
\x00\x12\x15\n\x0b\x65
val_master
\x18\x07
\x01
(
\t
:
\x00\x12\x13\n\x0b
metrics_set
\x18\x08
\x03
(
\t\x12
J
\n\x14
parameterized_metric
\x18\x1f
\x03
(
\x0b\x32
,.object_detection.protos.ParameterizedMetric
\x12\x15\n\x0b\x65
xport_path
\x18\t
\x01
(
\t
:
\x00\x12
!
\n\x12
ignore_groundtruth
\x18\n
\x01
(
\x08
:
\x05\x66\x61
lse
\x12\"\n\x13
use_moving_averages
\x18\x0b
\x01
(
\x08
:
\x05\x66\x61
lse
\x12\"\n\x13\x65
val_instance_masks
\x18\x0c
\x01
(
\x08
:
\x05\x66\x61
lse
\x12
\n\x13
min_score_threshold
\x18\r
\x01
(
\x02
:
\x03\x30
.5
\x12
&
\n\x1a
max_num_boxes_to_visualize
\x18\x0e
\x01
(
\x05
:
\x02\x32\x30\x12\x1a\n\x0b
skip_scores
\x18\x0f
\x01
(
\x08
:
\x05\x66\x61
lse
\x12\x1a\n\x0b
skip_labels
\x18\x10
\x01
(
\x08
:
\x05\x66\x61
lse
\x12
*
\n\x1b
visualize_groundtruth_boxes
\x18\x11
\x01
(
\x08
:
\x05\x66\x61
lse
\x12\x32\n
#groundtruth_box_visualization_color
\x18\x12
\x01
(
\t
:
\x05\x62
lack
\x12\x35\n
&keep_image_id_for_visualization_export
\x18\x13
\x01
(
\x08
:
\x05\x66\x61
lse
\x12
$
\n\x16
retain_original_images
\x18\x17
\x01
(
\x08
:
\x04
true
\x12
+
\n\x1c
include_metrics_per_category
\x18\x18
\x01
(
\x08
:
\x05\x66\x61
lse
\x12\x1d\n\x12
recall_lower_bound
\x18\x1a
\x01
(
\x02
:
\x01\x30\x12\x1d\n\x12
recall_upper_bound
\x18\x1b
\x01
(
\x02
:
\x01\x31\x12\x38\n
)retain_original_image_additional_channels
\x18\x1c
\x01
(
\x08
:
\x05\x66\x61
lse
\x12\x1e\n\x0f\x66
orce_no_resize
\x18\x1d
\x01
(
\x08
:
\x05\x66\x61
lse
\x12
%
\n\x16
use_dummy_loss_in_eval
\x18\x1e
\x01
(
\x08
:
\x05\x66\x61
lse
\x12
<
\n\r
keypoint_edge
\x18
\x03
(
\x0b\x32
%.object_detection.protos.KeypointEdge
\"
|
\n\x13
ParameterizedMetric
\x12
M
\n\x15\x63
oco_keypoint_metrics
\x18\x01
\x01
(
\x0b\x32
,.object_detection.protos.CocoKeypointMetricsH
\x00\x42\x16\n\x14
parameterized_metric
\"\xd3\x01\n\x13\x43
ocoKeypointMetrics
\x12\x13\n\x0b\x63
lass_label
\x18\x01
\x01
(
\t\x12
i
\n\x18
keypoint_label_to_sigmas
\x18\x02
\x03
(
\x0b\x32
G.object_detection.protos.CocoKeypointMetrics.KeypointLabelToSigmasEntry
\x1a
<
\n\x1a
KeypointLabelToSigmasEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\x02
:
\x02\x38\x01\"
*
\n\x0c
KeypointEdge
\x12\r\n\x05
start
\x18\x01
\x01
(
\x05\x12\x0b\n\x03\x65
nd
\x18\x02
\x01
(
\x05
'
)
)
_sym_db
.
RegisterFileDescriptor
(
DESCRIPTOR
)
_EVALCONFIG
=
_descriptor
.
Descriptor
(
name
=
'EvalConfig'
,
full_name
=
'object_detection.protos.EvalConfig'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'batch_size'
,
full_name
=
'object_detection.protos.EvalConfig.batch_size'
,
index
=
0
,
number
=
25
,
type
=
13
,
cpp_type
=
3
,
label
=
1
,
has_default_value
=
True
,
default_value
=
1
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'num_visualizations'
,
full_name
=
'object_detection.protos.EvalConfig.num_visualizations'
,
index
=
1
,
number
=
1
,
type
=
13
,
cpp_type
=
3
,
label
=
1
,
has_default_value
=
True
,
default_value
=
10
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'num_examples'
,
full_name
=
'object_detection.protos.EvalConfig.num_examples'
,
index
=
2
,
number
=
2
,
type
=
13
,
cpp_type
=
3
,
label
=
1
,
has_default_value
=
True
,
default_value
=
5000
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
_descriptor
.
_ParseOptions
(
descriptor_pb2
.
FieldOptions
(),
_b
(
'
\030\001
'
))),
_descriptor
.
FieldDescriptor
(
name
=
'eval_interval_secs'
,
full_name
=
'object_detection.protos.EvalConfig.eval_interval_secs'
,
index
=
3
,
number
=
3
,
type
=
13
,
cpp_type
=
3
,
label
=
1
,
has_default_value
=
True
,
default_value
=
300
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'max_evals'
,
full_name
=
'object_detection.protos.EvalConfig.max_evals'
,
index
=
4
,
number
=
4
,
type
=
13
,
cpp_type
=
3
,
label
=
1
,
has_default_value
=
True
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
_descriptor
.
_ParseOptions
(
descriptor_pb2
.
FieldOptions
(),
_b
(
'
\030\001
'
))),
_descriptor
.
FieldDescriptor
(
name
=
'save_graph'
,
full_name
=
'object_detection.protos.EvalConfig.save_graph'
,
index
=
5
,
number
=
5
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'visualization_export_dir'
,
full_name
=
'object_detection.protos.EvalConfig.visualization_export_dir'
,
index
=
6
,
number
=
6
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
True
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'eval_master'
,
full_name
=
'object_detection.protos.EvalConfig.eval_master'
,
index
=
7
,
number
=
7
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
True
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'metrics_set'
,
full_name
=
'object_detection.protos.EvalConfig.metrics_set'
,
index
=
8
,
number
=
8
,
type
=
9
,
cpp_type
=
9
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'parameterized_metric'
,
full_name
=
'object_detection.protos.EvalConfig.parameterized_metric'
,
index
=
9
,
number
=
31
,
type
=
11
,
cpp_type
=
10
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'export_path'
,
full_name
=
'object_detection.protos.EvalConfig.export_path'
,
index
=
10
,
number
=
9
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
True
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'ignore_groundtruth'
,
full_name
=
'object_detection.protos.EvalConfig.ignore_groundtruth'
,
index
=
11
,
number
=
10
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'use_moving_averages'
,
full_name
=
'object_detection.protos.EvalConfig.use_moving_averages'
,
index
=
12
,
number
=
11
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'eval_instance_masks'
,
full_name
=
'object_detection.protos.EvalConfig.eval_instance_masks'
,
index
=
13
,
number
=
12
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'min_score_threshold'
,
full_name
=
'object_detection.protos.EvalConfig.min_score_threshold'
,
index
=
14
,
number
=
13
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
0.5
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'max_num_boxes_to_visualize'
,
full_name
=
'object_detection.protos.EvalConfig.max_num_boxes_to_visualize'
,
index
=
15
,
number
=
14
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
20
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'skip_scores'
,
full_name
=
'object_detection.protos.EvalConfig.skip_scores'
,
index
=
16
,
number
=
15
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'skip_labels'
,
full_name
=
'object_detection.protos.EvalConfig.skip_labels'
,
index
=
17
,
number
=
16
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'visualize_groundtruth_boxes'
,
full_name
=
'object_detection.protos.EvalConfig.visualize_groundtruth_boxes'
,
index
=
18
,
number
=
17
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'groundtruth_box_visualization_color'
,
full_name
=
'object_detection.protos.EvalConfig.groundtruth_box_visualization_color'
,
index
=
19
,
number
=
18
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
True
,
default_value
=
_b
(
"black"
).
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'keep_image_id_for_visualization_export'
,
full_name
=
'object_detection.protos.EvalConfig.keep_image_id_for_visualization_export'
,
index
=
20
,
number
=
19
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'retain_original_images'
,
full_name
=
'object_detection.protos.EvalConfig.retain_original_images'
,
index
=
21
,
number
=
23
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
True
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'include_metrics_per_category'
,
full_name
=
'object_detection.protos.EvalConfig.include_metrics_per_category'
,
index
=
22
,
number
=
24
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'recall_lower_bound'
,
full_name
=
'object_detection.protos.EvalConfig.recall_lower_bound'
,
index
=
23
,
number
=
26
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
0
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'recall_upper_bound'
,
full_name
=
'object_detection.protos.EvalConfig.recall_upper_bound'
,
index
=
24
,
number
=
27
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
1
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'retain_original_image_additional_channels'
,
full_name
=
'object_detection.protos.EvalConfig.retain_original_image_additional_channels'
,
index
=
25
,
number
=
28
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'force_no_resize'
,
full_name
=
'object_detection.protos.EvalConfig.force_no_resize'
,
index
=
26
,
number
=
29
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'use_dummy_loss_in_eval'
,
full_name
=
'object_detection.protos.EvalConfig.use_dummy_loss_in_eval'
,
index
=
27
,
number
=
30
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'keypoint_edge'
,
full_name
=
'object_detection.protos.EvalConfig.keypoint_edge'
,
index
=
28
,
number
=
32
,
type
=
11
,
cpp_type
=
10
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
64
,
serialized_end
=
1152
,
)
_PARAMETERIZEDMETRIC
=
_descriptor
.
Descriptor
(
name
=
'ParameterizedMetric'
,
full_name
=
'object_detection.protos.ParameterizedMetric'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'coco_keypoint_metrics'
,
full_name
=
'object_detection.protos.ParameterizedMetric.coco_keypoint_metrics'
,
index
=
0
,
number
=
1
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
_descriptor
.
OneofDescriptor
(
name
=
'parameterized_metric'
,
full_name
=
'object_detection.protos.ParameterizedMetric.parameterized_metric'
,
index
=
0
,
containing_type
=
None
,
fields
=
[]),
],
serialized_start
=
1154
,
serialized_end
=
1278
,
)
_COCOKEYPOINTMETRICS_KEYPOINTLABELTOSIGMASENTRY
=
_descriptor
.
Descriptor
(
name
=
'KeypointLabelToSigmasEntry'
,
full_name
=
'object_detection.protos.CocoKeypointMetrics.KeypointLabelToSigmasEntry'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'key'
,
full_name
=
'object_detection.protos.CocoKeypointMetrics.KeypointLabelToSigmasEntry.key'
,
index
=
0
,
number
=
1
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'value'
,
full_name
=
'object_detection.protos.CocoKeypointMetrics.KeypointLabelToSigmasEntry.value'
,
index
=
1
,
number
=
2
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
False
,
default_value
=
float
(
0
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
_descriptor
.
_ParseOptions
(
descriptor_pb2
.
MessageOptions
(),
_b
(
'8
\001
'
)),
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1432
,
serialized_end
=
1492
,
)
_COCOKEYPOINTMETRICS
=
_descriptor
.
Descriptor
(
name
=
'CocoKeypointMetrics'
,
full_name
=
'object_detection.protos.CocoKeypointMetrics'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'class_label'
,
full_name
=
'object_detection.protos.CocoKeypointMetrics.class_label'
,
index
=
0
,
number
=
1
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'keypoint_label_to_sigmas'
,
full_name
=
'object_detection.protos.CocoKeypointMetrics.keypoint_label_to_sigmas'
,
index
=
1
,
number
=
2
,
type
=
11
,
cpp_type
=
10
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[
_COCOKEYPOINTMETRICS_KEYPOINTLABELTOSIGMASENTRY
,
],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1281
,
serialized_end
=
1492
,
)
_KEYPOINTEDGE
=
_descriptor
.
Descriptor
(
name
=
'KeypointEdge'
,
full_name
=
'object_detection.protos.KeypointEdge'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'start'
,
full_name
=
'object_detection.protos.KeypointEdge.start'
,
index
=
0
,
number
=
1
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'end'
,
full_name
=
'object_detection.protos.KeypointEdge.end'
,
index
=
1
,
number
=
2
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1494
,
serialized_end
=
1536
,
)
_EVALCONFIG
.
fields_by_name
[
'parameterized_metric'
].
message_type
=
_PARAMETERIZEDMETRIC
_EVALCONFIG
.
fields_by_name
[
'keypoint_edge'
].
message_type
=
_KEYPOINTEDGE
_PARAMETERIZEDMETRIC
.
fields_by_name
[
'coco_keypoint_metrics'
].
message_type
=
_COCOKEYPOINTMETRICS
_PARAMETERIZEDMETRIC
.
oneofs_by_name
[
'parameterized_metric'
].
fields
.
append
(
_PARAMETERIZEDMETRIC
.
fields_by_name
[
'coco_keypoint_metrics'
])
_PARAMETERIZEDMETRIC
.
fields_by_name
[
'coco_keypoint_metrics'
].
containing_oneof
=
_PARAMETERIZEDMETRIC
.
oneofs_by_name
[
'parameterized_metric'
]
_COCOKEYPOINTMETRICS_KEYPOINTLABELTOSIGMASENTRY
.
containing_type
=
_COCOKEYPOINTMETRICS
_COCOKEYPOINTMETRICS
.
fields_by_name
[
'keypoint_label_to_sigmas'
].
message_type
=
_COCOKEYPOINTMETRICS_KEYPOINTLABELTOSIGMASENTRY
DESCRIPTOR
.
message_types_by_name
[
'EvalConfig'
]
=
_EVALCONFIG
DESCRIPTOR
.
message_types_by_name
[
'ParameterizedMetric'
]
=
_PARAMETERIZEDMETRIC
DESCRIPTOR
.
message_types_by_name
[
'CocoKeypointMetrics'
]
=
_COCOKEYPOINTMETRICS
DESCRIPTOR
.
message_types_by_name
[
'KeypointEdge'
]
=
_KEYPOINTEDGE
EvalConfig
=
_reflection
.
GeneratedProtocolMessageType
(
'EvalConfig'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_EVALCONFIG
,
__module__
=
'object_detection.protos.eval_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.EvalConfig)
))
_sym_db
.
RegisterMessage
(
EvalConfig
)
ParameterizedMetric
=
_reflection
.
GeneratedProtocolMessageType
(
'ParameterizedMetric'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_PARAMETERIZEDMETRIC
,
__module__
=
'object_detection.protos.eval_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.ParameterizedMetric)
))
_sym_db
.
RegisterMessage
(
ParameterizedMetric
)
CocoKeypointMetrics
=
_reflection
.
GeneratedProtocolMessageType
(
'CocoKeypointMetrics'
,
(
_message
.
Message
,),
dict
(
KeypointLabelToSigmasEntry
=
_reflection
.
GeneratedProtocolMessageType
(
'KeypointLabelToSigmasEntry'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_COCOKEYPOINTMETRICS_KEYPOINTLABELTOSIGMASENTRY
,
__module__
=
'object_detection.protos.eval_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.CocoKeypointMetrics.KeypointLabelToSigmasEntry)
))
,
DESCRIPTOR
=
_COCOKEYPOINTMETRICS
,
__module__
=
'object_detection.protos.eval_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.CocoKeypointMetrics)
))
_sym_db
.
RegisterMessage
(
CocoKeypointMetrics
)
_sym_db
.
RegisterMessage
(
CocoKeypointMetrics
.
KeypointLabelToSigmasEntry
)
KeypointEdge
=
_reflection
.
GeneratedProtocolMessageType
(
'KeypointEdge'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_KEYPOINTEDGE
,
__module__
=
'object_detection.protos.eval_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.KeypointEdge)
))
_sym_db
.
RegisterMessage
(
KeypointEdge
)
_EVALCONFIG
.
fields_by_name
[
'num_examples'
].
has_options
=
True
_EVALCONFIG
.
fields_by_name
[
'num_examples'
].
_options
=
_descriptor
.
_ParseOptions
(
descriptor_pb2
.
FieldOptions
(),
_b
(
'
\030\001
'
))
_EVALCONFIG
.
fields_by_name
[
'max_evals'
].
has_options
=
True
_EVALCONFIG
.
fields_by_name
[
'max_evals'
].
_options
=
_descriptor
.
_ParseOptions
(
descriptor_pb2
.
FieldOptions
(),
_b
(
'
\030\001
'
))
_COCOKEYPOINTMETRICS_KEYPOINTLABELTOSIGMASENTRY
.
has_options
=
True
_COCOKEYPOINTMETRICS_KEYPOINTLABELTOSIGMASENTRY
.
_options
=
_descriptor
.
_ParseOptions
(
descriptor_pb2
.
MessageOptions
(),
_b
(
'8
\001
'
))
# @@protoc_insertion_point(module_scope)
research/object_detection/protos/faster_rcnn_box_coder_pb2.py
0 → 100644
View file @
bb16d5ca
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: object_detection/protos/faster_rcnn_box_coder.proto
import
sys
_b
=
sys
.
version_info
[
0
]
<
3
and
(
lambda
x
:
x
)
or
(
lambda
x
:
x
.
encode
(
'latin1'
))
from
google.protobuf
import
descriptor
as
_descriptor
from
google.protobuf
import
message
as
_message
from
google.protobuf
import
reflection
as
_reflection
from
google.protobuf
import
symbol_database
as
_symbol_database
from
google.protobuf
import
descriptor_pb2
# @@protoc_insertion_point(imports)
_sym_db
=
_symbol_database
.
Default
()
DESCRIPTOR
=
_descriptor
.
FileDescriptor
(
name
=
'object_detection/protos/faster_rcnn_box_coder.proto'
,
package
=
'object_detection.protos'
,
syntax
=
'proto2'
,
serialized_pb
=
_b
(
'
\n
3object_detection/protos/faster_rcnn_box_coder.proto
\x12\x17
object_detection.protos
\"
o
\n\x12\x46\x61
sterRcnnBoxCoder
\x12\x13\n\x07
y_scale
\x18\x01
\x01
(
\x02
:
\x02\x31\x30\x12\x13\n\x07
x_scale
\x18\x02
\x01
(
\x02
:
\x02\x31\x30\x12\x17\n\x0c
height_scale
\x18\x03
\x01
(
\x02
:
\x01\x35\x12\x16\n\x0b
width_scale
\x18\x04
\x01
(
\x02
:
\x01\x35
'
)
)
_sym_db
.
RegisterFileDescriptor
(
DESCRIPTOR
)
_FASTERRCNNBOXCODER
=
_descriptor
.
Descriptor
(
name
=
'FasterRcnnBoxCoder'
,
full_name
=
'object_detection.protos.FasterRcnnBoxCoder'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'y_scale'
,
full_name
=
'object_detection.protos.FasterRcnnBoxCoder.y_scale'
,
index
=
0
,
number
=
1
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
10
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'x_scale'
,
full_name
=
'object_detection.protos.FasterRcnnBoxCoder.x_scale'
,
index
=
1
,
number
=
2
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
10
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'height_scale'
,
full_name
=
'object_detection.protos.FasterRcnnBoxCoder.height_scale'
,
index
=
2
,
number
=
3
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
5
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'width_scale'
,
full_name
=
'object_detection.protos.FasterRcnnBoxCoder.width_scale'
,
index
=
3
,
number
=
4
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
5
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
80
,
serialized_end
=
191
,
)
DESCRIPTOR
.
message_types_by_name
[
'FasterRcnnBoxCoder'
]
=
_FASTERRCNNBOXCODER
FasterRcnnBoxCoder
=
_reflection
.
GeneratedProtocolMessageType
(
'FasterRcnnBoxCoder'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_FASTERRCNNBOXCODER
,
__module__
=
'object_detection.protos.faster_rcnn_box_coder_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.FasterRcnnBoxCoder)
))
_sym_db
.
RegisterMessage
(
FasterRcnnBoxCoder
)
# @@protoc_insertion_point(module_scope)
research/object_detection/protos/faster_rcnn_pb2.py
0 → 100644
View file @
bb16d5ca
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: object_detection/protos/faster_rcnn.proto
import
sys
_b
=
sys
.
version_info
[
0
]
<
3
and
(
lambda
x
:
x
)
or
(
lambda
x
:
x
.
encode
(
'latin1'
))
from
google.protobuf
import
descriptor
as
_descriptor
from
google.protobuf
import
message
as
_message
from
google.protobuf
import
reflection
as
_reflection
from
google.protobuf
import
symbol_database
as
_symbol_database
from
google.protobuf
import
descriptor_pb2
# @@protoc_insertion_point(imports)
_sym_db
=
_symbol_database
.
Default
()
from
object_detection.protos
import
anchor_generator_pb2
as
object__detection_dot_protos_dot_anchor__generator__pb2
from
object_detection.protos
import
box_predictor_pb2
as
object__detection_dot_protos_dot_box__predictor__pb2
from
object_detection.protos
import
hyperparams_pb2
as
object__detection_dot_protos_dot_hyperparams__pb2
from
object_detection.protos
import
image_resizer_pb2
as
object__detection_dot_protos_dot_image__resizer__pb2
from
object_detection.protos
import
losses_pb2
as
object__detection_dot_protos_dot_losses__pb2
from
object_detection.protos
import
post_processing_pb2
as
object__detection_dot_protos_dot_post__processing__pb2
DESCRIPTOR
=
_descriptor
.
FileDescriptor
(
name
=
'object_detection/protos/faster_rcnn.proto'
,
package
=
'object_detection.protos'
,
syntax
=
'proto2'
,
serialized_pb
=
_b
(
'
\n
)object_detection/protos/faster_rcnn.proto
\x12\x17
object_detection.protos
\x1a
.object_detection/protos/anchor_generator.proto
\x1a
+object_detection/protos/box_predictor.proto
\x1a
)object_detection/protos/hyperparams.proto
\x1a
+object_detection/protos/image_resizer.proto
\x1a
$object_detection/protos/losses.proto
\x1a
-object_detection/protos/post_processing.proto
\"\xe9\x0f\n\n
FasterRcnn
\x12\x1b\n\x10
number_of_stages
\x18\x01
\x01
(
\x05
:
\x01\x32\x12\x13\n\x0b
num_classes
\x18\x03
\x01
(
\x05\x12
<
\n\r
image_resizer
\x18\x04
\x01
(
\x0b\x32
%.object_detection.protos.ImageResizer
\x12
N
\n\x11\x66\x65\x61
ture_extractor
\x18\x05
\x01
(
\x0b\x32\x33
.object_detection.protos.FasterRcnnFeatureExtractor
\x12
N
\n\x1c\x66
irst_stage_anchor_generator
\x18\x06
\x01
(
\x0b\x32
(.object_detection.protos.AnchorGenerator
\x12\"\n\x17\x66
irst_stage_atrous_rate
\x18\x07
\x01
(
\x05
:
\x01\x31\x12
X
\n
*first_stage_box_predictor_conv_hyperparams
\x18\x08
\x01
(
\x0b\x32
$.object_detection.protos.Hyperparams
\x12\x30\n
%first_stage_box_predictor_kernel_size
\x18\t
\x01
(
\x05
:
\x01\x33\x12
,
\n\x1f\x66
irst_stage_box_predictor_depth
\x18\n
\x01
(
\x05
:
\x03\x35\x31\x32\x12\'\n\x1a\x66
irst_stage_minibatch_size
\x18\x0b
\x01
(
\x05
:
\x03\x32\x35\x36\x12\x32\n
%first_stage_positive_balance_fraction
\x18\x0c
\x01
(
\x02
:
\x03\x30
.5
\x12
*
\n\x1f\x66
irst_stage_nms_score_threshold
\x18\r
\x01
(
\x02
:
\x01\x30\x12
*
\n\x1d\x66
irst_stage_nms_iou_threshold
\x18\x0e
\x01
(
\x02
:
\x03\x30
.7
\x12
&
\n\x19\x66
irst_stage_max_proposals
\x18\x0f
\x01
(
\x05
:
\x03\x33\x30\x30\x12
/
\n
$first_stage_localization_loss_weight
\x18\x10
\x01
(
\x02
:
\x01\x31\x12
-
\n\"
first_stage_objectness_loss_weight
\x18\x11
\x01
(
\x02
:
\x01\x31\x12\x19\n\x11
initial_crop_size
\x18\x12
\x01
(
\x05\x12\x1b\n\x13
maxpool_kernel_size
\x18\x13
\x01
(
\x05\x12\x16\n\x0e
maxpool_stride
\x18\x14
\x01
(
\x05\x12
I
\n\x1a
second_stage_box_predictor
\x18\x15
\x01
(
\x0b\x32
%.object_detection.protos.BoxPredictor
\x12
#
\n\x17
second_stage_batch_size
\x18\x16
\x01
(
\x05
:
\x02\x36\x34\x12
+
\n\x1d
second_stage_balance_fraction
\x18\x17
\x01
(
\x02
:
\x04\x30
.25
\x12
M
\n\x1c
second_stage_post_processing
\x18\x18
\x01
(
\x0b\x32\'
.object_detection.protos.PostProcessing
\x12\x30\n
%second_stage_localization_loss_weight
\x18\x19
\x01
(
\x02
:
\x01\x31\x12\x32\n\'
second_stage_classification_loss_weight
\x18\x1a
\x01
(
\x02
:
\x01\x31\x12\x33\n
(second_stage_mask_prediction_loss_weight
\x18\x1b
\x01
(
\x02
:
\x01\x31\x12\x45\n\x12
hard_example_miner
\x18\x1c
\x01
(
\x0b\x32
).object_detection.protos.HardExampleMiner
\x12
U
\n
second_stage_classification_loss
\x18\x1d
\x01
(
\x0b\x32
+.object_detection.protos.ClassificationLoss
\x12\'\n\x18
inplace_batchnorm_update
\x18\x1e
\x01
(
\x08
:
\x05\x66\x61
lse
\x12
)
\n\x1a
use_matmul_crop_and_resize
\x18\x1f
\x01
(
\x08
:
\x05\x66\x61
lse
\x12
$
\n\x15\x63
lip_anchors_to_image
\x18
\x01
(
\x08
:
\x05\x66\x61
lse
\x12
+
\n\x1c
use_matmul_gather_in_matcher
\x18
!
\x01
(
\x08
:
\x05\x66\x61
lse
\x12\x30\n
!use_static_balanced_label_sampler
\x18\"
\x01
(
\x08
:
\x05\x66\x61
lse
\x12
\n\x11
use_static_shapes
\x18
#
\x01
(
\x08
:
\x05\x66\x61
lse
\x12\x1a\n\x0c
resize_masks
\x18
$
\x01
(
\x08
:
\x04
true
\x12
)
\n\x1a
use_static_shapes_for_eval
\x18
%
\x01
(
\x08
:
\x05\x66\x61
lse
\x12\x30\n\"
use_partitioned_nms_in_first_stage
\x18
&
\x01
(
\x08
:
\x04
true
\x12\x33\n
$return_raw_detections_during_predict
\x18\'
\x01
(
\x08
:
\x05\x66\x61
lse
\x12
.
\n\x1f
use_combined_nms_in_first_stage
\x18
(
\x01
(
\x08
:
\x05\x66\x61
lse
\x12
(
\n\x19
output_final_box_features
\x18
*
\x01
(
\x08
:
\x05\x66\x61
lse
\x12\x38\n\x0e\x63
ontext_config
\x18
)
\x01
(
\x0b\x32
.object_detection.protos.Context
\"\xaa\x01\n\x07\x43
ontext
\x12
&
\n\x18
max_num_context_features
\x18\x01
\x01
(
\x05
:
\x04\x32\x30\x30\x30\x12
,
\n\x1e\x61
ttention_bottleneck_dimension
\x18\x02
\x01
(
\x05
:
\x04\x32\x30\x34\x38\x12
#
\n\x15\x61
ttention_temperature
\x18\x03
\x01
(
\x02
:
\x04\x30
.01
\x12
$
\n\x16\x63
ontext_feature_length
\x18\x04
\x01
(
\x05
:
\x04\x32\x30\x35\x37\"
x
\n\x1a\x46\x61
sterRcnnFeatureExtractor
\x12\x0c\n\x04
type
\x18\x01
\x01
(
\t\x12\'\n\x1b\x66
irst_stage_features_stride
\x18\x02
\x01
(
\x05
:
\x02\x31\x36\x12
#
\n\x14\x62\x61
tch_norm_trainable
\x18\x03
\x01
(
\x08
:
\x05\x66\x61
lse'
)
,
dependencies
=
[
object__detection_dot_protos_dot_anchor__generator__pb2
.
DESCRIPTOR
,
object__detection_dot_protos_dot_box__predictor__pb2
.
DESCRIPTOR
,
object__detection_dot_protos_dot_hyperparams__pb2
.
DESCRIPTOR
,
object__detection_dot_protos_dot_image__resizer__pb2
.
DESCRIPTOR
,
object__detection_dot_protos_dot_losses__pb2
.
DESCRIPTOR
,
object__detection_dot_protos_dot_post__processing__pb2
.
DESCRIPTOR
,])
_sym_db
.
RegisterFileDescriptor
(
DESCRIPTOR
)
_FASTERRCNN
=
_descriptor
.
Descriptor
(
name
=
'FasterRcnn'
,
full_name
=
'object_detection.protos.FasterRcnn'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'number_of_stages'
,
full_name
=
'object_detection.protos.FasterRcnn.number_of_stages'
,
index
=
0
,
number
=
1
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
2
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'num_classes'
,
full_name
=
'object_detection.protos.FasterRcnn.num_classes'
,
index
=
1
,
number
=
3
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'image_resizer'
,
full_name
=
'object_detection.protos.FasterRcnn.image_resizer'
,
index
=
2
,
number
=
4
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'feature_extractor'
,
full_name
=
'object_detection.protos.FasterRcnn.feature_extractor'
,
index
=
3
,
number
=
5
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'first_stage_anchor_generator'
,
full_name
=
'object_detection.protos.FasterRcnn.first_stage_anchor_generator'
,
index
=
4
,
number
=
6
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'first_stage_atrous_rate'
,
full_name
=
'object_detection.protos.FasterRcnn.first_stage_atrous_rate'
,
index
=
5
,
number
=
7
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
1
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'first_stage_box_predictor_conv_hyperparams'
,
full_name
=
'object_detection.protos.FasterRcnn.first_stage_box_predictor_conv_hyperparams'
,
index
=
6
,
number
=
8
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'first_stage_box_predictor_kernel_size'
,
full_name
=
'object_detection.protos.FasterRcnn.first_stage_box_predictor_kernel_size'
,
index
=
7
,
number
=
9
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
3
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'first_stage_box_predictor_depth'
,
full_name
=
'object_detection.protos.FasterRcnn.first_stage_box_predictor_depth'
,
index
=
8
,
number
=
10
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
512
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'first_stage_minibatch_size'
,
full_name
=
'object_detection.protos.FasterRcnn.first_stage_minibatch_size'
,
index
=
9
,
number
=
11
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
256
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'first_stage_positive_balance_fraction'
,
full_name
=
'object_detection.protos.FasterRcnn.first_stage_positive_balance_fraction'
,
index
=
10
,
number
=
12
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
0.5
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'first_stage_nms_score_threshold'
,
full_name
=
'object_detection.protos.FasterRcnn.first_stage_nms_score_threshold'
,
index
=
11
,
number
=
13
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
0
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'first_stage_nms_iou_threshold'
,
full_name
=
'object_detection.protos.FasterRcnn.first_stage_nms_iou_threshold'
,
index
=
12
,
number
=
14
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
0.7
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'first_stage_max_proposals'
,
full_name
=
'object_detection.protos.FasterRcnn.first_stage_max_proposals'
,
index
=
13
,
number
=
15
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
300
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'first_stage_localization_loss_weight'
,
full_name
=
'object_detection.protos.FasterRcnn.first_stage_localization_loss_weight'
,
index
=
14
,
number
=
16
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
1
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'first_stage_objectness_loss_weight'
,
full_name
=
'object_detection.protos.FasterRcnn.first_stage_objectness_loss_weight'
,
index
=
15
,
number
=
17
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
1
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'initial_crop_size'
,
full_name
=
'object_detection.protos.FasterRcnn.initial_crop_size'
,
index
=
16
,
number
=
18
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'maxpool_kernel_size'
,
full_name
=
'object_detection.protos.FasterRcnn.maxpool_kernel_size'
,
index
=
17
,
number
=
19
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'maxpool_stride'
,
full_name
=
'object_detection.protos.FasterRcnn.maxpool_stride'
,
index
=
18
,
number
=
20
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'second_stage_box_predictor'
,
full_name
=
'object_detection.protos.FasterRcnn.second_stage_box_predictor'
,
index
=
19
,
number
=
21
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'second_stage_batch_size'
,
full_name
=
'object_detection.protos.FasterRcnn.second_stage_batch_size'
,
index
=
20
,
number
=
22
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
64
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'second_stage_balance_fraction'
,
full_name
=
'object_detection.protos.FasterRcnn.second_stage_balance_fraction'
,
index
=
21
,
number
=
23
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
0.25
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'second_stage_post_processing'
,
full_name
=
'object_detection.protos.FasterRcnn.second_stage_post_processing'
,
index
=
22
,
number
=
24
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'second_stage_localization_loss_weight'
,
full_name
=
'object_detection.protos.FasterRcnn.second_stage_localization_loss_weight'
,
index
=
23
,
number
=
25
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
1
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'second_stage_classification_loss_weight'
,
full_name
=
'object_detection.protos.FasterRcnn.second_stage_classification_loss_weight'
,
index
=
24
,
number
=
26
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
1
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'second_stage_mask_prediction_loss_weight'
,
full_name
=
'object_detection.protos.FasterRcnn.second_stage_mask_prediction_loss_weight'
,
index
=
25
,
number
=
27
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
1
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'hard_example_miner'
,
full_name
=
'object_detection.protos.FasterRcnn.hard_example_miner'
,
index
=
26
,
number
=
28
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'second_stage_classification_loss'
,
full_name
=
'object_detection.protos.FasterRcnn.second_stage_classification_loss'
,
index
=
27
,
number
=
29
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'inplace_batchnorm_update'
,
full_name
=
'object_detection.protos.FasterRcnn.inplace_batchnorm_update'
,
index
=
28
,
number
=
30
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'use_matmul_crop_and_resize'
,
full_name
=
'object_detection.protos.FasterRcnn.use_matmul_crop_and_resize'
,
index
=
29
,
number
=
31
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'clip_anchors_to_image'
,
full_name
=
'object_detection.protos.FasterRcnn.clip_anchors_to_image'
,
index
=
30
,
number
=
32
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'use_matmul_gather_in_matcher'
,
full_name
=
'object_detection.protos.FasterRcnn.use_matmul_gather_in_matcher'
,
index
=
31
,
number
=
33
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'use_static_balanced_label_sampler'
,
full_name
=
'object_detection.protos.FasterRcnn.use_static_balanced_label_sampler'
,
index
=
32
,
number
=
34
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'use_static_shapes'
,
full_name
=
'object_detection.protos.FasterRcnn.use_static_shapes'
,
index
=
33
,
number
=
35
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'resize_masks'
,
full_name
=
'object_detection.protos.FasterRcnn.resize_masks'
,
index
=
34
,
number
=
36
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
True
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'use_static_shapes_for_eval'
,
full_name
=
'object_detection.protos.FasterRcnn.use_static_shapes_for_eval'
,
index
=
35
,
number
=
37
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'use_partitioned_nms_in_first_stage'
,
full_name
=
'object_detection.protos.FasterRcnn.use_partitioned_nms_in_first_stage'
,
index
=
36
,
number
=
38
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
True
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'return_raw_detections_during_predict'
,
full_name
=
'object_detection.protos.FasterRcnn.return_raw_detections_during_predict'
,
index
=
37
,
number
=
39
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'use_combined_nms_in_first_stage'
,
full_name
=
'object_detection.protos.FasterRcnn.use_combined_nms_in_first_stage'
,
index
=
38
,
number
=
40
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'output_final_box_features'
,
full_name
=
'object_detection.protos.FasterRcnn.output_final_box_features'
,
index
=
39
,
number
=
42
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'context_config'
,
full_name
=
'object_detection.protos.FasterRcnn.context_config'
,
index
=
40
,
number
=
41
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
337
,
serialized_end
=
2362
,
)
_CONTEXT
=
_descriptor
.
Descriptor
(
name
=
'Context'
,
full_name
=
'object_detection.protos.Context'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'max_num_context_features'
,
full_name
=
'object_detection.protos.Context.max_num_context_features'
,
index
=
0
,
number
=
1
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
2000
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'attention_bottleneck_dimension'
,
full_name
=
'object_detection.protos.Context.attention_bottleneck_dimension'
,
index
=
1
,
number
=
2
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
2048
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'attention_temperature'
,
full_name
=
'object_detection.protos.Context.attention_temperature'
,
index
=
2
,
number
=
3
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
0.01
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'context_feature_length'
,
full_name
=
'object_detection.protos.Context.context_feature_length'
,
index
=
3
,
number
=
4
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
2057
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
2365
,
serialized_end
=
2535
,
)
_FASTERRCNNFEATUREEXTRACTOR
=
_descriptor
.
Descriptor
(
name
=
'FasterRcnnFeatureExtractor'
,
full_name
=
'object_detection.protos.FasterRcnnFeatureExtractor'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'type'
,
full_name
=
'object_detection.protos.FasterRcnnFeatureExtractor.type'
,
index
=
0
,
number
=
1
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'first_stage_features_stride'
,
full_name
=
'object_detection.protos.FasterRcnnFeatureExtractor.first_stage_features_stride'
,
index
=
1
,
number
=
2
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
16
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'batch_norm_trainable'
,
full_name
=
'object_detection.protos.FasterRcnnFeatureExtractor.batch_norm_trainable'
,
index
=
2
,
number
=
3
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
2537
,
serialized_end
=
2657
,
)
_FASTERRCNN
.
fields_by_name
[
'image_resizer'
].
message_type
=
object__detection_dot_protos_dot_image__resizer__pb2
.
_IMAGERESIZER
_FASTERRCNN
.
fields_by_name
[
'feature_extractor'
].
message_type
=
_FASTERRCNNFEATUREEXTRACTOR
_FASTERRCNN
.
fields_by_name
[
'first_stage_anchor_generator'
].
message_type
=
object__detection_dot_protos_dot_anchor__generator__pb2
.
_ANCHORGENERATOR
_FASTERRCNN
.
fields_by_name
[
'first_stage_box_predictor_conv_hyperparams'
].
message_type
=
object__detection_dot_protos_dot_hyperparams__pb2
.
_HYPERPARAMS
_FASTERRCNN
.
fields_by_name
[
'second_stage_box_predictor'
].
message_type
=
object__detection_dot_protos_dot_box__predictor__pb2
.
_BOXPREDICTOR
_FASTERRCNN
.
fields_by_name
[
'second_stage_post_processing'
].
message_type
=
object__detection_dot_protos_dot_post__processing__pb2
.
_POSTPROCESSING
_FASTERRCNN
.
fields_by_name
[
'hard_example_miner'
].
message_type
=
object__detection_dot_protos_dot_losses__pb2
.
_HARDEXAMPLEMINER
_FASTERRCNN
.
fields_by_name
[
'second_stage_classification_loss'
].
message_type
=
object__detection_dot_protos_dot_losses__pb2
.
_CLASSIFICATIONLOSS
_FASTERRCNN
.
fields_by_name
[
'context_config'
].
message_type
=
_CONTEXT
DESCRIPTOR
.
message_types_by_name
[
'FasterRcnn'
]
=
_FASTERRCNN
DESCRIPTOR
.
message_types_by_name
[
'Context'
]
=
_CONTEXT
DESCRIPTOR
.
message_types_by_name
[
'FasterRcnnFeatureExtractor'
]
=
_FASTERRCNNFEATUREEXTRACTOR
FasterRcnn
=
_reflection
.
GeneratedProtocolMessageType
(
'FasterRcnn'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_FASTERRCNN
,
__module__
=
'object_detection.protos.faster_rcnn_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.FasterRcnn)
))
_sym_db
.
RegisterMessage
(
FasterRcnn
)
Context
=
_reflection
.
GeneratedProtocolMessageType
(
'Context'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_CONTEXT
,
__module__
=
'object_detection.protos.faster_rcnn_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.Context)
))
_sym_db
.
RegisterMessage
(
Context
)
FasterRcnnFeatureExtractor
=
_reflection
.
GeneratedProtocolMessageType
(
'FasterRcnnFeatureExtractor'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_FASTERRCNNFEATUREEXTRACTOR
,
__module__
=
'object_detection.protos.faster_rcnn_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.FasterRcnnFeatureExtractor)
))
_sym_db
.
RegisterMessage
(
FasterRcnnFeatureExtractor
)
# @@protoc_insertion_point(module_scope)
research/object_detection/protos/flexible_grid_anchor_generator_pb2.py
0 → 100644
View file @
bb16d5ca
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: object_detection/protos/flexible_grid_anchor_generator.proto
import
sys
_b
=
sys
.
version_info
[
0
]
<
3
and
(
lambda
x
:
x
)
or
(
lambda
x
:
x
.
encode
(
'latin1'
))
from
google.protobuf
import
descriptor
as
_descriptor
from
google.protobuf
import
message
as
_message
from
google.protobuf
import
reflection
as
_reflection
from
google.protobuf
import
symbol_database
as
_symbol_database
from
google.protobuf
import
descriptor_pb2
# @@protoc_insertion_point(imports)
_sym_db
=
_symbol_database
.
Default
()
DESCRIPTOR
=
_descriptor
.
FileDescriptor
(
name
=
'object_detection/protos/flexible_grid_anchor_generator.proto'
,
package
=
'object_detection.protos'
,
syntax
=
'proto2'
,
serialized_pb
=
_b
(
'
\n
<object_detection/protos/flexible_grid_anchor_generator.proto
\x12\x17
object_detection.protos
\"
|
\n\x1b\x46
lexibleGridAnchorGenerator
\x12\x38\n\x0b\x61
nchor_grid
\x18\x01
\x03
(
\x0b\x32
#.object_detection.protos.AnchorGrid
\x12
#
\n\x15
normalize_coordinates
\x18\x02
\x01
(
\x08
:
\x04
true
\"\x97\x01\n\n
AnchorGrid
\x12\x12\n\n
base_sizes
\x18\x01
\x03
(
\x02\x12\x15\n\r
aspect_ratios
\x18\x02
\x03
(
\x02\x12\x15\n\r
height_stride
\x18\x03
\x01
(
\r\x12\x14\n\x0c
width_stride
\x18\x04
\x01
(
\r\x12\x18\n\r
height_offset
\x18\x05
\x01
(
\r
:
\x01\x30\x12\x17\n\x0c
width_offset
\x18\x06
\x01
(
\r
:
\x01\x30
'
)
)
_sym_db
.
RegisterFileDescriptor
(
DESCRIPTOR
)
_FLEXIBLEGRIDANCHORGENERATOR
=
_descriptor
.
Descriptor
(
name
=
'FlexibleGridAnchorGenerator'
,
full_name
=
'object_detection.protos.FlexibleGridAnchorGenerator'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'anchor_grid'
,
full_name
=
'object_detection.protos.FlexibleGridAnchorGenerator.anchor_grid'
,
index
=
0
,
number
=
1
,
type
=
11
,
cpp_type
=
10
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'normalize_coordinates'
,
full_name
=
'object_detection.protos.FlexibleGridAnchorGenerator.normalize_coordinates'
,
index
=
1
,
number
=
2
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
True
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
89
,
serialized_end
=
213
,
)
_ANCHORGRID
=
_descriptor
.
Descriptor
(
name
=
'AnchorGrid'
,
full_name
=
'object_detection.protos.AnchorGrid'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'base_sizes'
,
full_name
=
'object_detection.protos.AnchorGrid.base_sizes'
,
index
=
0
,
number
=
1
,
type
=
2
,
cpp_type
=
6
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'aspect_ratios'
,
full_name
=
'object_detection.protos.AnchorGrid.aspect_ratios'
,
index
=
1
,
number
=
2
,
type
=
2
,
cpp_type
=
6
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'height_stride'
,
full_name
=
'object_detection.protos.AnchorGrid.height_stride'
,
index
=
2
,
number
=
3
,
type
=
13
,
cpp_type
=
3
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'width_stride'
,
full_name
=
'object_detection.protos.AnchorGrid.width_stride'
,
index
=
3
,
number
=
4
,
type
=
13
,
cpp_type
=
3
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'height_offset'
,
full_name
=
'object_detection.protos.AnchorGrid.height_offset'
,
index
=
4
,
number
=
5
,
type
=
13
,
cpp_type
=
3
,
label
=
1
,
has_default_value
=
True
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'width_offset'
,
full_name
=
'object_detection.protos.AnchorGrid.width_offset'
,
index
=
5
,
number
=
6
,
type
=
13
,
cpp_type
=
3
,
label
=
1
,
has_default_value
=
True
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
216
,
serialized_end
=
367
,
)
_FLEXIBLEGRIDANCHORGENERATOR
.
fields_by_name
[
'anchor_grid'
].
message_type
=
_ANCHORGRID
DESCRIPTOR
.
message_types_by_name
[
'FlexibleGridAnchorGenerator'
]
=
_FLEXIBLEGRIDANCHORGENERATOR
DESCRIPTOR
.
message_types_by_name
[
'AnchorGrid'
]
=
_ANCHORGRID
FlexibleGridAnchorGenerator
=
_reflection
.
GeneratedProtocolMessageType
(
'FlexibleGridAnchorGenerator'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_FLEXIBLEGRIDANCHORGENERATOR
,
__module__
=
'object_detection.protos.flexible_grid_anchor_generator_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.FlexibleGridAnchorGenerator)
))
_sym_db
.
RegisterMessage
(
FlexibleGridAnchorGenerator
)
AnchorGrid
=
_reflection
.
GeneratedProtocolMessageType
(
'AnchorGrid'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_ANCHORGRID
,
__module__
=
'object_detection.protos.flexible_grid_anchor_generator_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.AnchorGrid)
))
_sym_db
.
RegisterMessage
(
AnchorGrid
)
# @@protoc_insertion_point(module_scope)
research/object_detection/protos/graph_rewriter_pb2.py
0 → 100644
View file @
bb16d5ca
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: object_detection/protos/graph_rewriter.proto
import
sys
_b
=
sys
.
version_info
[
0
]
<
3
and
(
lambda
x
:
x
)
or
(
lambda
x
:
x
.
encode
(
'latin1'
))
from
google.protobuf
import
descriptor
as
_descriptor
from
google.protobuf
import
message
as
_message
from
google.protobuf
import
reflection
as
_reflection
from
google.protobuf
import
symbol_database
as
_symbol_database
from
google.protobuf
import
descriptor_pb2
# @@protoc_insertion_point(imports)
_sym_db
=
_symbol_database
.
Default
()
DESCRIPTOR
=
_descriptor
.
FileDescriptor
(
name
=
'object_detection/protos/graph_rewriter.proto'
,
package
=
'object_detection.protos'
,
syntax
=
'proto2'
,
serialized_pb
=
_b
(
'
\n
,object_detection/protos/graph_rewriter.proto
\x12\x17
object_detection.protos
\"
W
\n\r
GraphRewriter
\x12
;
\n\x0c
quantization
\x18\x01
\x01
(
\x0b\x32
%.object_detection.protos.Quantization*
\t\x08\xe8\x07\x10\x80\x80\x80\x80\x02\"
s
\n\x0c
Quantization
\x12\x15\n\x05\x64\x65
lay
\x18\x01
\x01
(
\x05
:
\x06\x35\x30\x30\x30\x30\x30\x12\x16\n\x0b
weight_bits
\x18\x02
\x01
(
\x05
:
\x01\x38\x12\x1a\n\x0f\x61\x63
tivation_bits
\x18\x03
\x01
(
\x05
:
\x01\x38\x12\x18\n\t
symmetric
\x18\x04
\x01
(
\x08
:
\x05\x66\x61
lse'
)
)
_sym_db
.
RegisterFileDescriptor
(
DESCRIPTOR
)
_GRAPHREWRITER
=
_descriptor
.
Descriptor
(
name
=
'GraphRewriter'
,
full_name
=
'object_detection.protos.GraphRewriter'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'quantization'
,
full_name
=
'object_detection.protos.GraphRewriter.quantization'
,
index
=
0
,
number
=
1
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
True
,
syntax
=
'proto2'
,
extension_ranges
=
[(
1000
,
536870912
),
],
oneofs
=
[
],
serialized_start
=
73
,
serialized_end
=
160
,
)
_QUANTIZATION
=
_descriptor
.
Descriptor
(
name
=
'Quantization'
,
full_name
=
'object_detection.protos.Quantization'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'delay'
,
full_name
=
'object_detection.protos.Quantization.delay'
,
index
=
0
,
number
=
1
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
500000
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'weight_bits'
,
full_name
=
'object_detection.protos.Quantization.weight_bits'
,
index
=
1
,
number
=
2
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
8
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'activation_bits'
,
full_name
=
'object_detection.protos.Quantization.activation_bits'
,
index
=
2
,
number
=
3
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
8
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'symmetric'
,
full_name
=
'object_detection.protos.Quantization.symmetric'
,
index
=
3
,
number
=
4
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
162
,
serialized_end
=
277
,
)
_GRAPHREWRITER
.
fields_by_name
[
'quantization'
].
message_type
=
_QUANTIZATION
DESCRIPTOR
.
message_types_by_name
[
'GraphRewriter'
]
=
_GRAPHREWRITER
DESCRIPTOR
.
message_types_by_name
[
'Quantization'
]
=
_QUANTIZATION
GraphRewriter
=
_reflection
.
GeneratedProtocolMessageType
(
'GraphRewriter'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_GRAPHREWRITER
,
__module__
=
'object_detection.protos.graph_rewriter_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.GraphRewriter)
))
_sym_db
.
RegisterMessage
(
GraphRewriter
)
Quantization
=
_reflection
.
GeneratedProtocolMessageType
(
'Quantization'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_QUANTIZATION
,
__module__
=
'object_detection.protos.graph_rewriter_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.Quantization)
))
_sym_db
.
RegisterMessage
(
Quantization
)
# @@protoc_insertion_point(module_scope)
research/object_detection/protos/grid_anchor_generator_pb2.py
0 → 100644
View file @
bb16d5ca
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: object_detection/protos/grid_anchor_generator.proto
import
sys
_b
=
sys
.
version_info
[
0
]
<
3
and
(
lambda
x
:
x
)
or
(
lambda
x
:
x
.
encode
(
'latin1'
))
from
google.protobuf
import
descriptor
as
_descriptor
from
google.protobuf
import
message
as
_message
from
google.protobuf
import
reflection
as
_reflection
from
google.protobuf
import
symbol_database
as
_symbol_database
from
google.protobuf
import
descriptor_pb2
# @@protoc_insertion_point(imports)
_sym_db
=
_symbol_database
.
Default
()
DESCRIPTOR
=
_descriptor
.
FileDescriptor
(
name
=
'object_detection/protos/grid_anchor_generator.proto'
,
package
=
'object_detection.protos'
,
syntax
=
'proto2'
,
serialized_pb
=
_b
(
'
\n
3object_detection/protos/grid_anchor_generator.proto
\x12\x17
object_detection.protos
\"\xcd\x01\n\x13
GridAnchorGenerator
\x12\x13\n\x06
height
\x18\x01
\x01
(
\x05
:
\x03\x32\x35\x36\x12\x12\n\x05
width
\x18\x02
\x01
(
\x05
:
\x03\x32\x35\x36\x12\x19\n\r
height_stride
\x18\x03
\x01
(
\x05
:
\x02\x31\x36\x12\x18\n\x0c
width_stride
\x18\x04
\x01
(
\x05
:
\x02\x31\x36\x12\x18\n\r
height_offset
\x18\x05
\x01
(
\x05
:
\x01\x30\x12\x17\n\x0c
width_offset
\x18\x06
\x01
(
\x05
:
\x01\x30\x12\x0e\n\x06
scales
\x18\x07
\x03
(
\x02\x12\x15\n\r
aspect_ratios
\x18\x08
\x03
(
\x02
'
)
)
_sym_db
.
RegisterFileDescriptor
(
DESCRIPTOR
)
_GRIDANCHORGENERATOR
=
_descriptor
.
Descriptor
(
name
=
'GridAnchorGenerator'
,
full_name
=
'object_detection.protos.GridAnchorGenerator'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'height'
,
full_name
=
'object_detection.protos.GridAnchorGenerator.height'
,
index
=
0
,
number
=
1
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
256
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'width'
,
full_name
=
'object_detection.protos.GridAnchorGenerator.width'
,
index
=
1
,
number
=
2
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
256
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'height_stride'
,
full_name
=
'object_detection.protos.GridAnchorGenerator.height_stride'
,
index
=
2
,
number
=
3
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
16
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'width_stride'
,
full_name
=
'object_detection.protos.GridAnchorGenerator.width_stride'
,
index
=
3
,
number
=
4
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
16
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'height_offset'
,
full_name
=
'object_detection.protos.GridAnchorGenerator.height_offset'
,
index
=
4
,
number
=
5
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'width_offset'
,
full_name
=
'object_detection.protos.GridAnchorGenerator.width_offset'
,
index
=
5
,
number
=
6
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'scales'
,
full_name
=
'object_detection.protos.GridAnchorGenerator.scales'
,
index
=
6
,
number
=
7
,
type
=
2
,
cpp_type
=
6
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'aspect_ratios'
,
full_name
=
'object_detection.protos.GridAnchorGenerator.aspect_ratios'
,
index
=
7
,
number
=
8
,
type
=
2
,
cpp_type
=
6
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
81
,
serialized_end
=
286
,
)
DESCRIPTOR
.
message_types_by_name
[
'GridAnchorGenerator'
]
=
_GRIDANCHORGENERATOR
GridAnchorGenerator
=
_reflection
.
GeneratedProtocolMessageType
(
'GridAnchorGenerator'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_GRIDANCHORGENERATOR
,
__module__
=
'object_detection.protos.grid_anchor_generator_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.GridAnchorGenerator)
))
_sym_db
.
RegisterMessage
(
GridAnchorGenerator
)
# @@protoc_insertion_point(module_scope)
research/object_detection/protos/hyperparams_pb2.py
0 → 100644
View file @
bb16d5ca
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: object_detection/protos/hyperparams.proto
import
sys
_b
=
sys
.
version_info
[
0
]
<
3
and
(
lambda
x
:
x
)
or
(
lambda
x
:
x
.
encode
(
'latin1'
))
from
google.protobuf
import
descriptor
as
_descriptor
from
google.protobuf
import
message
as
_message
from
google.protobuf
import
reflection
as
_reflection
from
google.protobuf
import
symbol_database
as
_symbol_database
from
google.protobuf
import
descriptor_pb2
# @@protoc_insertion_point(imports)
_sym_db
=
_symbol_database
.
Default
()
DESCRIPTOR
=
_descriptor
.
FileDescriptor
(
name
=
'object_detection/protos/hyperparams.proto'
,
package
=
'object_detection.protos'
,
syntax
=
'proto2'
,
serialized_pb
=
_b
(
'
\n
)object_detection/protos/hyperparams.proto
\x12\x17
object_detection.protos
\"\xa6\x04\n\x0b
Hyperparams
\x12\x39\n\x02
op
\x18\x01
\x01
(
\x0e\x32\'
.object_detection.protos.Hyperparams.Op:
\x04\x43
ONV
\x12\x39\n\x0b
regularizer
\x18\x02
\x01
(
\x0b\x32
$.object_detection.protos.Regularizer
\x12\x39\n\x0b
initializer
\x18\x03
\x01
(
\x0b\x32
$.object_detection.protos.Initializer
\x12
I
\n\n
activation
\x18\x04
\x01
(
\x0e\x32
/.object_detection.protos.Hyperparams.Activation:
\x04
RELU
\x12\x38\n\n
batch_norm
\x18\x05
\x01
(
\x0b\x32\"
.object_detection.protos.BatchNormH
\x00\x12\x38\n\n
group_norm
\x18\x07
\x01
(
\x0b\x32\"
.object_detection.protos.GroupNormH
\x00\x12
#
\n\x14
regularize_depthwise
\x18\x06
\x01
(
\x08
:
\x05\x66\x61
lse
\x12\x1d\n\x0e\x66
orce_use_bias
\x18\x08
\x01
(
\x08
:
\x05\x66\x61
lse
\"\x16\n\x02
Op
\x12\x08\n\x04\x43
ONV
\x10\x01\x12\x06\n\x02\x46\x43\x10\x02\"
7
\n\n
Activation
\x12\x08\n\x04
NONE
\x10\x00\x12\x08\n\x04
RELU
\x10\x01\x12\n\n\x06
RELU_6
\x10\x02\x12\t\n\x05
SWISH
\x10\x03\x42\x12\n\x10
normalizer_oneof
\"\xa6\x01\n\x0b
Regularizer
\x12
@
\n\x0e
l1_regularizer
\x18\x01
\x01
(
\x0b\x32
&.object_detection.protos.L1RegularizerH
\x00\x12
@
\n\x0e
l2_regularizer
\x18\x02
\x01
(
\x0b\x32
&.object_detection.protos.L2RegularizerH
\x00\x42\x13\n\x11
regularizer_oneof
\"\"\n\r
L1Regularizer
\x12\x11\n\x06
weight
\x18\x01
\x01
(
\x02
:
\x01\x31\"\"\n\r
L2Regularizer
\x12\x11\n\x06
weight
\x18\x01
\x01
(
\x02
:
\x01\x31\"\xb3\x02\n\x0b
Initializer
\x12
[
\n\x1c
truncated_normal_initializer
\x18\x01
\x01
(
\x0b\x32\x33
.object_detection.protos.TruncatedNormalInitializerH
\x00\x12
[
\n\x1c
variance_scaling_initializer
\x18\x02
\x01
(
\x0b\x32\x33
.object_detection.protos.VarianceScalingInitializerH
\x00\x12
U
\n\x19
random_normal_initializer
\x18\x03
\x01
(
\x0b\x32\x30
.object_detection.protos.RandomNormalInitializerH
\x00\x42\x13\n\x11
initializer_oneof
\"
@
\n\x1a
TruncatedNormalInitializer
\x12\x0f\n\x04
mean
\x18\x01
\x01
(
\x02
:
\x01\x30\x12\x11\n\x06
stddev
\x18\x02
\x01
(
\x02
:
\x01\x31\"\xc5\x01\n\x1a
VarianceScalingInitializer
\x12\x11\n\x06\x66\x61\x63
tor
\x18\x01
\x01
(
\x02
:
\x01\x32\x12\x16\n\x07
uniform
\x18\x02
\x01
(
\x08
:
\x05\x66\x61
lse
\x12
N
\n\x04
mode
\x18\x03
\x01
(
\x0e\x32\x38
.object_detection.protos.VarianceScalingInitializer.Mode:
\x06\x46\x41
N_IN
\"
,
\n\x04
Mode
\x12\n\n\x06\x46\x41
N_IN
\x10\x00\x12\x0b\n\x07\x46\x41
N_OUT
\x10\x01\x12\x0b\n\x07\x46\x41
N_AVG
\x10\x02\"
=
\n\x17
RandomNormalInitializer
\x12\x0f\n\x04
mean
\x18\x01
\x01
(
\x02
:
\x01\x30\x12\x11\n\x06
stddev
\x18\x02
\x01
(
\x02
:
\x01\x31\"
z
\n\t
BatchNorm
\x12\x14\n\x05\x64\x65\x63\x61
y
\x18\x01
\x01
(
\x02
:
\x05\x30
.999
\x12\x14\n\x06\x63\x65
nter
\x18\x02
\x01
(
\x08
:
\x04
true
\x12\x14\n\x05
scale
\x18\x03
\x01
(
\x08
:
\x05\x66\x61
lse
\x12\x16\n\x07\x65
psilon
\x18\x04
\x01
(
\x02
:
\x05\x30
.001
\x12\x13\n\x05
train
\x18\x05
\x01
(
\x08
:
\x04
true
\"\x0b\n\t
GroupNorm'
)
)
_sym_db
.
RegisterFileDescriptor
(
DESCRIPTOR
)
_HYPERPARAMS_OP
=
_descriptor
.
EnumDescriptor
(
name
=
'Op'
,
full_name
=
'object_detection.protos.Hyperparams.Op'
,
filename
=
None
,
file
=
DESCRIPTOR
,
values
=
[
_descriptor
.
EnumValueDescriptor
(
name
=
'CONV'
,
index
=
0
,
number
=
1
,
options
=
None
,
type
=
None
),
_descriptor
.
EnumValueDescriptor
(
name
=
'FC'
,
index
=
1
,
number
=
2
,
options
=
None
,
type
=
None
),
],
containing_type
=
None
,
options
=
None
,
serialized_start
=
522
,
serialized_end
=
544
,
)
_sym_db
.
RegisterEnumDescriptor
(
_HYPERPARAMS_OP
)
_HYPERPARAMS_ACTIVATION
=
_descriptor
.
EnumDescriptor
(
name
=
'Activation'
,
full_name
=
'object_detection.protos.Hyperparams.Activation'
,
filename
=
None
,
file
=
DESCRIPTOR
,
values
=
[
_descriptor
.
EnumValueDescriptor
(
name
=
'NONE'
,
index
=
0
,
number
=
0
,
options
=
None
,
type
=
None
),
_descriptor
.
EnumValueDescriptor
(
name
=
'RELU'
,
index
=
1
,
number
=
1
,
options
=
None
,
type
=
None
),
_descriptor
.
EnumValueDescriptor
(
name
=
'RELU_6'
,
index
=
2
,
number
=
2
,
options
=
None
,
type
=
None
),
_descriptor
.
EnumValueDescriptor
(
name
=
'SWISH'
,
index
=
3
,
number
=
3
,
options
=
None
,
type
=
None
),
],
containing_type
=
None
,
options
=
None
,
serialized_start
=
546
,
serialized_end
=
601
,
)
_sym_db
.
RegisterEnumDescriptor
(
_HYPERPARAMS_ACTIVATION
)
_VARIANCESCALINGINITIALIZER_MODE
=
_descriptor
.
EnumDescriptor
(
name
=
'Mode'
,
full_name
=
'object_detection.protos.VarianceScalingInitializer.Mode'
,
filename
=
None
,
file
=
DESCRIPTOR
,
values
=
[
_descriptor
.
EnumValueDescriptor
(
name
=
'FAN_IN'
,
index
=
0
,
number
=
0
,
options
=
None
,
type
=
None
),
_descriptor
.
EnumValueDescriptor
(
name
=
'FAN_OUT'
,
index
=
1
,
number
=
1
,
options
=
None
,
type
=
None
),
_descriptor
.
EnumValueDescriptor
(
name
=
'FAN_AVG'
,
index
=
2
,
number
=
2
,
options
=
None
,
type
=
None
),
],
containing_type
=
None
,
options
=
None
,
serialized_start
=
1394
,
serialized_end
=
1438
,
)
_sym_db
.
RegisterEnumDescriptor
(
_VARIANCESCALINGINITIALIZER_MODE
)
_HYPERPARAMS
=
_descriptor
.
Descriptor
(
name
=
'Hyperparams'
,
full_name
=
'object_detection.protos.Hyperparams'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'op'
,
full_name
=
'object_detection.protos.Hyperparams.op'
,
index
=
0
,
number
=
1
,
type
=
14
,
cpp_type
=
8
,
label
=
1
,
has_default_value
=
True
,
default_value
=
1
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'regularizer'
,
full_name
=
'object_detection.protos.Hyperparams.regularizer'
,
index
=
1
,
number
=
2
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'initializer'
,
full_name
=
'object_detection.protos.Hyperparams.initializer'
,
index
=
2
,
number
=
3
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'activation'
,
full_name
=
'object_detection.protos.Hyperparams.activation'
,
index
=
3
,
number
=
4
,
type
=
14
,
cpp_type
=
8
,
label
=
1
,
has_default_value
=
True
,
default_value
=
1
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'batch_norm'
,
full_name
=
'object_detection.protos.Hyperparams.batch_norm'
,
index
=
4
,
number
=
5
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'group_norm'
,
full_name
=
'object_detection.protos.Hyperparams.group_norm'
,
index
=
5
,
number
=
7
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'regularize_depthwise'
,
full_name
=
'object_detection.protos.Hyperparams.regularize_depthwise'
,
index
=
6
,
number
=
6
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'force_use_bias'
,
full_name
=
'object_detection.protos.Hyperparams.force_use_bias'
,
index
=
7
,
number
=
8
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
_HYPERPARAMS_OP
,
_HYPERPARAMS_ACTIVATION
,
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
_descriptor
.
OneofDescriptor
(
name
=
'normalizer_oneof'
,
full_name
=
'object_detection.protos.Hyperparams.normalizer_oneof'
,
index
=
0
,
containing_type
=
None
,
fields
=
[]),
],
serialized_start
=
71
,
serialized_end
=
621
,
)
_REGULARIZER
=
_descriptor
.
Descriptor
(
name
=
'Regularizer'
,
full_name
=
'object_detection.protos.Regularizer'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'l1_regularizer'
,
full_name
=
'object_detection.protos.Regularizer.l1_regularizer'
,
index
=
0
,
number
=
1
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'l2_regularizer'
,
full_name
=
'object_detection.protos.Regularizer.l2_regularizer'
,
index
=
1
,
number
=
2
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
_descriptor
.
OneofDescriptor
(
name
=
'regularizer_oneof'
,
full_name
=
'object_detection.protos.Regularizer.regularizer_oneof'
,
index
=
0
,
containing_type
=
None
,
fields
=
[]),
],
serialized_start
=
624
,
serialized_end
=
790
,
)
_L1REGULARIZER
=
_descriptor
.
Descriptor
(
name
=
'L1Regularizer'
,
full_name
=
'object_detection.protos.L1Regularizer'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'weight'
,
full_name
=
'object_detection.protos.L1Regularizer.weight'
,
index
=
0
,
number
=
1
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
1
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
792
,
serialized_end
=
826
,
)
_L2REGULARIZER
=
_descriptor
.
Descriptor
(
name
=
'L2Regularizer'
,
full_name
=
'object_detection.protos.L2Regularizer'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'weight'
,
full_name
=
'object_detection.protos.L2Regularizer.weight'
,
index
=
0
,
number
=
1
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
1
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
828
,
serialized_end
=
862
,
)
_INITIALIZER
=
_descriptor
.
Descriptor
(
name
=
'Initializer'
,
full_name
=
'object_detection.protos.Initializer'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'truncated_normal_initializer'
,
full_name
=
'object_detection.protos.Initializer.truncated_normal_initializer'
,
index
=
0
,
number
=
1
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'variance_scaling_initializer'
,
full_name
=
'object_detection.protos.Initializer.variance_scaling_initializer'
,
index
=
1
,
number
=
2
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'random_normal_initializer'
,
full_name
=
'object_detection.protos.Initializer.random_normal_initializer'
,
index
=
2
,
number
=
3
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
_descriptor
.
OneofDescriptor
(
name
=
'initializer_oneof'
,
full_name
=
'object_detection.protos.Initializer.initializer_oneof'
,
index
=
0
,
containing_type
=
None
,
fields
=
[]),
],
serialized_start
=
865
,
serialized_end
=
1172
,
)
_TRUNCATEDNORMALINITIALIZER
=
_descriptor
.
Descriptor
(
name
=
'TruncatedNormalInitializer'
,
full_name
=
'object_detection.protos.TruncatedNormalInitializer'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'mean'
,
full_name
=
'object_detection.protos.TruncatedNormalInitializer.mean'
,
index
=
0
,
number
=
1
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
0
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'stddev'
,
full_name
=
'object_detection.protos.TruncatedNormalInitializer.stddev'
,
index
=
1
,
number
=
2
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
1
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1174
,
serialized_end
=
1238
,
)
_VARIANCESCALINGINITIALIZER
=
_descriptor
.
Descriptor
(
name
=
'VarianceScalingInitializer'
,
full_name
=
'object_detection.protos.VarianceScalingInitializer'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'factor'
,
full_name
=
'object_detection.protos.VarianceScalingInitializer.factor'
,
index
=
0
,
number
=
1
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
2
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'uniform'
,
full_name
=
'object_detection.protos.VarianceScalingInitializer.uniform'
,
index
=
1
,
number
=
2
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'mode'
,
full_name
=
'object_detection.protos.VarianceScalingInitializer.mode'
,
index
=
2
,
number
=
3
,
type
=
14
,
cpp_type
=
8
,
label
=
1
,
has_default_value
=
True
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
_VARIANCESCALINGINITIALIZER_MODE
,
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1241
,
serialized_end
=
1438
,
)
_RANDOMNORMALINITIALIZER
=
_descriptor
.
Descriptor
(
name
=
'RandomNormalInitializer'
,
full_name
=
'object_detection.protos.RandomNormalInitializer'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'mean'
,
full_name
=
'object_detection.protos.RandomNormalInitializer.mean'
,
index
=
0
,
number
=
1
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
0
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'stddev'
,
full_name
=
'object_detection.protos.RandomNormalInitializer.stddev'
,
index
=
1
,
number
=
2
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
1
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1440
,
serialized_end
=
1501
,
)
_BATCHNORM
=
_descriptor
.
Descriptor
(
name
=
'BatchNorm'
,
full_name
=
'object_detection.protos.BatchNorm'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'decay'
,
full_name
=
'object_detection.protos.BatchNorm.decay'
,
index
=
0
,
number
=
1
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
0.999
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'center'
,
full_name
=
'object_detection.protos.BatchNorm.center'
,
index
=
1
,
number
=
2
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
True
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'scale'
,
full_name
=
'object_detection.protos.BatchNorm.scale'
,
index
=
2
,
number
=
3
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'epsilon'
,
full_name
=
'object_detection.protos.BatchNorm.epsilon'
,
index
=
3
,
number
=
4
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
0.001
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'train'
,
full_name
=
'object_detection.protos.BatchNorm.train'
,
index
=
4
,
number
=
5
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
True
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1503
,
serialized_end
=
1625
,
)
_GROUPNORM
=
_descriptor
.
Descriptor
(
name
=
'GroupNorm'
,
full_name
=
'object_detection.protos.GroupNorm'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1627
,
serialized_end
=
1638
,
)
_HYPERPARAMS
.
fields_by_name
[
'op'
].
enum_type
=
_HYPERPARAMS_OP
_HYPERPARAMS
.
fields_by_name
[
'regularizer'
].
message_type
=
_REGULARIZER
_HYPERPARAMS
.
fields_by_name
[
'initializer'
].
message_type
=
_INITIALIZER
_HYPERPARAMS
.
fields_by_name
[
'activation'
].
enum_type
=
_HYPERPARAMS_ACTIVATION
_HYPERPARAMS
.
fields_by_name
[
'batch_norm'
].
message_type
=
_BATCHNORM
_HYPERPARAMS
.
fields_by_name
[
'group_norm'
].
message_type
=
_GROUPNORM
_HYPERPARAMS_OP
.
containing_type
=
_HYPERPARAMS
_HYPERPARAMS_ACTIVATION
.
containing_type
=
_HYPERPARAMS
_HYPERPARAMS
.
oneofs_by_name
[
'normalizer_oneof'
].
fields
.
append
(
_HYPERPARAMS
.
fields_by_name
[
'batch_norm'
])
_HYPERPARAMS
.
fields_by_name
[
'batch_norm'
].
containing_oneof
=
_HYPERPARAMS
.
oneofs_by_name
[
'normalizer_oneof'
]
_HYPERPARAMS
.
oneofs_by_name
[
'normalizer_oneof'
].
fields
.
append
(
_HYPERPARAMS
.
fields_by_name
[
'group_norm'
])
_HYPERPARAMS
.
fields_by_name
[
'group_norm'
].
containing_oneof
=
_HYPERPARAMS
.
oneofs_by_name
[
'normalizer_oneof'
]
_REGULARIZER
.
fields_by_name
[
'l1_regularizer'
].
message_type
=
_L1REGULARIZER
_REGULARIZER
.
fields_by_name
[
'l2_regularizer'
].
message_type
=
_L2REGULARIZER
_REGULARIZER
.
oneofs_by_name
[
'regularizer_oneof'
].
fields
.
append
(
_REGULARIZER
.
fields_by_name
[
'l1_regularizer'
])
_REGULARIZER
.
fields_by_name
[
'l1_regularizer'
].
containing_oneof
=
_REGULARIZER
.
oneofs_by_name
[
'regularizer_oneof'
]
_REGULARIZER
.
oneofs_by_name
[
'regularizer_oneof'
].
fields
.
append
(
_REGULARIZER
.
fields_by_name
[
'l2_regularizer'
])
_REGULARIZER
.
fields_by_name
[
'l2_regularizer'
].
containing_oneof
=
_REGULARIZER
.
oneofs_by_name
[
'regularizer_oneof'
]
_INITIALIZER
.
fields_by_name
[
'truncated_normal_initializer'
].
message_type
=
_TRUNCATEDNORMALINITIALIZER
_INITIALIZER
.
fields_by_name
[
'variance_scaling_initializer'
].
message_type
=
_VARIANCESCALINGINITIALIZER
_INITIALIZER
.
fields_by_name
[
'random_normal_initializer'
].
message_type
=
_RANDOMNORMALINITIALIZER
_INITIALIZER
.
oneofs_by_name
[
'initializer_oneof'
].
fields
.
append
(
_INITIALIZER
.
fields_by_name
[
'truncated_normal_initializer'
])
_INITIALIZER
.
fields_by_name
[
'truncated_normal_initializer'
].
containing_oneof
=
_INITIALIZER
.
oneofs_by_name
[
'initializer_oneof'
]
_INITIALIZER
.
oneofs_by_name
[
'initializer_oneof'
].
fields
.
append
(
_INITIALIZER
.
fields_by_name
[
'variance_scaling_initializer'
])
_INITIALIZER
.
fields_by_name
[
'variance_scaling_initializer'
].
containing_oneof
=
_INITIALIZER
.
oneofs_by_name
[
'initializer_oneof'
]
_INITIALIZER
.
oneofs_by_name
[
'initializer_oneof'
].
fields
.
append
(
_INITIALIZER
.
fields_by_name
[
'random_normal_initializer'
])
_INITIALIZER
.
fields_by_name
[
'random_normal_initializer'
].
containing_oneof
=
_INITIALIZER
.
oneofs_by_name
[
'initializer_oneof'
]
_VARIANCESCALINGINITIALIZER
.
fields_by_name
[
'mode'
].
enum_type
=
_VARIANCESCALINGINITIALIZER_MODE
_VARIANCESCALINGINITIALIZER_MODE
.
containing_type
=
_VARIANCESCALINGINITIALIZER
DESCRIPTOR
.
message_types_by_name
[
'Hyperparams'
]
=
_HYPERPARAMS
DESCRIPTOR
.
message_types_by_name
[
'Regularizer'
]
=
_REGULARIZER
DESCRIPTOR
.
message_types_by_name
[
'L1Regularizer'
]
=
_L1REGULARIZER
DESCRIPTOR
.
message_types_by_name
[
'L2Regularizer'
]
=
_L2REGULARIZER
DESCRIPTOR
.
message_types_by_name
[
'Initializer'
]
=
_INITIALIZER
DESCRIPTOR
.
message_types_by_name
[
'TruncatedNormalInitializer'
]
=
_TRUNCATEDNORMALINITIALIZER
DESCRIPTOR
.
message_types_by_name
[
'VarianceScalingInitializer'
]
=
_VARIANCESCALINGINITIALIZER
DESCRIPTOR
.
message_types_by_name
[
'RandomNormalInitializer'
]
=
_RANDOMNORMALINITIALIZER
DESCRIPTOR
.
message_types_by_name
[
'BatchNorm'
]
=
_BATCHNORM
DESCRIPTOR
.
message_types_by_name
[
'GroupNorm'
]
=
_GROUPNORM
Hyperparams
=
_reflection
.
GeneratedProtocolMessageType
(
'Hyperparams'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_HYPERPARAMS
,
__module__
=
'object_detection.protos.hyperparams_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.Hyperparams)
))
_sym_db
.
RegisterMessage
(
Hyperparams
)
Regularizer
=
_reflection
.
GeneratedProtocolMessageType
(
'Regularizer'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_REGULARIZER
,
__module__
=
'object_detection.protos.hyperparams_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.Regularizer)
))
_sym_db
.
RegisterMessage
(
Regularizer
)
L1Regularizer
=
_reflection
.
GeneratedProtocolMessageType
(
'L1Regularizer'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_L1REGULARIZER
,
__module__
=
'object_detection.protos.hyperparams_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.L1Regularizer)
))
_sym_db
.
RegisterMessage
(
L1Regularizer
)
L2Regularizer
=
_reflection
.
GeneratedProtocolMessageType
(
'L2Regularizer'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_L2REGULARIZER
,
__module__
=
'object_detection.protos.hyperparams_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.L2Regularizer)
))
_sym_db
.
RegisterMessage
(
L2Regularizer
)
Initializer
=
_reflection
.
GeneratedProtocolMessageType
(
'Initializer'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_INITIALIZER
,
__module__
=
'object_detection.protos.hyperparams_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.Initializer)
))
_sym_db
.
RegisterMessage
(
Initializer
)
TruncatedNormalInitializer
=
_reflection
.
GeneratedProtocolMessageType
(
'TruncatedNormalInitializer'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_TRUNCATEDNORMALINITIALIZER
,
__module__
=
'object_detection.protos.hyperparams_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.TruncatedNormalInitializer)
))
_sym_db
.
RegisterMessage
(
TruncatedNormalInitializer
)
VarianceScalingInitializer
=
_reflection
.
GeneratedProtocolMessageType
(
'VarianceScalingInitializer'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_VARIANCESCALINGINITIALIZER
,
__module__
=
'object_detection.protos.hyperparams_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.VarianceScalingInitializer)
))
_sym_db
.
RegisterMessage
(
VarianceScalingInitializer
)
RandomNormalInitializer
=
_reflection
.
GeneratedProtocolMessageType
(
'RandomNormalInitializer'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_RANDOMNORMALINITIALIZER
,
__module__
=
'object_detection.protos.hyperparams_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.RandomNormalInitializer)
))
_sym_db
.
RegisterMessage
(
RandomNormalInitializer
)
BatchNorm
=
_reflection
.
GeneratedProtocolMessageType
(
'BatchNorm'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_BATCHNORM
,
__module__
=
'object_detection.protos.hyperparams_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.BatchNorm)
))
_sym_db
.
RegisterMessage
(
BatchNorm
)
GroupNorm
=
_reflection
.
GeneratedProtocolMessageType
(
'GroupNorm'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_GROUPNORM
,
__module__
=
'object_detection.protos.hyperparams_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.GroupNorm)
))
_sym_db
.
RegisterMessage
(
GroupNorm
)
# @@protoc_insertion_point(module_scope)
research/object_detection/protos/image_resizer_pb2.py
0 → 100644
View file @
bb16d5ca
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: object_detection/protos/image_resizer.proto
import
sys
_b
=
sys
.
version_info
[
0
]
<
3
and
(
lambda
x
:
x
)
or
(
lambda
x
:
x
.
encode
(
'latin1'
))
from
google.protobuf.internal
import
enum_type_wrapper
from
google.protobuf
import
descriptor
as
_descriptor
from
google.protobuf
import
message
as
_message
from
google.protobuf
import
reflection
as
_reflection
from
google.protobuf
import
symbol_database
as
_symbol_database
from
google.protobuf
import
descriptor_pb2
# @@protoc_insertion_point(imports)
_sym_db
=
_symbol_database
.
Default
()
DESCRIPTOR
=
_descriptor
.
FileDescriptor
(
name
=
'object_detection/protos/image_resizer.proto'
,
package
=
'object_detection.protos'
,
syntax
=
'proto2'
,
serialized_pb
=
_b
(
'
\n
+object_detection/protos/image_resizer.proto
\x12\x17
object_detection.protos
\"\xb5\x03\n\x0c
ImageResizer
\x12
T
\n\x19
keep_aspect_ratio_resizer
\x18\x01
\x01
(
\x0b\x32
/.object_detection.protos.KeepAspectRatioResizerH
\x00\x12
I
\n\x13\x66
ixed_shape_resizer
\x18\x02
\x01
(
\x0b\x32
*.object_detection.protos.FixedShapeResizerH
\x00\x12\x44\n\x10
identity_resizer
\x18\x03
\x01
(
\x0b\x32
(.object_detection.protos.IdentityResizerH
\x00\x12
U
\n\x19\x63
onditional_shape_resizer
\x18\x04
\x01
(
\x0b\x32\x30
.object_detection.protos.ConditionalShapeResizerH
\x00\x12
P
\n\x17
pad_to_multiple_resizer
\x18\x05
\x01
(
\x0b\x32
-.object_detection.protos.PadToMultipleResizerH
\x00\x42\x15\n\x13
image_resizer_oneof
\"\x11\n\x0f
IdentityResizer
\"\x80\x02\n\x16
KeepAspectRatioResizer
\x12\x1a\n\r
min_dimension
\x18\x01
\x01
(
\x05
:
\x03\x36\x30\x30\x12\x1b\n\r
max_dimension
\x18\x02
\x01
(
\x05
:
\x04\x31\x30\x32\x34\x12\x44\n\r
resize_method
\x18\x03
\x01
(
\x0e\x32
#.object_detection.protos.ResizeType:
\x08\x42
ILINEAR
\x12
#
\n\x14
pad_to_max_dimension
\x18\x04
\x01
(
\x08
:
\x05\x66\x61
lse
\x12
#
\n\x14\x63
onvert_to_grayscale
\x18\x05
\x01
(
\x08
:
\x05\x66\x61
lse
\x12\x1d\n\x15
per_channel_pad_value
\x18\x06
\x03
(
\x02\"\xa7\x01\n\x11\x46
ixedShapeResizer
\x12\x13\n\x06
height
\x18\x01
\x01
(
\x05
:
\x03\x33\x30\x30\x12\x12\n\x05
width
\x18\x02
\x01
(
\x05
:
\x03\x33\x30\x30\x12\x44\n\r
resize_method
\x18\x03
\x01
(
\x0e\x32
#.object_detection.protos.ResizeType:
\x08\x42
ILINEAR
\x12
#
\n\x14\x63
onvert_to_grayscale
\x18\x04
\x01
(
\x08
:
\x05\x66\x61
lse
\"\xb9\x02\n\x17\x43
onditionalShapeResizer
\x12\\\n\t
condition
\x18\x01
\x01
(
\x0e\x32
@.object_detection.protos.ConditionalShapeResizer.ResizeCondition:
\x07
GREATER
\x12\x1b\n\x0e
size_threshold
\x18\x02
\x01
(
\x05
:
\x03\x33\x30\x30\x12\x44\n\r
resize_method
\x18\x03
\x01
(
\x0e\x32
#.object_detection.protos.ResizeType:
\x08\x42
ILINEAR
\x12
#
\n\x14\x63
onvert_to_grayscale
\x18\x04
\x01
(
\x08
:
\x05\x66\x61
lse
\"
8
\n\x0f
ResizeCondition
\x12\x0b\n\x07
INVALID
\x10\x00\x12\x0b\n\x07
GREATER
\x10\x01\x12\x0b\n\x07
SMALLER
\x10\x02\"
P
\n\x14
PadToMultipleResizer
\x12\x13\n\x08
multiple
\x18\x01
\x01
(
\x05
:
\x01\x31\x12
#
\n\x14\x63
onvert_to_grayscale
\x18\x04
\x01
(
\x08
:
\x05\x66\x61
lse*G
\n\n
ResizeType
\x12\x0c\n\x08\x42
ILINEAR
\x10\x00\x12\x14\n\x10
NEAREST_NEIGHBOR
\x10\x01\x12\x0b\n\x07\x42
ICUBIC
\x10\x02\x12\x08\n\x04\x41
REA
\x10\x03
'
)
)
_sym_db
.
RegisterFileDescriptor
(
DESCRIPTOR
)
_RESIZETYPE
=
_descriptor
.
EnumDescriptor
(
name
=
'ResizeType'
,
full_name
=
'object_detection.protos.ResizeType'
,
filename
=
None
,
file
=
DESCRIPTOR
,
values
=
[
_descriptor
.
EnumValueDescriptor
(
name
=
'BILINEAR'
,
index
=
0
,
number
=
0
,
options
=
None
,
type
=
None
),
_descriptor
.
EnumValueDescriptor
(
name
=
'NEAREST_NEIGHBOR'
,
index
=
1
,
number
=
1
,
options
=
None
,
type
=
None
),
_descriptor
.
EnumValueDescriptor
(
name
=
'BICUBIC'
,
index
=
2
,
number
=
2
,
options
=
None
,
type
=
None
),
_descriptor
.
EnumValueDescriptor
(
name
=
'AREA'
,
index
=
3
,
number
=
3
,
options
=
None
,
type
=
None
),
],
containing_type
=
None
,
options
=
None
,
serialized_start
=
1358
,
serialized_end
=
1429
,
)
_sym_db
.
RegisterEnumDescriptor
(
_RESIZETYPE
)
ResizeType
=
enum_type_wrapper
.
EnumTypeWrapper
(
_RESIZETYPE
)
BILINEAR
=
0
NEAREST_NEIGHBOR
=
1
BICUBIC
=
2
AREA
=
3
_CONDITIONALSHAPERESIZER_RESIZECONDITION
=
_descriptor
.
EnumDescriptor
(
name
=
'ResizeCondition'
,
full_name
=
'object_detection.protos.ConditionalShapeResizer.ResizeCondition'
,
filename
=
None
,
file
=
DESCRIPTOR
,
values
=
[
_descriptor
.
EnumValueDescriptor
(
name
=
'INVALID'
,
index
=
0
,
number
=
0
,
options
=
None
,
type
=
None
),
_descriptor
.
EnumValueDescriptor
(
name
=
'GREATER'
,
index
=
1
,
number
=
1
,
options
=
None
,
type
=
None
),
_descriptor
.
EnumValueDescriptor
(
name
=
'SMALLER'
,
index
=
2
,
number
=
2
,
options
=
None
,
type
=
None
),
],
containing_type
=
None
,
options
=
None
,
serialized_start
=
1218
,
serialized_end
=
1274
,
)
_sym_db
.
RegisterEnumDescriptor
(
_CONDITIONALSHAPERESIZER_RESIZECONDITION
)
_IMAGERESIZER
=
_descriptor
.
Descriptor
(
name
=
'ImageResizer'
,
full_name
=
'object_detection.protos.ImageResizer'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'keep_aspect_ratio_resizer'
,
full_name
=
'object_detection.protos.ImageResizer.keep_aspect_ratio_resizer'
,
index
=
0
,
number
=
1
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'fixed_shape_resizer'
,
full_name
=
'object_detection.protos.ImageResizer.fixed_shape_resizer'
,
index
=
1
,
number
=
2
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'identity_resizer'
,
full_name
=
'object_detection.protos.ImageResizer.identity_resizer'
,
index
=
2
,
number
=
3
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'conditional_shape_resizer'
,
full_name
=
'object_detection.protos.ImageResizer.conditional_shape_resizer'
,
index
=
3
,
number
=
4
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'pad_to_multiple_resizer'
,
full_name
=
'object_detection.protos.ImageResizer.pad_to_multiple_resizer'
,
index
=
4
,
number
=
5
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
_descriptor
.
OneofDescriptor
(
name
=
'image_resizer_oneof'
,
full_name
=
'object_detection.protos.ImageResizer.image_resizer_oneof'
,
index
=
0
,
containing_type
=
None
,
fields
=
[]),
],
serialized_start
=
73
,
serialized_end
=
510
,
)
_IDENTITYRESIZER
=
_descriptor
.
Descriptor
(
name
=
'IdentityResizer'
,
full_name
=
'object_detection.protos.IdentityResizer'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
512
,
serialized_end
=
529
,
)
_KEEPASPECTRATIORESIZER
=
_descriptor
.
Descriptor
(
name
=
'KeepAspectRatioResizer'
,
full_name
=
'object_detection.protos.KeepAspectRatioResizer'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'min_dimension'
,
full_name
=
'object_detection.protos.KeepAspectRatioResizer.min_dimension'
,
index
=
0
,
number
=
1
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
600
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'max_dimension'
,
full_name
=
'object_detection.protos.KeepAspectRatioResizer.max_dimension'
,
index
=
1
,
number
=
2
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
1024
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'resize_method'
,
full_name
=
'object_detection.protos.KeepAspectRatioResizer.resize_method'
,
index
=
2
,
number
=
3
,
type
=
14
,
cpp_type
=
8
,
label
=
1
,
has_default_value
=
True
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'pad_to_max_dimension'
,
full_name
=
'object_detection.protos.KeepAspectRatioResizer.pad_to_max_dimension'
,
index
=
3
,
number
=
4
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'convert_to_grayscale'
,
full_name
=
'object_detection.protos.KeepAspectRatioResizer.convert_to_grayscale'
,
index
=
4
,
number
=
5
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'per_channel_pad_value'
,
full_name
=
'object_detection.protos.KeepAspectRatioResizer.per_channel_pad_value'
,
index
=
5
,
number
=
6
,
type
=
2
,
cpp_type
=
6
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
532
,
serialized_end
=
788
,
)
_FIXEDSHAPERESIZER
=
_descriptor
.
Descriptor
(
name
=
'FixedShapeResizer'
,
full_name
=
'object_detection.protos.FixedShapeResizer'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'height'
,
full_name
=
'object_detection.protos.FixedShapeResizer.height'
,
index
=
0
,
number
=
1
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
300
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'width'
,
full_name
=
'object_detection.protos.FixedShapeResizer.width'
,
index
=
1
,
number
=
2
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
300
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'resize_method'
,
full_name
=
'object_detection.protos.FixedShapeResizer.resize_method'
,
index
=
2
,
number
=
3
,
type
=
14
,
cpp_type
=
8
,
label
=
1
,
has_default_value
=
True
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'convert_to_grayscale'
,
full_name
=
'object_detection.protos.FixedShapeResizer.convert_to_grayscale'
,
index
=
3
,
number
=
4
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
791
,
serialized_end
=
958
,
)
_CONDITIONALSHAPERESIZER
=
_descriptor
.
Descriptor
(
name
=
'ConditionalShapeResizer'
,
full_name
=
'object_detection.protos.ConditionalShapeResizer'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'condition'
,
full_name
=
'object_detection.protos.ConditionalShapeResizer.condition'
,
index
=
0
,
number
=
1
,
type
=
14
,
cpp_type
=
8
,
label
=
1
,
has_default_value
=
True
,
default_value
=
1
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'size_threshold'
,
full_name
=
'object_detection.protos.ConditionalShapeResizer.size_threshold'
,
index
=
1
,
number
=
2
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
300
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'resize_method'
,
full_name
=
'object_detection.protos.ConditionalShapeResizer.resize_method'
,
index
=
2
,
number
=
3
,
type
=
14
,
cpp_type
=
8
,
label
=
1
,
has_default_value
=
True
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'convert_to_grayscale'
,
full_name
=
'object_detection.protos.ConditionalShapeResizer.convert_to_grayscale'
,
index
=
3
,
number
=
4
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
_CONDITIONALSHAPERESIZER_RESIZECONDITION
,
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
961
,
serialized_end
=
1274
,
)
_PADTOMULTIPLERESIZER
=
_descriptor
.
Descriptor
(
name
=
'PadToMultipleResizer'
,
full_name
=
'object_detection.protos.PadToMultipleResizer'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'multiple'
,
full_name
=
'object_detection.protos.PadToMultipleResizer.multiple'
,
index
=
0
,
number
=
1
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
1
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'convert_to_grayscale'
,
full_name
=
'object_detection.protos.PadToMultipleResizer.convert_to_grayscale'
,
index
=
1
,
number
=
4
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1276
,
serialized_end
=
1356
,
)
_IMAGERESIZER
.
fields_by_name
[
'keep_aspect_ratio_resizer'
].
message_type
=
_KEEPASPECTRATIORESIZER
_IMAGERESIZER
.
fields_by_name
[
'fixed_shape_resizer'
].
message_type
=
_FIXEDSHAPERESIZER
_IMAGERESIZER
.
fields_by_name
[
'identity_resizer'
].
message_type
=
_IDENTITYRESIZER
_IMAGERESIZER
.
fields_by_name
[
'conditional_shape_resizer'
].
message_type
=
_CONDITIONALSHAPERESIZER
_IMAGERESIZER
.
fields_by_name
[
'pad_to_multiple_resizer'
].
message_type
=
_PADTOMULTIPLERESIZER
_IMAGERESIZER
.
oneofs_by_name
[
'image_resizer_oneof'
].
fields
.
append
(
_IMAGERESIZER
.
fields_by_name
[
'keep_aspect_ratio_resizer'
])
_IMAGERESIZER
.
fields_by_name
[
'keep_aspect_ratio_resizer'
].
containing_oneof
=
_IMAGERESIZER
.
oneofs_by_name
[
'image_resizer_oneof'
]
_IMAGERESIZER
.
oneofs_by_name
[
'image_resizer_oneof'
].
fields
.
append
(
_IMAGERESIZER
.
fields_by_name
[
'fixed_shape_resizer'
])
_IMAGERESIZER
.
fields_by_name
[
'fixed_shape_resizer'
].
containing_oneof
=
_IMAGERESIZER
.
oneofs_by_name
[
'image_resizer_oneof'
]
_IMAGERESIZER
.
oneofs_by_name
[
'image_resizer_oneof'
].
fields
.
append
(
_IMAGERESIZER
.
fields_by_name
[
'identity_resizer'
])
_IMAGERESIZER
.
fields_by_name
[
'identity_resizer'
].
containing_oneof
=
_IMAGERESIZER
.
oneofs_by_name
[
'image_resizer_oneof'
]
_IMAGERESIZER
.
oneofs_by_name
[
'image_resizer_oneof'
].
fields
.
append
(
_IMAGERESIZER
.
fields_by_name
[
'conditional_shape_resizer'
])
_IMAGERESIZER
.
fields_by_name
[
'conditional_shape_resizer'
].
containing_oneof
=
_IMAGERESIZER
.
oneofs_by_name
[
'image_resizer_oneof'
]
_IMAGERESIZER
.
oneofs_by_name
[
'image_resizer_oneof'
].
fields
.
append
(
_IMAGERESIZER
.
fields_by_name
[
'pad_to_multiple_resizer'
])
_IMAGERESIZER
.
fields_by_name
[
'pad_to_multiple_resizer'
].
containing_oneof
=
_IMAGERESIZER
.
oneofs_by_name
[
'image_resizer_oneof'
]
_KEEPASPECTRATIORESIZER
.
fields_by_name
[
'resize_method'
].
enum_type
=
_RESIZETYPE
_FIXEDSHAPERESIZER
.
fields_by_name
[
'resize_method'
].
enum_type
=
_RESIZETYPE
_CONDITIONALSHAPERESIZER
.
fields_by_name
[
'condition'
].
enum_type
=
_CONDITIONALSHAPERESIZER_RESIZECONDITION
_CONDITIONALSHAPERESIZER
.
fields_by_name
[
'resize_method'
].
enum_type
=
_RESIZETYPE
_CONDITIONALSHAPERESIZER_RESIZECONDITION
.
containing_type
=
_CONDITIONALSHAPERESIZER
DESCRIPTOR
.
message_types_by_name
[
'ImageResizer'
]
=
_IMAGERESIZER
DESCRIPTOR
.
message_types_by_name
[
'IdentityResizer'
]
=
_IDENTITYRESIZER
DESCRIPTOR
.
message_types_by_name
[
'KeepAspectRatioResizer'
]
=
_KEEPASPECTRATIORESIZER
DESCRIPTOR
.
message_types_by_name
[
'FixedShapeResizer'
]
=
_FIXEDSHAPERESIZER
DESCRIPTOR
.
message_types_by_name
[
'ConditionalShapeResizer'
]
=
_CONDITIONALSHAPERESIZER
DESCRIPTOR
.
message_types_by_name
[
'PadToMultipleResizer'
]
=
_PADTOMULTIPLERESIZER
DESCRIPTOR
.
enum_types_by_name
[
'ResizeType'
]
=
_RESIZETYPE
ImageResizer
=
_reflection
.
GeneratedProtocolMessageType
(
'ImageResizer'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_IMAGERESIZER
,
__module__
=
'object_detection.protos.image_resizer_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.ImageResizer)
))
_sym_db
.
RegisterMessage
(
ImageResizer
)
IdentityResizer
=
_reflection
.
GeneratedProtocolMessageType
(
'IdentityResizer'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_IDENTITYRESIZER
,
__module__
=
'object_detection.protos.image_resizer_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.IdentityResizer)
))
_sym_db
.
RegisterMessage
(
IdentityResizer
)
KeepAspectRatioResizer
=
_reflection
.
GeneratedProtocolMessageType
(
'KeepAspectRatioResizer'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_KEEPASPECTRATIORESIZER
,
__module__
=
'object_detection.protos.image_resizer_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.KeepAspectRatioResizer)
))
_sym_db
.
RegisterMessage
(
KeepAspectRatioResizer
)
FixedShapeResizer
=
_reflection
.
GeneratedProtocolMessageType
(
'FixedShapeResizer'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_FIXEDSHAPERESIZER
,
__module__
=
'object_detection.protos.image_resizer_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.FixedShapeResizer)
))
_sym_db
.
RegisterMessage
(
FixedShapeResizer
)
ConditionalShapeResizer
=
_reflection
.
GeneratedProtocolMessageType
(
'ConditionalShapeResizer'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_CONDITIONALSHAPERESIZER
,
__module__
=
'object_detection.protos.image_resizer_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.ConditionalShapeResizer)
))
_sym_db
.
RegisterMessage
(
ConditionalShapeResizer
)
PadToMultipleResizer
=
_reflection
.
GeneratedProtocolMessageType
(
'PadToMultipleResizer'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_PADTOMULTIPLERESIZER
,
__module__
=
'object_detection.protos.image_resizer_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.PadToMultipleResizer)
))
_sym_db
.
RegisterMessage
(
PadToMultipleResizer
)
# @@protoc_insertion_point(module_scope)
research/object_detection/protos/input_reader_pb2.py
0 → 100644
View file @
bb16d5ca
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: object_detection/protos/input_reader.proto
import
sys
_b
=
sys
.
version_info
[
0
]
<
3
and
(
lambda
x
:
x
)
or
(
lambda
x
:
x
.
encode
(
'latin1'
))
from
google.protobuf.internal
import
enum_type_wrapper
from
google.protobuf
import
descriptor
as
_descriptor
from
google.protobuf
import
message
as
_message
from
google.protobuf
import
reflection
as
_reflection
from
google.protobuf
import
symbol_database
as
_symbol_database
from
google.protobuf
import
descriptor_pb2
# @@protoc_insertion_point(imports)
_sym_db
=
_symbol_database
.
Default
()
from
object_detection.protos
import
image_resizer_pb2
as
object__detection_dot_protos_dot_image__resizer__pb2
DESCRIPTOR
=
_descriptor
.
FileDescriptor
(
name
=
'object_detection/protos/input_reader.proto'
,
package
=
'object_detection.protos'
,
syntax
=
'proto2'
,
serialized_pb
=
_b
(
'
\n
*object_detection/protos/input_reader.proto
\x12\x17
object_detection.protos
\x1a
+object_detection/protos/image_resizer.proto
\"\x9c\t\n\x0b
InputReader
\x12\x0e\n\x04
name
\x18\x17
\x01
(
\t
:
\x00\x12\x18\n\x0e
label_map_path
\x18\x01
\x01
(
\t
:
\x00\x12\x15\n\x07
shuffle
\x18\x02
\x01
(
\x08
:
\x04
true
\x12
!
\n\x13
shuffle_buffer_size
\x18\x0b
\x01
(
\r
:
\x04\x32\x30\x34\x38\x12
*
\n\x1d\x66
ilenames_shuffle_buffer_size
\x18\x0c
\x01
(
\r
:
\x03\x31\x30\x30\x12\x15\n\n
num_epochs
\x18\x05
\x01
(
\r
:
\x01\x30\x12
!
\n\x16
sample_1_of_n_examples
\x18\x16
\x01
(
\r
:
\x01\x31\x12\x17\n\x0b
num_readers
\x18\x06
\x01
(
\r
:
\x02\x36\x34\x12\x1f\n\x14
num_parallel_batches
\x18\x13
\x01
(
\r
:
\x01\x38\x12\x1f\n\x14
num_prefetch_batches
\x18\x14
\x01
(
\x05
:
\x01\x32\x12
\n\x0e
queue_capacity
\x18\x03
\x01
(
\r
:
\x04\x32\x30\x30\x30\x42\x02\x18\x01\x12
#
\n\x11
min_after_dequeue
\x18\x04
\x01
(
\r
:
\x04\x31\x30\x30\x30\x42\x02\x18\x01\x12\x1d\n\x11
read_block_length
\x18\x0f
\x01
(
\r
:
\x02\x33\x32\x12\x1e\n\r
prefetch_size
\x18\r
\x01
(
\r
:
\x03\x35\x31\x32\x42\x02\x18\x01\x12
&
\n\x16
num_parallel_map_calls
\x18\x0e
\x01
(
\r
:
\x02\x36\x34\x42\x02\x18\x01\x12\"\n\x17
num_additional_channels
\x18\x12
\x01
(
\x05
:
\x01\x30\x12\x18\n\r
num_keypoints
\x18\x10
\x01
(
\r
:
\x01\x30\x12\x1c\n\x14
keypoint_type_weight
\x18\x1a
\x03
(
\x02\x12
\n\x13
max_number_of_boxes
\x18\x15
\x01
(
\x05
:
\x03\x31\x30\x30\x12
%
\n\x16
load_multiclass_scores
\x18\x18
\x01
(
\x08
:
\x05\x66\x61
lse
\x12
$
\n\x15
load_context_features
\x18\x19
\x01
(
\x08
:
\x05\x66\x61
lse
\x12\"\n\x13
load_instance_masks
\x18\x07
\x01
(
\x08
:
\x05\x66\x61
lse
\x12
M
\n\t
mask_type
\x18\n
\x01
(
\x0e\x32
).object_detection.protos.InstanceMaskType:
\x0f
NUMERICAL_MASKS
\x12\x1e\n\x0f
load_dense_pose
\x18\x1f
\x01
(
\x08
:
\x05\x66\x61
lse
\x12\x1f\n\x10
use_display_name
\x18\x11
\x01
(
\x08
:
\x05\x66\x61
lse
\x12
\n\x11
include_source_id
\x18\x1b
\x01
(
\x08
:
\x05\x66\x61
lse
\x12\x42\n\n
input_type
\x18\x1e
\x01
(
\x0e\x32\"
.object_detection.protos.InputType:
\n
TF_EXAMPLE
\x12
N
\n\x16
tf_record_input_reader
\x18\x08
\x01
(
\x0b\x32
,.object_detection.protos.TFRecordInputReaderH
\x00\x12
M
\n\x15\x65
xternal_input_reader
\x18\t
\x01
(
\x0b\x32
,.object_detection.protos.ExternalInputReaderH
\x00\x12
&
\n\x17\x65
xpand_labels_hierarchy
\x18\x1d
\x01
(
\x08
:
\x05\x66\x61
lseB
\x0e\n\x0c
input_reader
\"
)
\n\x13
TFRecordInputReader
\x12\x12\n\n
input_path
\x18\x01
\x03
(
\t\"\x1c\n\x13\x45
xternalInputReader*
\x05\x08\x01\x10\xe8\x07
*C
\n\x10
InstanceMaskType
\x12\x0b\n\x07\x44\x45\x46\x41
ULT
\x10\x00\x12\x13\n\x0f
NUMERICAL_MASKS
\x10\x01\x12\r\n\t
PNG_MASKS
\x10\x02
*G
\n\t
InputType
\x12\x11\n\r
INPUT_DEFAULT
\x10\x00\x12\x0e\n\n
TF_EXAMPLE
\x10\x01\x12\x17\n\x13
TF_SEQUENCE_EXAMPLE
\x10\x02
'
)
,
dependencies
=
[
object__detection_dot_protos_dot_image__resizer__pb2
.
DESCRIPTOR
,])
_sym_db
.
RegisterFileDescriptor
(
DESCRIPTOR
)
_INSTANCEMASKTYPE
=
_descriptor
.
EnumDescriptor
(
name
=
'InstanceMaskType'
,
full_name
=
'object_detection.protos.InstanceMaskType'
,
filename
=
None
,
file
=
DESCRIPTOR
,
values
=
[
_descriptor
.
EnumValueDescriptor
(
name
=
'DEFAULT'
,
index
=
0
,
number
=
0
,
options
=
None
,
type
=
None
),
_descriptor
.
EnumValueDescriptor
(
name
=
'NUMERICAL_MASKS'
,
index
=
1
,
number
=
1
,
options
=
None
,
type
=
None
),
_descriptor
.
EnumValueDescriptor
(
name
=
'PNG_MASKS'
,
index
=
2
,
number
=
2
,
options
=
None
,
type
=
None
),
],
containing_type
=
None
,
options
=
None
,
serialized_start
=
1372
,
serialized_end
=
1439
,
)
_sym_db
.
RegisterEnumDescriptor
(
_INSTANCEMASKTYPE
)
InstanceMaskType
=
enum_type_wrapper
.
EnumTypeWrapper
(
_INSTANCEMASKTYPE
)
_INPUTTYPE
=
_descriptor
.
EnumDescriptor
(
name
=
'InputType'
,
full_name
=
'object_detection.protos.InputType'
,
filename
=
None
,
file
=
DESCRIPTOR
,
values
=
[
_descriptor
.
EnumValueDescriptor
(
name
=
'INPUT_DEFAULT'
,
index
=
0
,
number
=
0
,
options
=
None
,
type
=
None
),
_descriptor
.
EnumValueDescriptor
(
name
=
'TF_EXAMPLE'
,
index
=
1
,
number
=
1
,
options
=
None
,
type
=
None
),
_descriptor
.
EnumValueDescriptor
(
name
=
'TF_SEQUENCE_EXAMPLE'
,
index
=
2
,
number
=
2
,
options
=
None
,
type
=
None
),
],
containing_type
=
None
,
options
=
None
,
serialized_start
=
1441
,
serialized_end
=
1512
,
)
_sym_db
.
RegisterEnumDescriptor
(
_INPUTTYPE
)
InputType
=
enum_type_wrapper
.
EnumTypeWrapper
(
_INPUTTYPE
)
DEFAULT
=
0
NUMERICAL_MASKS
=
1
PNG_MASKS
=
2
INPUT_DEFAULT
=
0
TF_EXAMPLE
=
1
TF_SEQUENCE_EXAMPLE
=
2
_INPUTREADER
=
_descriptor
.
Descriptor
(
name
=
'InputReader'
,
full_name
=
'object_detection.protos.InputReader'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'name'
,
full_name
=
'object_detection.protos.InputReader.name'
,
index
=
0
,
number
=
23
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
True
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'label_map_path'
,
full_name
=
'object_detection.protos.InputReader.label_map_path'
,
index
=
1
,
number
=
1
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
True
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'shuffle'
,
full_name
=
'object_detection.protos.InputReader.shuffle'
,
index
=
2
,
number
=
2
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
True
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'shuffle_buffer_size'
,
full_name
=
'object_detection.protos.InputReader.shuffle_buffer_size'
,
index
=
3
,
number
=
11
,
type
=
13
,
cpp_type
=
3
,
label
=
1
,
has_default_value
=
True
,
default_value
=
2048
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'filenames_shuffle_buffer_size'
,
full_name
=
'object_detection.protos.InputReader.filenames_shuffle_buffer_size'
,
index
=
4
,
number
=
12
,
type
=
13
,
cpp_type
=
3
,
label
=
1
,
has_default_value
=
True
,
default_value
=
100
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'num_epochs'
,
full_name
=
'object_detection.protos.InputReader.num_epochs'
,
index
=
5
,
number
=
5
,
type
=
13
,
cpp_type
=
3
,
label
=
1
,
has_default_value
=
True
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'sample_1_of_n_examples'
,
full_name
=
'object_detection.protos.InputReader.sample_1_of_n_examples'
,
index
=
6
,
number
=
22
,
type
=
13
,
cpp_type
=
3
,
label
=
1
,
has_default_value
=
True
,
default_value
=
1
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'num_readers'
,
full_name
=
'object_detection.protos.InputReader.num_readers'
,
index
=
7
,
number
=
6
,
type
=
13
,
cpp_type
=
3
,
label
=
1
,
has_default_value
=
True
,
default_value
=
64
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'num_parallel_batches'
,
full_name
=
'object_detection.protos.InputReader.num_parallel_batches'
,
index
=
8
,
number
=
19
,
type
=
13
,
cpp_type
=
3
,
label
=
1
,
has_default_value
=
True
,
default_value
=
8
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'num_prefetch_batches'
,
full_name
=
'object_detection.protos.InputReader.num_prefetch_batches'
,
index
=
9
,
number
=
20
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
2
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'queue_capacity'
,
full_name
=
'object_detection.protos.InputReader.queue_capacity'
,
index
=
10
,
number
=
3
,
type
=
13
,
cpp_type
=
3
,
label
=
1
,
has_default_value
=
True
,
default_value
=
2000
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
_descriptor
.
_ParseOptions
(
descriptor_pb2
.
FieldOptions
(),
_b
(
'
\030\001
'
))),
_descriptor
.
FieldDescriptor
(
name
=
'min_after_dequeue'
,
full_name
=
'object_detection.protos.InputReader.min_after_dequeue'
,
index
=
11
,
number
=
4
,
type
=
13
,
cpp_type
=
3
,
label
=
1
,
has_default_value
=
True
,
default_value
=
1000
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
_descriptor
.
_ParseOptions
(
descriptor_pb2
.
FieldOptions
(),
_b
(
'
\030\001
'
))),
_descriptor
.
FieldDescriptor
(
name
=
'read_block_length'
,
full_name
=
'object_detection.protos.InputReader.read_block_length'
,
index
=
12
,
number
=
15
,
type
=
13
,
cpp_type
=
3
,
label
=
1
,
has_default_value
=
True
,
default_value
=
32
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'prefetch_size'
,
full_name
=
'object_detection.protos.InputReader.prefetch_size'
,
index
=
13
,
number
=
13
,
type
=
13
,
cpp_type
=
3
,
label
=
1
,
has_default_value
=
True
,
default_value
=
512
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
_descriptor
.
_ParseOptions
(
descriptor_pb2
.
FieldOptions
(),
_b
(
'
\030\001
'
))),
_descriptor
.
FieldDescriptor
(
name
=
'num_parallel_map_calls'
,
full_name
=
'object_detection.protos.InputReader.num_parallel_map_calls'
,
index
=
14
,
number
=
14
,
type
=
13
,
cpp_type
=
3
,
label
=
1
,
has_default_value
=
True
,
default_value
=
64
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
_descriptor
.
_ParseOptions
(
descriptor_pb2
.
FieldOptions
(),
_b
(
'
\030\001
'
))),
_descriptor
.
FieldDescriptor
(
name
=
'num_additional_channels'
,
full_name
=
'object_detection.protos.InputReader.num_additional_channels'
,
index
=
15
,
number
=
18
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'num_keypoints'
,
full_name
=
'object_detection.protos.InputReader.num_keypoints'
,
index
=
16
,
number
=
16
,
type
=
13
,
cpp_type
=
3
,
label
=
1
,
has_default_value
=
True
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'keypoint_type_weight'
,
full_name
=
'object_detection.protos.InputReader.keypoint_type_weight'
,
index
=
17
,
number
=
26
,
type
=
2
,
cpp_type
=
6
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'max_number_of_boxes'
,
full_name
=
'object_detection.protos.InputReader.max_number_of_boxes'
,
index
=
18
,
number
=
21
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
100
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'load_multiclass_scores'
,
full_name
=
'object_detection.protos.InputReader.load_multiclass_scores'
,
index
=
19
,
number
=
24
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'load_context_features'
,
full_name
=
'object_detection.protos.InputReader.load_context_features'
,
index
=
20
,
number
=
25
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'load_instance_masks'
,
full_name
=
'object_detection.protos.InputReader.load_instance_masks'
,
index
=
21
,
number
=
7
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'mask_type'
,
full_name
=
'object_detection.protos.InputReader.mask_type'
,
index
=
22
,
number
=
10
,
type
=
14
,
cpp_type
=
8
,
label
=
1
,
has_default_value
=
True
,
default_value
=
1
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'load_dense_pose'
,
full_name
=
'object_detection.protos.InputReader.load_dense_pose'
,
index
=
23
,
number
=
31
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'use_display_name'
,
full_name
=
'object_detection.protos.InputReader.use_display_name'
,
index
=
24
,
number
=
17
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'include_source_id'
,
full_name
=
'object_detection.protos.InputReader.include_source_id'
,
index
=
25
,
number
=
27
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'input_type'
,
full_name
=
'object_detection.protos.InputReader.input_type'
,
index
=
26
,
number
=
30
,
type
=
14
,
cpp_type
=
8
,
label
=
1
,
has_default_value
=
True
,
default_value
=
1
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'tf_record_input_reader'
,
full_name
=
'object_detection.protos.InputReader.tf_record_input_reader'
,
index
=
27
,
number
=
8
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'external_input_reader'
,
full_name
=
'object_detection.protos.InputReader.external_input_reader'
,
index
=
28
,
number
=
9
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'expand_labels_hierarchy'
,
full_name
=
'object_detection.protos.InputReader.expand_labels_hierarchy'
,
index
=
29
,
number
=
29
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
_descriptor
.
OneofDescriptor
(
name
=
'input_reader'
,
full_name
=
'object_detection.protos.InputReader.input_reader'
,
index
=
0
,
containing_type
=
None
,
fields
=
[]),
],
serialized_start
=
117
,
serialized_end
=
1297
,
)
_TFRECORDINPUTREADER
=
_descriptor
.
Descriptor
(
name
=
'TFRecordInputReader'
,
full_name
=
'object_detection.protos.TFRecordInputReader'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'input_path'
,
full_name
=
'object_detection.protos.TFRecordInputReader.input_path'
,
index
=
0
,
number
=
1
,
type
=
9
,
cpp_type
=
9
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1299
,
serialized_end
=
1340
,
)
_EXTERNALINPUTREADER
=
_descriptor
.
Descriptor
(
name
=
'ExternalInputReader'
,
full_name
=
'object_detection.protos.ExternalInputReader'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
True
,
syntax
=
'proto2'
,
extension_ranges
=
[(
1
,
1000
),
],
oneofs
=
[
],
serialized_start
=
1342
,
serialized_end
=
1370
,
)
_INPUTREADER
.
fields_by_name
[
'mask_type'
].
enum_type
=
_INSTANCEMASKTYPE
_INPUTREADER
.
fields_by_name
[
'input_type'
].
enum_type
=
_INPUTTYPE
_INPUTREADER
.
fields_by_name
[
'tf_record_input_reader'
].
message_type
=
_TFRECORDINPUTREADER
_INPUTREADER
.
fields_by_name
[
'external_input_reader'
].
message_type
=
_EXTERNALINPUTREADER
_INPUTREADER
.
oneofs_by_name
[
'input_reader'
].
fields
.
append
(
_INPUTREADER
.
fields_by_name
[
'tf_record_input_reader'
])
_INPUTREADER
.
fields_by_name
[
'tf_record_input_reader'
].
containing_oneof
=
_INPUTREADER
.
oneofs_by_name
[
'input_reader'
]
_INPUTREADER
.
oneofs_by_name
[
'input_reader'
].
fields
.
append
(
_INPUTREADER
.
fields_by_name
[
'external_input_reader'
])
_INPUTREADER
.
fields_by_name
[
'external_input_reader'
].
containing_oneof
=
_INPUTREADER
.
oneofs_by_name
[
'input_reader'
]
DESCRIPTOR
.
message_types_by_name
[
'InputReader'
]
=
_INPUTREADER
DESCRIPTOR
.
message_types_by_name
[
'TFRecordInputReader'
]
=
_TFRECORDINPUTREADER
DESCRIPTOR
.
message_types_by_name
[
'ExternalInputReader'
]
=
_EXTERNALINPUTREADER
DESCRIPTOR
.
enum_types_by_name
[
'InstanceMaskType'
]
=
_INSTANCEMASKTYPE
DESCRIPTOR
.
enum_types_by_name
[
'InputType'
]
=
_INPUTTYPE
InputReader
=
_reflection
.
GeneratedProtocolMessageType
(
'InputReader'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_INPUTREADER
,
__module__
=
'object_detection.protos.input_reader_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.InputReader)
))
_sym_db
.
RegisterMessage
(
InputReader
)
TFRecordInputReader
=
_reflection
.
GeneratedProtocolMessageType
(
'TFRecordInputReader'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_TFRECORDINPUTREADER
,
__module__
=
'object_detection.protos.input_reader_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.TFRecordInputReader)
))
_sym_db
.
RegisterMessage
(
TFRecordInputReader
)
ExternalInputReader
=
_reflection
.
GeneratedProtocolMessageType
(
'ExternalInputReader'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_EXTERNALINPUTREADER
,
__module__
=
'object_detection.protos.input_reader_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.ExternalInputReader)
))
_sym_db
.
RegisterMessage
(
ExternalInputReader
)
_INPUTREADER
.
fields_by_name
[
'queue_capacity'
].
has_options
=
True
_INPUTREADER
.
fields_by_name
[
'queue_capacity'
].
_options
=
_descriptor
.
_ParseOptions
(
descriptor_pb2
.
FieldOptions
(),
_b
(
'
\030\001
'
))
_INPUTREADER
.
fields_by_name
[
'min_after_dequeue'
].
has_options
=
True
_INPUTREADER
.
fields_by_name
[
'min_after_dequeue'
].
_options
=
_descriptor
.
_ParseOptions
(
descriptor_pb2
.
FieldOptions
(),
_b
(
'
\030\001
'
))
_INPUTREADER
.
fields_by_name
[
'prefetch_size'
].
has_options
=
True
_INPUTREADER
.
fields_by_name
[
'prefetch_size'
].
_options
=
_descriptor
.
_ParseOptions
(
descriptor_pb2
.
FieldOptions
(),
_b
(
'
\030\001
'
))
_INPUTREADER
.
fields_by_name
[
'num_parallel_map_calls'
].
has_options
=
True
_INPUTREADER
.
fields_by_name
[
'num_parallel_map_calls'
].
_options
=
_descriptor
.
_ParseOptions
(
descriptor_pb2
.
FieldOptions
(),
_b
(
'
\030\001
'
))
# @@protoc_insertion_point(module_scope)
research/object_detection/protos/keypoint_box_coder_pb2.py
0 → 100644
View file @
bb16d5ca
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: object_detection/protos/keypoint_box_coder.proto
import
sys
_b
=
sys
.
version_info
[
0
]
<
3
and
(
lambda
x
:
x
)
or
(
lambda
x
:
x
.
encode
(
'latin1'
))
from
google.protobuf
import
descriptor
as
_descriptor
from
google.protobuf
import
message
as
_message
from
google.protobuf
import
reflection
as
_reflection
from
google.protobuf
import
symbol_database
as
_symbol_database
from
google.protobuf
import
descriptor_pb2
# @@protoc_insertion_point(imports)
_sym_db
=
_symbol_database
.
Default
()
DESCRIPTOR
=
_descriptor
.
FileDescriptor
(
name
=
'object_detection/protos/keypoint_box_coder.proto'
,
package
=
'object_detection.protos'
,
syntax
=
'proto2'
,
serialized_pb
=
_b
(
'
\n
0object_detection/protos/keypoint_box_coder.proto
\x12\x17
object_detection.protos
\"\x84\x01\n\x10
KeypointBoxCoder
\x12\x15\n\r
num_keypoints
\x18\x01
\x01
(
\x05\x12\x13\n\x07
y_scale
\x18\x02
\x01
(
\x02
:
\x02\x31\x30\x12\x13\n\x07
x_scale
\x18\x03
\x01
(
\x02
:
\x02\x31\x30\x12\x17\n\x0c
height_scale
\x18\x04
\x01
(
\x02
:
\x01\x35\x12\x16\n\x0b
width_scale
\x18\x05
\x01
(
\x02
:
\x01\x35
'
)
)
_sym_db
.
RegisterFileDescriptor
(
DESCRIPTOR
)
_KEYPOINTBOXCODER
=
_descriptor
.
Descriptor
(
name
=
'KeypointBoxCoder'
,
full_name
=
'object_detection.protos.KeypointBoxCoder'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'num_keypoints'
,
full_name
=
'object_detection.protos.KeypointBoxCoder.num_keypoints'
,
index
=
0
,
number
=
1
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'y_scale'
,
full_name
=
'object_detection.protos.KeypointBoxCoder.y_scale'
,
index
=
1
,
number
=
2
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
10
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'x_scale'
,
full_name
=
'object_detection.protos.KeypointBoxCoder.x_scale'
,
index
=
2
,
number
=
3
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
10
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'height_scale'
,
full_name
=
'object_detection.protos.KeypointBoxCoder.height_scale'
,
index
=
3
,
number
=
4
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
5
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'width_scale'
,
full_name
=
'object_detection.protos.KeypointBoxCoder.width_scale'
,
index
=
4
,
number
=
5
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
5
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
78
,
serialized_end
=
210
,
)
DESCRIPTOR
.
message_types_by_name
[
'KeypointBoxCoder'
]
=
_KEYPOINTBOXCODER
KeypointBoxCoder
=
_reflection
.
GeneratedProtocolMessageType
(
'KeypointBoxCoder'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_KEYPOINTBOXCODER
,
__module__
=
'object_detection.protos.keypoint_box_coder_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.KeypointBoxCoder)
))
_sym_db
.
RegisterMessage
(
KeypointBoxCoder
)
# @@protoc_insertion_point(module_scope)
research/object_detection/protos/losses_pb2.py
0 → 100644
View file @
bb16d5ca
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: object_detection/protos/losses.proto
import
sys
_b
=
sys
.
version_info
[
0
]
<
3
and
(
lambda
x
:
x
)
or
(
lambda
x
:
x
.
encode
(
'latin1'
))
from
google.protobuf
import
descriptor
as
_descriptor
from
google.protobuf
import
message
as
_message
from
google.protobuf
import
reflection
as
_reflection
from
google.protobuf
import
symbol_database
as
_symbol_database
from
google.protobuf
import
descriptor_pb2
# @@protoc_insertion_point(imports)
_sym_db
=
_symbol_database
.
Default
()
DESCRIPTOR
=
_descriptor
.
FileDescriptor
(
name
=
'object_detection/protos/losses.proto'
,
package
=
'object_detection.protos'
,
syntax
=
'proto2'
,
serialized_pb
=
_b
(
'
\n
$object_detection/protos/losses.proto
\x12\x17
object_detection.protos
\"\xfe\x05\n\x04
Loss
\x12\x44\n\x11
localization_loss
\x18\x01
\x01
(
\x0b\x32
).object_detection.protos.LocalizationLoss
\x12
H
\n\x13\x63
lassification_loss
\x18\x02
\x01
(
\x0b\x32
+.object_detection.protos.ClassificationLoss
\x12\x45\n\x12
hard_example_miner
\x18\x03
\x01
(
\x0b\x32
).object_detection.protos.HardExampleMiner
\x12
\n\x15\x63
lassification_weight
\x18\x04
\x01
(
\x02
:
\x01\x31\x12\x1e\n\x13
localization_weight
\x18\x05
\x01
(
\x02
:
\x01\x31\x12
M
\n\x16
random_example_sampler
\x18\x06
\x01
(
\x0b\x32
-.object_detection.protos.RandomExampleSampler
\x12
I
\n\x11\x65
qualization_loss
\x18\x07
\x01
(
\x0b\x32
..object_detection.protos.Loss.EqualizationLoss
\x12
V
\n\x15\x65
xpected_loss_weights
\x18\x12
\x01
(
\x0e\x32\x31
.object_detection.protos.Loss.ExpectedLossWeights:
\x04
NONE
\x12
#
\n\x18
min_num_negative_samples
\x18\x13
\x01
(
\x02
:
\x01\x30\x12
*
\n\x1f\x64\x65
sired_negative_sampling_ratio
\x18\x14
\x01
(
\x02
:
\x01\x33\x1a
?
\n\x10\x45
qualizationLoss
\x12\x11\n\x06
weight
\x18\x01
\x01
(
\x02
:
\x01\x30\x12\x18\n\x10\x65
xclude_prefixes
\x18\x02
\x03
(
\t\"
Y
\n\x13\x45
xpectedLossWeights
\x12\x08\n\x04
NONE
\x10\x00\x12\x15\n\x11\x45
XPECTED_SAMPLING
\x10\x01\x12
!
\n\x1d
REWEIGHTING_UNMATCHED_ANCHORS
\x10\x02\"\xe7\x02\n\x10
LocalizationLoss
\x12
J
\n\x0b
weighted_l2
\x18\x01
\x01
(
\x0b\x32\x33
.object_detection.protos.WeightedL2LocalizationLossH
\x00\x12
W
\n\x12
weighted_smooth_l1
\x18\x02
\x01
(
\x0b\x32\x39
.object_detection.protos.WeightedSmoothL1LocalizationLossH
\x00\x12
L
\n\x0c
weighted_iou
\x18\x03
\x01
(
\x0b\x32\x34
.object_detection.protos.WeightedIOULocalizationLossH
\x00\x12
K
\n\x14
l1_localization_loss
\x18\x04
\x01
(
\x0b\x32
+.object_detection.protos.L1LocalizationLossH
\x00\x42\x13\n\x11
localization_loss
\"
>
\n\x1a
WeightedL2LocalizationLoss
\x12
\n\x11\x61
nchorwise_output
\x18\x01
\x01
(
\x08
:
\x05\x66\x61
lse
\"
V
\n
WeightedSmoothL1LocalizationLoss
\x12
\n\x11\x61
nchorwise_output
\x18\x01
\x01
(
\x08
:
\x05\x66\x61
lse
\x12\x10\n\x05\x64\x65
lta
\x18\x02
\x01
(
\x02
:
\x01\x31\"\x1d\n\x1b
WeightedIOULocalizationLoss
\"\x14\n\x12
L1LocalizationLoss
\"\xeb\x04\n\x12\x43
lassificationLoss
\x12
V
\n\x10
weighted_sigmoid
\x18\x01
\x01
(
\x0b\x32
:.object_detection.protos.WeightedSigmoidClassificationLossH
\x00\x12
V
\n\x10
weighted_softmax
\x18\x02
\x01
(
\x0b\x32
:.object_detection.protos.WeightedSoftmaxClassificationLossH
\x00\x12
j
\n\x17
weighted_logits_softmax
\x18\x05
\x01
(
\x0b\x32
G.object_detection.protos.WeightedSoftmaxClassificationAgainstLogitsLossH
\x00\x12
^
\n\x14\x62
ootstrapped_sigmoid
\x18\x03
\x01
(
\x0b\x32
>.object_detection.protos.BootstrappedSigmoidClassificationLossH
\x00\x12
Y
\n\x16
weighted_sigmoid_focal
\x18\x04
\x01
(
\x0b\x32\x37
.object_detection.protos.SigmoidFocalClassificationLossH
\x00\x12
g
\n
#penalty_reduced_logistic_focal_loss
\x18\x06
\x01
(
\x0b\x32\x38
.object_detection.protos.PenaltyReducedLogisticFocalLossH
\x00\x42\x15\n\x13\x63
lassification_loss
\"
E
\n
!WeightedSigmoidClassificationLoss
\x12
\n\x11\x61
nchorwise_output
\x18\x01
\x01
(
\x08
:
\x05\x66\x61
lse
\"
c
\n\x1e
SigmoidFocalClassificationLoss
\x12
\n\x11\x61
nchorwise_output
\x18\x01
\x01
(
\x08
:
\x05\x66\x61
lse
\x12\x10\n\x05
gamma
\x18\x02
\x01
(
\x02
:
\x01\x32\x12\r\n\x05\x61
lpha
\x18\x03
\x01
(
\x02\"
]
\n
!WeightedSoftmaxClassificationLoss
\x12
\n\x11\x61
nchorwise_output
\x18\x01
\x01
(
\x08
:
\x05\x66\x61
lse
\x12\x16\n\x0b
logit_scale
\x18\x02
\x01
(
\x02
:
\x01\x31\"
j
\n
.WeightedSoftmaxClassificationAgainstLogitsLoss
\x12
\n\x11\x61
nchorwise_output
\x18\x01
\x01
(
\x08
:
\x05\x66\x61
lse
\x12\x16\n\x0b
logit_scale
\x18\x02
\x01
(
\x02
:
\x01\x31\"
w
\n
%BootstrappedSigmoidClassificationLoss
\x12\r\n\x05\x61
lpha
\x18\x01
\x01
(
\x02\x12\x1d\n\x0e
hard_bootstrap
\x18\x02
\x01
(
\x08
:
\x05\x66\x61
lse
\x12
\n\x11\x61
nchorwise_output
\x18\x03
\x01
(
\x08
:
\x05\x66\x61
lse
\"
>
\n\x1f
PenaltyReducedLogisticFocalLoss
\x12\r\n\x05\x61
lpha
\x18\x01
\x01
(
\x02\x12\x0c\n\x04\x62\x65
ta
\x18\x02
\x01
(
\x02\"\xa1\x02\n\x10
HardExampleMiner
\x12\x1d\n\x11
num_hard_examples
\x18\x01
\x01
(
\x05
:
\x02\x36\x34\x12\x1a\n\r
iou_threshold
\x18\x02
\x01
(
\x02
:
\x03\x30
.7
\x12
K
\n\t
loss_type
\x18\x03
\x01
(
\x0e\x32\x32
.object_detection.protos.HardExampleMiner.LossType:
\x04\x42
OTH
\x12
%
\n\x1a
max_negatives_per_positive
\x18\x04
\x01
(
\x05
:
\x01\x30\x12\"\n\x17
min_negatives_per_image
\x18\x05
\x01
(
\x05
:
\x01\x30\"
:
\n\x08
LossType
\x12\x08\n\x04\x42
OTH
\x10\x00\x12\x12\n\x0e\x43
LASSIFICATION
\x10\x01\x12\x10\n\x0c
LOCALIZATION
\x10\x02\"
>
\n\x14
RandomExampleSampler
\x12
&
\n\x18
positive_sample_fraction
\x18\x01
\x01
(
\x02
:
\x04\x30
.01'
)
)
_sym_db
.
RegisterFileDescriptor
(
DESCRIPTOR
)
_LOSS_EXPECTEDLOSSWEIGHTS
=
_descriptor
.
EnumDescriptor
(
name
=
'ExpectedLossWeights'
,
full_name
=
'object_detection.protos.Loss.ExpectedLossWeights'
,
filename
=
None
,
file
=
DESCRIPTOR
,
values
=
[
_descriptor
.
EnumValueDescriptor
(
name
=
'NONE'
,
index
=
0
,
number
=
0
,
options
=
None
,
type
=
None
),
_descriptor
.
EnumValueDescriptor
(
name
=
'EXPECTED_SAMPLING'
,
index
=
1
,
number
=
1
,
options
=
None
,
type
=
None
),
_descriptor
.
EnumValueDescriptor
(
name
=
'REWEIGHTING_UNMATCHED_ANCHORS'
,
index
=
2
,
number
=
2
,
options
=
None
,
type
=
None
),
],
containing_type
=
None
,
options
=
None
,
serialized_start
=
743
,
serialized_end
=
832
,
)
_sym_db
.
RegisterEnumDescriptor
(
_LOSS_EXPECTEDLOSSWEIGHTS
)
_HARDEXAMPLEMINER_LOSSTYPE
=
_descriptor
.
EnumDescriptor
(
name
=
'LossType'
,
full_name
=
'object_detection.protos.HardExampleMiner.LossType'
,
filename
=
None
,
file
=
DESCRIPTOR
,
values
=
[
_descriptor
.
EnumValueDescriptor
(
name
=
'BOTH'
,
index
=
0
,
number
=
0
,
options
=
None
,
type
=
None
),
_descriptor
.
EnumValueDescriptor
(
name
=
'CLASSIFICATION'
,
index
=
1
,
number
=
1
,
options
=
None
,
type
=
None
),
_descriptor
.
EnumValueDescriptor
(
name
=
'LOCALIZATION'
,
index
=
2
,
number
=
2
,
options
=
None
,
type
=
None
),
],
containing_type
=
None
,
options
=
None
,
serialized_start
=
2815
,
serialized_end
=
2873
,
)
_sym_db
.
RegisterEnumDescriptor
(
_HARDEXAMPLEMINER_LOSSTYPE
)
_LOSS_EQUALIZATIONLOSS
=
_descriptor
.
Descriptor
(
name
=
'EqualizationLoss'
,
full_name
=
'object_detection.protos.Loss.EqualizationLoss'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'weight'
,
full_name
=
'object_detection.protos.Loss.EqualizationLoss.weight'
,
index
=
0
,
number
=
1
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
0
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'exclude_prefixes'
,
full_name
=
'object_detection.protos.Loss.EqualizationLoss.exclude_prefixes'
,
index
=
1
,
number
=
2
,
type
=
9
,
cpp_type
=
9
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
678
,
serialized_end
=
741
,
)
_LOSS
=
_descriptor
.
Descriptor
(
name
=
'Loss'
,
full_name
=
'object_detection.protos.Loss'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'localization_loss'
,
full_name
=
'object_detection.protos.Loss.localization_loss'
,
index
=
0
,
number
=
1
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'classification_loss'
,
full_name
=
'object_detection.protos.Loss.classification_loss'
,
index
=
1
,
number
=
2
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'hard_example_miner'
,
full_name
=
'object_detection.protos.Loss.hard_example_miner'
,
index
=
2
,
number
=
3
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'classification_weight'
,
full_name
=
'object_detection.protos.Loss.classification_weight'
,
index
=
3
,
number
=
4
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
1
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'localization_weight'
,
full_name
=
'object_detection.protos.Loss.localization_weight'
,
index
=
4
,
number
=
5
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
1
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'random_example_sampler'
,
full_name
=
'object_detection.protos.Loss.random_example_sampler'
,
index
=
5
,
number
=
6
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'equalization_loss'
,
full_name
=
'object_detection.protos.Loss.equalization_loss'
,
index
=
6
,
number
=
7
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'expected_loss_weights'
,
full_name
=
'object_detection.protos.Loss.expected_loss_weights'
,
index
=
7
,
number
=
18
,
type
=
14
,
cpp_type
=
8
,
label
=
1
,
has_default_value
=
True
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'min_num_negative_samples'
,
full_name
=
'object_detection.protos.Loss.min_num_negative_samples'
,
index
=
8
,
number
=
19
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
0
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'desired_negative_sampling_ratio'
,
full_name
=
'object_detection.protos.Loss.desired_negative_sampling_ratio'
,
index
=
9
,
number
=
20
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
3
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[
_LOSS_EQUALIZATIONLOSS
,
],
enum_types
=
[
_LOSS_EXPECTEDLOSSWEIGHTS
,
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
66
,
serialized_end
=
832
,
)
_LOCALIZATIONLOSS
=
_descriptor
.
Descriptor
(
name
=
'LocalizationLoss'
,
full_name
=
'object_detection.protos.LocalizationLoss'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'weighted_l2'
,
full_name
=
'object_detection.protos.LocalizationLoss.weighted_l2'
,
index
=
0
,
number
=
1
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'weighted_smooth_l1'
,
full_name
=
'object_detection.protos.LocalizationLoss.weighted_smooth_l1'
,
index
=
1
,
number
=
2
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'weighted_iou'
,
full_name
=
'object_detection.protos.LocalizationLoss.weighted_iou'
,
index
=
2
,
number
=
3
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'l1_localization_loss'
,
full_name
=
'object_detection.protos.LocalizationLoss.l1_localization_loss'
,
index
=
3
,
number
=
4
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
_descriptor
.
OneofDescriptor
(
name
=
'localization_loss'
,
full_name
=
'object_detection.protos.LocalizationLoss.localization_loss'
,
index
=
0
,
containing_type
=
None
,
fields
=
[]),
],
serialized_start
=
835
,
serialized_end
=
1194
,
)
_WEIGHTEDL2LOCALIZATIONLOSS
=
_descriptor
.
Descriptor
(
name
=
'WeightedL2LocalizationLoss'
,
full_name
=
'object_detection.protos.WeightedL2LocalizationLoss'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'anchorwise_output'
,
full_name
=
'object_detection.protos.WeightedL2LocalizationLoss.anchorwise_output'
,
index
=
0
,
number
=
1
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1196
,
serialized_end
=
1258
,
)
_WEIGHTEDSMOOTHL1LOCALIZATIONLOSS
=
_descriptor
.
Descriptor
(
name
=
'WeightedSmoothL1LocalizationLoss'
,
full_name
=
'object_detection.protos.WeightedSmoothL1LocalizationLoss'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'anchorwise_output'
,
full_name
=
'object_detection.protos.WeightedSmoothL1LocalizationLoss.anchorwise_output'
,
index
=
0
,
number
=
1
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'delta'
,
full_name
=
'object_detection.protos.WeightedSmoothL1LocalizationLoss.delta'
,
index
=
1
,
number
=
2
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
1
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1260
,
serialized_end
=
1346
,
)
_WEIGHTEDIOULOCALIZATIONLOSS
=
_descriptor
.
Descriptor
(
name
=
'WeightedIOULocalizationLoss'
,
full_name
=
'object_detection.protos.WeightedIOULocalizationLoss'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1348
,
serialized_end
=
1377
,
)
_L1LOCALIZATIONLOSS
=
_descriptor
.
Descriptor
(
name
=
'L1LocalizationLoss'
,
full_name
=
'object_detection.protos.L1LocalizationLoss'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1379
,
serialized_end
=
1399
,
)
_CLASSIFICATIONLOSS
=
_descriptor
.
Descriptor
(
name
=
'ClassificationLoss'
,
full_name
=
'object_detection.protos.ClassificationLoss'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'weighted_sigmoid'
,
full_name
=
'object_detection.protos.ClassificationLoss.weighted_sigmoid'
,
index
=
0
,
number
=
1
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'weighted_softmax'
,
full_name
=
'object_detection.protos.ClassificationLoss.weighted_softmax'
,
index
=
1
,
number
=
2
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'weighted_logits_softmax'
,
full_name
=
'object_detection.protos.ClassificationLoss.weighted_logits_softmax'
,
index
=
2
,
number
=
5
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'bootstrapped_sigmoid'
,
full_name
=
'object_detection.protos.ClassificationLoss.bootstrapped_sigmoid'
,
index
=
3
,
number
=
3
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'weighted_sigmoid_focal'
,
full_name
=
'object_detection.protos.ClassificationLoss.weighted_sigmoid_focal'
,
index
=
4
,
number
=
4
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'penalty_reduced_logistic_focal_loss'
,
full_name
=
'object_detection.protos.ClassificationLoss.penalty_reduced_logistic_focal_loss'
,
index
=
5
,
number
=
6
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
_descriptor
.
OneofDescriptor
(
name
=
'classification_loss'
,
full_name
=
'object_detection.protos.ClassificationLoss.classification_loss'
,
index
=
0
,
containing_type
=
None
,
fields
=
[]),
],
serialized_start
=
1402
,
serialized_end
=
2021
,
)
_WEIGHTEDSIGMOIDCLASSIFICATIONLOSS
=
_descriptor
.
Descriptor
(
name
=
'WeightedSigmoidClassificationLoss'
,
full_name
=
'object_detection.protos.WeightedSigmoidClassificationLoss'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'anchorwise_output'
,
full_name
=
'object_detection.protos.WeightedSigmoidClassificationLoss.anchorwise_output'
,
index
=
0
,
number
=
1
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
2023
,
serialized_end
=
2092
,
)
_SIGMOIDFOCALCLASSIFICATIONLOSS
=
_descriptor
.
Descriptor
(
name
=
'SigmoidFocalClassificationLoss'
,
full_name
=
'object_detection.protos.SigmoidFocalClassificationLoss'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'anchorwise_output'
,
full_name
=
'object_detection.protos.SigmoidFocalClassificationLoss.anchorwise_output'
,
index
=
0
,
number
=
1
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'gamma'
,
full_name
=
'object_detection.protos.SigmoidFocalClassificationLoss.gamma'
,
index
=
1
,
number
=
2
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
2
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'alpha'
,
full_name
=
'object_detection.protos.SigmoidFocalClassificationLoss.alpha'
,
index
=
2
,
number
=
3
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
False
,
default_value
=
float
(
0
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
2094
,
serialized_end
=
2193
,
)
_WEIGHTEDSOFTMAXCLASSIFICATIONLOSS
=
_descriptor
.
Descriptor
(
name
=
'WeightedSoftmaxClassificationLoss'
,
full_name
=
'object_detection.protos.WeightedSoftmaxClassificationLoss'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'anchorwise_output'
,
full_name
=
'object_detection.protos.WeightedSoftmaxClassificationLoss.anchorwise_output'
,
index
=
0
,
number
=
1
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'logit_scale'
,
full_name
=
'object_detection.protos.WeightedSoftmaxClassificationLoss.logit_scale'
,
index
=
1
,
number
=
2
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
1
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
2195
,
serialized_end
=
2288
,
)
_WEIGHTEDSOFTMAXCLASSIFICATIONAGAINSTLOGITSLOSS
=
_descriptor
.
Descriptor
(
name
=
'WeightedSoftmaxClassificationAgainstLogitsLoss'
,
full_name
=
'object_detection.protos.WeightedSoftmaxClassificationAgainstLogitsLoss'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'anchorwise_output'
,
full_name
=
'object_detection.protos.WeightedSoftmaxClassificationAgainstLogitsLoss.anchorwise_output'
,
index
=
0
,
number
=
1
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'logit_scale'
,
full_name
=
'object_detection.protos.WeightedSoftmaxClassificationAgainstLogitsLoss.logit_scale'
,
index
=
1
,
number
=
2
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
1
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
2290
,
serialized_end
=
2396
,
)
_BOOTSTRAPPEDSIGMOIDCLASSIFICATIONLOSS
=
_descriptor
.
Descriptor
(
name
=
'BootstrappedSigmoidClassificationLoss'
,
full_name
=
'object_detection.protos.BootstrappedSigmoidClassificationLoss'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'alpha'
,
full_name
=
'object_detection.protos.BootstrappedSigmoidClassificationLoss.alpha'
,
index
=
0
,
number
=
1
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
False
,
default_value
=
float
(
0
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'hard_bootstrap'
,
full_name
=
'object_detection.protos.BootstrappedSigmoidClassificationLoss.hard_bootstrap'
,
index
=
1
,
number
=
2
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'anchorwise_output'
,
full_name
=
'object_detection.protos.BootstrappedSigmoidClassificationLoss.anchorwise_output'
,
index
=
2
,
number
=
3
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
True
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
2398
,
serialized_end
=
2517
,
)
_PENALTYREDUCEDLOGISTICFOCALLOSS
=
_descriptor
.
Descriptor
(
name
=
'PenaltyReducedLogisticFocalLoss'
,
full_name
=
'object_detection.protos.PenaltyReducedLogisticFocalLoss'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'alpha'
,
full_name
=
'object_detection.protos.PenaltyReducedLogisticFocalLoss.alpha'
,
index
=
0
,
number
=
1
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
False
,
default_value
=
float
(
0
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'beta'
,
full_name
=
'object_detection.protos.PenaltyReducedLogisticFocalLoss.beta'
,
index
=
1
,
number
=
2
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
False
,
default_value
=
float
(
0
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
2519
,
serialized_end
=
2581
,
)
_HARDEXAMPLEMINER
=
_descriptor
.
Descriptor
(
name
=
'HardExampleMiner'
,
full_name
=
'object_detection.protos.HardExampleMiner'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'num_hard_examples'
,
full_name
=
'object_detection.protos.HardExampleMiner.num_hard_examples'
,
index
=
0
,
number
=
1
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
64
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'iou_threshold'
,
full_name
=
'object_detection.protos.HardExampleMiner.iou_threshold'
,
index
=
1
,
number
=
2
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
0.7
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'loss_type'
,
full_name
=
'object_detection.protos.HardExampleMiner.loss_type'
,
index
=
2
,
number
=
3
,
type
=
14
,
cpp_type
=
8
,
label
=
1
,
has_default_value
=
True
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'max_negatives_per_positive'
,
full_name
=
'object_detection.protos.HardExampleMiner.max_negatives_per_positive'
,
index
=
3
,
number
=
4
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'min_negatives_per_image'
,
full_name
=
'object_detection.protos.HardExampleMiner.min_negatives_per_image'
,
index
=
4
,
number
=
5
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
True
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
_HARDEXAMPLEMINER_LOSSTYPE
,
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
2584
,
serialized_end
=
2873
,
)
_RANDOMEXAMPLESAMPLER
=
_descriptor
.
Descriptor
(
name
=
'RandomExampleSampler'
,
full_name
=
'object_detection.protos.RandomExampleSampler'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'positive_sample_fraction'
,
full_name
=
'object_detection.protos.RandomExampleSampler.positive_sample_fraction'
,
index
=
0
,
number
=
1
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
0.01
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
2875
,
serialized_end
=
2937
,
)
_LOSS_EQUALIZATIONLOSS
.
containing_type
=
_LOSS
_LOSS
.
fields_by_name
[
'localization_loss'
].
message_type
=
_LOCALIZATIONLOSS
_LOSS
.
fields_by_name
[
'classification_loss'
].
message_type
=
_CLASSIFICATIONLOSS
_LOSS
.
fields_by_name
[
'hard_example_miner'
].
message_type
=
_HARDEXAMPLEMINER
_LOSS
.
fields_by_name
[
'random_example_sampler'
].
message_type
=
_RANDOMEXAMPLESAMPLER
_LOSS
.
fields_by_name
[
'equalization_loss'
].
message_type
=
_LOSS_EQUALIZATIONLOSS
_LOSS
.
fields_by_name
[
'expected_loss_weights'
].
enum_type
=
_LOSS_EXPECTEDLOSSWEIGHTS
_LOSS_EXPECTEDLOSSWEIGHTS
.
containing_type
=
_LOSS
_LOCALIZATIONLOSS
.
fields_by_name
[
'weighted_l2'
].
message_type
=
_WEIGHTEDL2LOCALIZATIONLOSS
_LOCALIZATIONLOSS
.
fields_by_name
[
'weighted_smooth_l1'
].
message_type
=
_WEIGHTEDSMOOTHL1LOCALIZATIONLOSS
_LOCALIZATIONLOSS
.
fields_by_name
[
'weighted_iou'
].
message_type
=
_WEIGHTEDIOULOCALIZATIONLOSS
_LOCALIZATIONLOSS
.
fields_by_name
[
'l1_localization_loss'
].
message_type
=
_L1LOCALIZATIONLOSS
_LOCALIZATIONLOSS
.
oneofs_by_name
[
'localization_loss'
].
fields
.
append
(
_LOCALIZATIONLOSS
.
fields_by_name
[
'weighted_l2'
])
_LOCALIZATIONLOSS
.
fields_by_name
[
'weighted_l2'
].
containing_oneof
=
_LOCALIZATIONLOSS
.
oneofs_by_name
[
'localization_loss'
]
_LOCALIZATIONLOSS
.
oneofs_by_name
[
'localization_loss'
].
fields
.
append
(
_LOCALIZATIONLOSS
.
fields_by_name
[
'weighted_smooth_l1'
])
_LOCALIZATIONLOSS
.
fields_by_name
[
'weighted_smooth_l1'
].
containing_oneof
=
_LOCALIZATIONLOSS
.
oneofs_by_name
[
'localization_loss'
]
_LOCALIZATIONLOSS
.
oneofs_by_name
[
'localization_loss'
].
fields
.
append
(
_LOCALIZATIONLOSS
.
fields_by_name
[
'weighted_iou'
])
_LOCALIZATIONLOSS
.
fields_by_name
[
'weighted_iou'
].
containing_oneof
=
_LOCALIZATIONLOSS
.
oneofs_by_name
[
'localization_loss'
]
_LOCALIZATIONLOSS
.
oneofs_by_name
[
'localization_loss'
].
fields
.
append
(
_LOCALIZATIONLOSS
.
fields_by_name
[
'l1_localization_loss'
])
_LOCALIZATIONLOSS
.
fields_by_name
[
'l1_localization_loss'
].
containing_oneof
=
_LOCALIZATIONLOSS
.
oneofs_by_name
[
'localization_loss'
]
_CLASSIFICATIONLOSS
.
fields_by_name
[
'weighted_sigmoid'
].
message_type
=
_WEIGHTEDSIGMOIDCLASSIFICATIONLOSS
_CLASSIFICATIONLOSS
.
fields_by_name
[
'weighted_softmax'
].
message_type
=
_WEIGHTEDSOFTMAXCLASSIFICATIONLOSS
_CLASSIFICATIONLOSS
.
fields_by_name
[
'weighted_logits_softmax'
].
message_type
=
_WEIGHTEDSOFTMAXCLASSIFICATIONAGAINSTLOGITSLOSS
_CLASSIFICATIONLOSS
.
fields_by_name
[
'bootstrapped_sigmoid'
].
message_type
=
_BOOTSTRAPPEDSIGMOIDCLASSIFICATIONLOSS
_CLASSIFICATIONLOSS
.
fields_by_name
[
'weighted_sigmoid_focal'
].
message_type
=
_SIGMOIDFOCALCLASSIFICATIONLOSS
_CLASSIFICATIONLOSS
.
fields_by_name
[
'penalty_reduced_logistic_focal_loss'
].
message_type
=
_PENALTYREDUCEDLOGISTICFOCALLOSS
_CLASSIFICATIONLOSS
.
oneofs_by_name
[
'classification_loss'
].
fields
.
append
(
_CLASSIFICATIONLOSS
.
fields_by_name
[
'weighted_sigmoid'
])
_CLASSIFICATIONLOSS
.
fields_by_name
[
'weighted_sigmoid'
].
containing_oneof
=
_CLASSIFICATIONLOSS
.
oneofs_by_name
[
'classification_loss'
]
_CLASSIFICATIONLOSS
.
oneofs_by_name
[
'classification_loss'
].
fields
.
append
(
_CLASSIFICATIONLOSS
.
fields_by_name
[
'weighted_softmax'
])
_CLASSIFICATIONLOSS
.
fields_by_name
[
'weighted_softmax'
].
containing_oneof
=
_CLASSIFICATIONLOSS
.
oneofs_by_name
[
'classification_loss'
]
_CLASSIFICATIONLOSS
.
oneofs_by_name
[
'classification_loss'
].
fields
.
append
(
_CLASSIFICATIONLOSS
.
fields_by_name
[
'weighted_logits_softmax'
])
_CLASSIFICATIONLOSS
.
fields_by_name
[
'weighted_logits_softmax'
].
containing_oneof
=
_CLASSIFICATIONLOSS
.
oneofs_by_name
[
'classification_loss'
]
_CLASSIFICATIONLOSS
.
oneofs_by_name
[
'classification_loss'
].
fields
.
append
(
_CLASSIFICATIONLOSS
.
fields_by_name
[
'bootstrapped_sigmoid'
])
_CLASSIFICATIONLOSS
.
fields_by_name
[
'bootstrapped_sigmoid'
].
containing_oneof
=
_CLASSIFICATIONLOSS
.
oneofs_by_name
[
'classification_loss'
]
_CLASSIFICATIONLOSS
.
oneofs_by_name
[
'classification_loss'
].
fields
.
append
(
_CLASSIFICATIONLOSS
.
fields_by_name
[
'weighted_sigmoid_focal'
])
_CLASSIFICATIONLOSS
.
fields_by_name
[
'weighted_sigmoid_focal'
].
containing_oneof
=
_CLASSIFICATIONLOSS
.
oneofs_by_name
[
'classification_loss'
]
_CLASSIFICATIONLOSS
.
oneofs_by_name
[
'classification_loss'
].
fields
.
append
(
_CLASSIFICATIONLOSS
.
fields_by_name
[
'penalty_reduced_logistic_focal_loss'
])
_CLASSIFICATIONLOSS
.
fields_by_name
[
'penalty_reduced_logistic_focal_loss'
].
containing_oneof
=
_CLASSIFICATIONLOSS
.
oneofs_by_name
[
'classification_loss'
]
_HARDEXAMPLEMINER
.
fields_by_name
[
'loss_type'
].
enum_type
=
_HARDEXAMPLEMINER_LOSSTYPE
_HARDEXAMPLEMINER_LOSSTYPE
.
containing_type
=
_HARDEXAMPLEMINER
DESCRIPTOR
.
message_types_by_name
[
'Loss'
]
=
_LOSS
DESCRIPTOR
.
message_types_by_name
[
'LocalizationLoss'
]
=
_LOCALIZATIONLOSS
DESCRIPTOR
.
message_types_by_name
[
'WeightedL2LocalizationLoss'
]
=
_WEIGHTEDL2LOCALIZATIONLOSS
DESCRIPTOR
.
message_types_by_name
[
'WeightedSmoothL1LocalizationLoss'
]
=
_WEIGHTEDSMOOTHL1LOCALIZATIONLOSS
DESCRIPTOR
.
message_types_by_name
[
'WeightedIOULocalizationLoss'
]
=
_WEIGHTEDIOULOCALIZATIONLOSS
DESCRIPTOR
.
message_types_by_name
[
'L1LocalizationLoss'
]
=
_L1LOCALIZATIONLOSS
DESCRIPTOR
.
message_types_by_name
[
'ClassificationLoss'
]
=
_CLASSIFICATIONLOSS
DESCRIPTOR
.
message_types_by_name
[
'WeightedSigmoidClassificationLoss'
]
=
_WEIGHTEDSIGMOIDCLASSIFICATIONLOSS
DESCRIPTOR
.
message_types_by_name
[
'SigmoidFocalClassificationLoss'
]
=
_SIGMOIDFOCALCLASSIFICATIONLOSS
DESCRIPTOR
.
message_types_by_name
[
'WeightedSoftmaxClassificationLoss'
]
=
_WEIGHTEDSOFTMAXCLASSIFICATIONLOSS
DESCRIPTOR
.
message_types_by_name
[
'WeightedSoftmaxClassificationAgainstLogitsLoss'
]
=
_WEIGHTEDSOFTMAXCLASSIFICATIONAGAINSTLOGITSLOSS
DESCRIPTOR
.
message_types_by_name
[
'BootstrappedSigmoidClassificationLoss'
]
=
_BOOTSTRAPPEDSIGMOIDCLASSIFICATIONLOSS
DESCRIPTOR
.
message_types_by_name
[
'PenaltyReducedLogisticFocalLoss'
]
=
_PENALTYREDUCEDLOGISTICFOCALLOSS
DESCRIPTOR
.
message_types_by_name
[
'HardExampleMiner'
]
=
_HARDEXAMPLEMINER
DESCRIPTOR
.
message_types_by_name
[
'RandomExampleSampler'
]
=
_RANDOMEXAMPLESAMPLER
Loss
=
_reflection
.
GeneratedProtocolMessageType
(
'Loss'
,
(
_message
.
Message
,),
dict
(
EqualizationLoss
=
_reflection
.
GeneratedProtocolMessageType
(
'EqualizationLoss'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_LOSS_EQUALIZATIONLOSS
,
__module__
=
'object_detection.protos.losses_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.Loss.EqualizationLoss)
))
,
DESCRIPTOR
=
_LOSS
,
__module__
=
'object_detection.protos.losses_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.Loss)
))
_sym_db
.
RegisterMessage
(
Loss
)
_sym_db
.
RegisterMessage
(
Loss
.
EqualizationLoss
)
LocalizationLoss
=
_reflection
.
GeneratedProtocolMessageType
(
'LocalizationLoss'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_LOCALIZATIONLOSS
,
__module__
=
'object_detection.protos.losses_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.LocalizationLoss)
))
_sym_db
.
RegisterMessage
(
LocalizationLoss
)
WeightedL2LocalizationLoss
=
_reflection
.
GeneratedProtocolMessageType
(
'WeightedL2LocalizationLoss'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_WEIGHTEDL2LOCALIZATIONLOSS
,
__module__
=
'object_detection.protos.losses_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.WeightedL2LocalizationLoss)
))
_sym_db
.
RegisterMessage
(
WeightedL2LocalizationLoss
)
WeightedSmoothL1LocalizationLoss
=
_reflection
.
GeneratedProtocolMessageType
(
'WeightedSmoothL1LocalizationLoss'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_WEIGHTEDSMOOTHL1LOCALIZATIONLOSS
,
__module__
=
'object_detection.protos.losses_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.WeightedSmoothL1LocalizationLoss)
))
_sym_db
.
RegisterMessage
(
WeightedSmoothL1LocalizationLoss
)
WeightedIOULocalizationLoss
=
_reflection
.
GeneratedProtocolMessageType
(
'WeightedIOULocalizationLoss'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_WEIGHTEDIOULOCALIZATIONLOSS
,
__module__
=
'object_detection.protos.losses_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.WeightedIOULocalizationLoss)
))
_sym_db
.
RegisterMessage
(
WeightedIOULocalizationLoss
)
L1LocalizationLoss
=
_reflection
.
GeneratedProtocolMessageType
(
'L1LocalizationLoss'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_L1LOCALIZATIONLOSS
,
__module__
=
'object_detection.protos.losses_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.L1LocalizationLoss)
))
_sym_db
.
RegisterMessage
(
L1LocalizationLoss
)
ClassificationLoss
=
_reflection
.
GeneratedProtocolMessageType
(
'ClassificationLoss'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_CLASSIFICATIONLOSS
,
__module__
=
'object_detection.protos.losses_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.ClassificationLoss)
))
_sym_db
.
RegisterMessage
(
ClassificationLoss
)
WeightedSigmoidClassificationLoss
=
_reflection
.
GeneratedProtocolMessageType
(
'WeightedSigmoidClassificationLoss'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_WEIGHTEDSIGMOIDCLASSIFICATIONLOSS
,
__module__
=
'object_detection.protos.losses_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.WeightedSigmoidClassificationLoss)
))
_sym_db
.
RegisterMessage
(
WeightedSigmoidClassificationLoss
)
SigmoidFocalClassificationLoss
=
_reflection
.
GeneratedProtocolMessageType
(
'SigmoidFocalClassificationLoss'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_SIGMOIDFOCALCLASSIFICATIONLOSS
,
__module__
=
'object_detection.protos.losses_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.SigmoidFocalClassificationLoss)
))
_sym_db
.
RegisterMessage
(
SigmoidFocalClassificationLoss
)
WeightedSoftmaxClassificationLoss
=
_reflection
.
GeneratedProtocolMessageType
(
'WeightedSoftmaxClassificationLoss'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_WEIGHTEDSOFTMAXCLASSIFICATIONLOSS
,
__module__
=
'object_detection.protos.losses_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.WeightedSoftmaxClassificationLoss)
))
_sym_db
.
RegisterMessage
(
WeightedSoftmaxClassificationLoss
)
WeightedSoftmaxClassificationAgainstLogitsLoss
=
_reflection
.
GeneratedProtocolMessageType
(
'WeightedSoftmaxClassificationAgainstLogitsLoss'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_WEIGHTEDSOFTMAXCLASSIFICATIONAGAINSTLOGITSLOSS
,
__module__
=
'object_detection.protos.losses_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.WeightedSoftmaxClassificationAgainstLogitsLoss)
))
_sym_db
.
RegisterMessage
(
WeightedSoftmaxClassificationAgainstLogitsLoss
)
BootstrappedSigmoidClassificationLoss
=
_reflection
.
GeneratedProtocolMessageType
(
'BootstrappedSigmoidClassificationLoss'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_BOOTSTRAPPEDSIGMOIDCLASSIFICATIONLOSS
,
__module__
=
'object_detection.protos.losses_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.BootstrappedSigmoidClassificationLoss)
))
_sym_db
.
RegisterMessage
(
BootstrappedSigmoidClassificationLoss
)
PenaltyReducedLogisticFocalLoss
=
_reflection
.
GeneratedProtocolMessageType
(
'PenaltyReducedLogisticFocalLoss'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_PENALTYREDUCEDLOGISTICFOCALLOSS
,
__module__
=
'object_detection.protos.losses_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.PenaltyReducedLogisticFocalLoss)
))
_sym_db
.
RegisterMessage
(
PenaltyReducedLogisticFocalLoss
)
HardExampleMiner
=
_reflection
.
GeneratedProtocolMessageType
(
'HardExampleMiner'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_HARDEXAMPLEMINER
,
__module__
=
'object_detection.protos.losses_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.HardExampleMiner)
))
_sym_db
.
RegisterMessage
(
HardExampleMiner
)
RandomExampleSampler
=
_reflection
.
GeneratedProtocolMessageType
(
'RandomExampleSampler'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_RANDOMEXAMPLESAMPLER
,
__module__
=
'object_detection.protos.losses_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.RandomExampleSampler)
))
_sym_db
.
RegisterMessage
(
RandomExampleSampler
)
# @@protoc_insertion_point(module_scope)
research/object_detection/protos/matcher_pb2.py
0 → 100644
View file @
bb16d5ca
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: object_detection/protos/matcher.proto
import
sys
_b
=
sys
.
version_info
[
0
]
<
3
and
(
lambda
x
:
x
)
or
(
lambda
x
:
x
.
encode
(
'latin1'
))
from
google.protobuf
import
descriptor
as
_descriptor
from
google.protobuf
import
message
as
_message
from
google.protobuf
import
reflection
as
_reflection
from
google.protobuf
import
symbol_database
as
_symbol_database
from
google.protobuf
import
descriptor_pb2
# @@protoc_insertion_point(imports)
_sym_db
=
_symbol_database
.
Default
()
from
object_detection.protos
import
argmax_matcher_pb2
as
object__detection_dot_protos_dot_argmax__matcher__pb2
from
object_detection.protos
import
bipartite_matcher_pb2
as
object__detection_dot_protos_dot_bipartite__matcher__pb2
DESCRIPTOR
=
_descriptor
.
FileDescriptor
(
name
=
'object_detection/protos/matcher.proto'
,
package
=
'object_detection.protos'
,
syntax
=
'proto2'
,
serialized_pb
=
_b
(
'
\n
%object_detection/protos/matcher.proto
\x12\x17
object_detection.protos
\x1a
,object_detection/protos/argmax_matcher.proto
\x1a
/object_detection/protos/bipartite_matcher.proto
\"\xa4\x01\n\x07
Matcher
\x12
@
\n\x0e\x61
rgmax_matcher
\x18\x01
\x01
(
\x0b\x32
&.object_detection.protos.ArgMaxMatcherH
\x00\x12\x46\n\x11\x62
ipartite_matcher
\x18\x02
\x01
(
\x0b\x32
).object_detection.protos.BipartiteMatcherH
\x00\x42\x0f\n\r
matcher_oneof'
)
,
dependencies
=
[
object__detection_dot_protos_dot_argmax__matcher__pb2
.
DESCRIPTOR
,
object__detection_dot_protos_dot_bipartite__matcher__pb2
.
DESCRIPTOR
,])
_sym_db
.
RegisterFileDescriptor
(
DESCRIPTOR
)
_MATCHER
=
_descriptor
.
Descriptor
(
name
=
'Matcher'
,
full_name
=
'object_detection.protos.Matcher'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'argmax_matcher'
,
full_name
=
'object_detection.protos.Matcher.argmax_matcher'
,
index
=
0
,
number
=
1
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
_descriptor
.
FieldDescriptor
(
name
=
'bipartite_matcher'
,
full_name
=
'object_detection.protos.Matcher.bipartite_matcher'
,
index
=
1
,
number
=
2
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
_descriptor
.
OneofDescriptor
(
name
=
'matcher_oneof'
,
full_name
=
'object_detection.protos.Matcher.matcher_oneof'
,
index
=
0
,
containing_type
=
None
,
fields
=
[]),
],
serialized_start
=
162
,
serialized_end
=
326
,
)
_MATCHER
.
fields_by_name
[
'argmax_matcher'
].
message_type
=
object__detection_dot_protos_dot_argmax__matcher__pb2
.
_ARGMAXMATCHER
_MATCHER
.
fields_by_name
[
'bipartite_matcher'
].
message_type
=
object__detection_dot_protos_dot_bipartite__matcher__pb2
.
_BIPARTITEMATCHER
_MATCHER
.
oneofs_by_name
[
'matcher_oneof'
].
fields
.
append
(
_MATCHER
.
fields_by_name
[
'argmax_matcher'
])
_MATCHER
.
fields_by_name
[
'argmax_matcher'
].
containing_oneof
=
_MATCHER
.
oneofs_by_name
[
'matcher_oneof'
]
_MATCHER
.
oneofs_by_name
[
'matcher_oneof'
].
fields
.
append
(
_MATCHER
.
fields_by_name
[
'bipartite_matcher'
])
_MATCHER
.
fields_by_name
[
'bipartite_matcher'
].
containing_oneof
=
_MATCHER
.
oneofs_by_name
[
'matcher_oneof'
]
DESCRIPTOR
.
message_types_by_name
[
'Matcher'
]
=
_MATCHER
Matcher
=
_reflection
.
GeneratedProtocolMessageType
(
'Matcher'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_MATCHER
,
__module__
=
'object_detection.protos.matcher_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.Matcher)
))
_sym_db
.
RegisterMessage
(
Matcher
)
# @@protoc_insertion_point(module_scope)
research/object_detection/protos/mean_stddev_box_coder_pb2.py
0 → 100644
View file @
bb16d5ca
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: object_detection/protos/mean_stddev_box_coder.proto
import
sys
_b
=
sys
.
version_info
[
0
]
<
3
and
(
lambda
x
:
x
)
or
(
lambda
x
:
x
.
encode
(
'latin1'
))
from
google.protobuf
import
descriptor
as
_descriptor
from
google.protobuf
import
message
as
_message
from
google.protobuf
import
reflection
as
_reflection
from
google.protobuf
import
symbol_database
as
_symbol_database
from
google.protobuf
import
descriptor_pb2
# @@protoc_insertion_point(imports)
_sym_db
=
_symbol_database
.
Default
()
DESCRIPTOR
=
_descriptor
.
FileDescriptor
(
name
=
'object_detection/protos/mean_stddev_box_coder.proto'
,
package
=
'object_detection.protos'
,
syntax
=
'proto2'
,
serialized_pb
=
_b
(
'
\n
3object_detection/protos/mean_stddev_box_coder.proto
\x12\x17
object_detection.protos
\"
*
\n\x12
MeanStddevBoxCoder
\x12\x14\n\x06
stddev
\x18\x01
\x01
(
\x02
:
\x04\x30
.01'
)
)
_sym_db
.
RegisterFileDescriptor
(
DESCRIPTOR
)
_MEANSTDDEVBOXCODER
=
_descriptor
.
Descriptor
(
name
=
'MeanStddevBoxCoder'
,
full_name
=
'object_detection.protos.MeanStddevBoxCoder'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'stddev'
,
full_name
=
'object_detection.protos.MeanStddevBoxCoder.stddev'
,
index
=
0
,
number
=
1
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
True
,
default_value
=
float
(
0.01
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
options
=
None
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
options
=
None
,
is_extendable
=
False
,
syntax
=
'proto2'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
80
,
serialized_end
=
122
,
)
DESCRIPTOR
.
message_types_by_name
[
'MeanStddevBoxCoder'
]
=
_MEANSTDDEVBOXCODER
MeanStddevBoxCoder
=
_reflection
.
GeneratedProtocolMessageType
(
'MeanStddevBoxCoder'
,
(
_message
.
Message
,),
dict
(
DESCRIPTOR
=
_MEANSTDDEVBOXCODER
,
__module__
=
'object_detection.protos.mean_stddev_box_coder_pb2'
# @@protoc_insertion_point(class_scope:object_detection.protos.MeanStddevBoxCoder)
))
_sym_db
.
RegisterMessage
(
MeanStddevBoxCoder
)
# @@protoc_insertion_point(module_scope)
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment