Mentions légales du service

Skip to content
Snippets Groups Projects
Unverified Commit 6ca65b7b authored by cclauss's avatar cclauss Committed by GitHub
Browse files

Slim: 3217920L --> 3217920 (drop the trailing L)

Replaces #2183  Python 2.7 no longer needs the trailing L and Python 3 treats it as a Syntax Error.
parent 7f2ea994
No related branches found
No related tags found
No related merge requests found
...@@ -310,7 +310,7 @@ class MobilenetV1Test(tf.test.TestCase): ...@@ -310,7 +310,7 @@ class MobilenetV1Test(tf.test.TestCase):
mobilenet_v1.mobilenet_v1_base(inputs) mobilenet_v1.mobilenet_v1_base(inputs)
total_params, _ = slim.model_analyzer.analyze_vars( total_params, _ = slim.model_analyzer.analyze_vars(
slim.get_model_variables()) slim.get_model_variables())
self.assertAlmostEqual(3217920L, total_params) self.assertAlmostEqual(3217920, total_params)
def testBuildEndPointsWithDepthMultiplierLessThanOne(self): def testBuildEndPointsWithDepthMultiplierLessThanOne(self):
batch_size = 5 batch_size = 5
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment