Unverified Commit d4cd02b9 authored by Yukun Zhu's avatar Yukun Zhu Committed by GitHub
Browse files

Merge pull request #3686 from hsm207/patch-2

Fix DeprecationWarning
parents 51ea4925 908742dd
...@@ -78,7 +78,7 @@ class DeeplabModelTest(tf.test.TestCase): ...@@ -78,7 +78,7 @@ class DeeplabModelTest(tf.test.TestCase):
# Expected number of logits = len(image_pyramid) + 1, since the # Expected number of logits = len(image_pyramid) + 1, since the
# last logits is merged from all the scales. # last logits is merged from all the scales.
self.assertEquals(len(scales_to_logits), expected_num_logits[i]) self.assertEqual(len(scales_to_logits), expected_num_logits[i])
def testForwardpassDeepLabv3plus(self): def testForwardpassDeepLabv3plus(self):
crop_size = [33, 33] crop_size = [33, 33]
......
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