Repository: incubator-singa Updated Branches: refs/heads/master f6b477711 -> d30920f6c (forced update)
SINGA-290 Upgrade to Python 3 Fix the bug from unittest due to odd pading. Add future as runtime dependency. Project: http://git-wip-us.apache.org/repos/asf/incubator-singa/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-singa/commit/d30920f6 Tree: http://git-wip-us.apache.org/repos/asf/incubator-singa/tree/d30920f6 Diff: http://git-wip-us.apache.org/repos/asf/incubator-singa/diff/d30920f6 Branch: refs/heads/master Commit: d30920f6ce61c7264419f4320add7586d78dfc7b Parents: bf121fd Author: Wei Wang <[email protected]> Authored: Mon Aug 21 14:24:29 2017 +0800 Committer: Wei Wang <[email protected]> Committed: Mon Aug 21 14:38:50 2017 +0800 ---------------------------------------------------------------------- test/python/test_layer.py | 2 +- tool/conda/meta.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/d30920f6/test/python/test_layer.py ---------------------------------------------------------------------- diff --git a/test/python/test_layer.py b/test/python/test_layer.py index b98065f..cef29e4 100644 --- a/test/python/test_layer.py +++ b/test/python/test_layer.py @@ -139,7 +139,7 @@ class TestPythonLayer(unittest.TestCase): self.check_shape(out_sample_shape, (64, 112, 112)) def test_max_pooling1D(self): - in_sample_shape = (224,) + in_sample_shape = (225,) pooling = layer.MaxPooling1D('pool', 3, 2, input_sample_shape=in_sample_shape) out_sample_shape = pooling.get_output_sample_shape() http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/d30920f6/tool/conda/meta.yaml ---------------------------------------------------------------------- diff --git a/tool/conda/meta.yaml b/tool/conda/meta.yaml index ea8bbd9..5ff87a9 100644 --- a/tool/conda/meta.yaml +++ b/tool/conda/meta.yaml @@ -36,6 +36,7 @@ requirements: - flask >=0.10.1 - flask-cors >=3.0.2 - pillow >=2.3.0 + - future >=0.16.0 test: source_files:
