"tests/git@developer.sourcefind.cn:wangsen/mineru.git" did not exist on "90a36b7950028b87963ee9aaefa8e6001ff0f6dd"
Commit c0b12110 authored by A. Unique TensorFlower's avatar A. Unique TensorFlower
Browse files

Internal change

PiperOrigin-RevId: 449359795
parent cdf03125
......@@ -63,7 +63,7 @@ class SegmentationHeadTest(parameterized.TestCase, tf.test.TestCase):
logits = head((backbone_features, decoder_features))
if level in decoder_features:
if str(level) in decoder_features:
self.assertAllEqual(logits.numpy().shape, [
2, decoder_features[str(level)].shape[1],
decoder_features[str(level)].shape[2], 10
......@@ -94,6 +94,7 @@ class MaskScoringHeadTest(parameterized.TestCase, tf.test.TestCase):
num_convs=num_convs,
num_filters=num_filters,
fc_dims=128,
num_fcs=num_fcs,
fc_input_size=fc_input_size)
scores = head(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