diff options
author | Yifei Feng <yifeif@google.com> | 2017-11-22 00:39:22 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-11-22 00:42:30 -0800 |
commit | e70c00950d295c519fd9c7f8b12e13a3c5aaf710 (patch) | |
tree | ee1210f8810e0b0fec9346f762e854b371899919 /tensorflow/contrib/slim | |
parent | ad7eeec1cc06d7fdba6ee404f03a35fab9cd3e6a (diff) |
Automated g4 rollback of changelist 176615107
PiperOrigin-RevId: 176622438
Diffstat (limited to 'tensorflow/contrib/slim')
-rw-r--r-- | tensorflow/contrib/slim/README.md | 2 | ||||
-rw-r--r-- | tensorflow/contrib/slim/python/slim/nets/resnet_v1_test.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/contrib/slim/README.md b/tensorflow/contrib/slim/README.md index f7a85557ca..0bfd0801d5 100644 --- a/tensorflow/contrib/slim/README.md +++ b/tensorflow/contrib/slim/README.md @@ -237,7 +237,7 @@ One way to reduce this code duplication would be via a `for` loop: ```python net = ... for i in range(3): - net = slim.conv2d(net, 256, [3, 3], scope='conv3_%d' % (i+1)) + net = slim.conv2d(net, 256, [3, 3], scope='conv3_' % (i+1)) net = slim.max_pool2d(net, [2, 2], scope='pool2') ``` diff --git a/tensorflow/contrib/slim/python/slim/nets/resnet_v1_test.py b/tensorflow/contrib/slim/python/slim/nets/resnet_v1_test.py index 576444214d..b4fd2580c2 100644 --- a/tensorflow/contrib/slim/python/slim/nets/resnet_v1_test.py +++ b/tensorflow/contrib/slim/python/slim/nets/resnet_v1_test.py @@ -386,7 +386,7 @@ class ResnetCompleteNetworkTest(test.TestCase): inputs, None, is_training=False, global_pool=False) sess.run(variables.global_variables_initializer()) self.assertAllClose( - output.eval(), expected.eval(), atol=2e-4, rtol=1e-4) + output.eval(), expected.eval(), atol=1e-4, rtol=1e-4) def testUnknownBatchSize(self): batch = 2 |