Commit d03f4fb6 authored by syiming's avatar syiming
Browse files

remove unused check

parent 4dcc11d1
...@@ -1373,9 +1373,7 @@ class FasterRCNNMetaArch(model.DetectionModel): ...@@ -1373,9 +1373,7 @@ class FasterRCNNMetaArch(model.DetectionModel):
""" """
num_anchors_per_location = ( num_anchors_per_location = (
self._first_stage_anchor_generator.num_anchors_per_location()) self._first_stage_anchor_generator.num_anchors_per_location())
# if len(num_anchors_per_location) != 1:
# raise RuntimeError('anchor_generator is expected to generate anchors '
# 'corresponding to a single feature map.')
if self._first_stage_box_predictor.is_keras_model: if self._first_stage_box_predictor.is_keras_model:
box_predictions = self._first_stage_box_predictor( box_predictions = self._first_stage_box_predictor(
rpn_box_predictor_features) rpn_box_predictor_features)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment