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
0daae829
Commit
0daae829
authored
Sep 02, 2021
by
A. Unique TensorFlower
Committed by
TF Object Detection Team
Sep 02, 2021
Browse files
change on track_reid classification net to solve dimension error in centerMOT pipeline
PiperOrigin-RevId: 394505975
parent
27bd23e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
research/object_detection/meta_architectures/center_net_meta_arch.py
...ject_detection/meta_architectures/center_net_meta_arch.py
+2
-6
No files found.
research/object_detection/meta_architectures/center_net_meta_arch.py
View file @
0daae829
...
...
@@ -2898,16 +2898,12 @@ class CenterNetMetaArch(model.DetectionModel):
self
.
track_reid_classification_net
=
tf
.
keras
.
Sequential
()
for
_
in
range
(
self
.
_track_params
.
num_fc_layers
-
1
):
self
.
track_reid_classification_net
.
add
(
tf
.
keras
.
layers
.
Dense
(
self
.
_track_params
.
reid_embed_size
,
input_shape
=
(
self
.
_track_params
.
reid_embed_size
,)))
tf
.
keras
.
layers
.
Dense
(
self
.
_track_params
.
reid_embed_size
))
self
.
track_reid_classification_net
.
add
(
tf
.
keras
.
layers
.
BatchNormalization
())
self
.
track_reid_classification_net
.
add
(
tf
.
keras
.
layers
.
ReLU
())
self
.
track_reid_classification_net
.
add
(
tf
.
keras
.
layers
.
Dense
(
self
.
_track_params
.
num_track_ids
,
input_shape
=
(
self
.
_track_params
.
reid_embed_size
,)))
tf
.
keras
.
layers
.
Dense
(
self
.
_track_params
.
num_track_ids
))
if
self
.
_temporal_offset_params
is
not
None
:
prediction_heads
[
TEMPORAL_OFFSET
]
=
self
.
_make_prediction_net_list
(
num_feature_outputs
,
NUM_OFFSET_CHANNELS
,
name
=
'temporal_offset'
,
...
...
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