singa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wang...@apache.org
Subject [3/3] incubator-singa git commit: switch off the verbose mode for vgg example
Date Fri, 23 Nov 2018 08:41:56 GMT
switch off the verbose mode for vgg example


Project: http://git-wip-us.apache.org/repos/asf/incubator-singa/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-singa/commit/3d688be4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-singa/tree/3d688be4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-singa/diff/3d688be4

Branch: refs/heads/master
Commit: 3d688be4e506d6002aa4a21b5906d6dce276fbf3
Parents: 3e10c03
Author: Wang Wei <wangwei.cs@gmail.com>
Authored: Fri Nov 23 16:41:40 2018 +0800
Committer: Wang Wei <wangwei.cs@gmail.com>
Committed: Fri Nov 23 16:41:40 2018 +0800

----------------------------------------------------------------------
 examples/cifar10/vgg.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/3d688be4/examples/cifar10/vgg.py
----------------------------------------------------------------------
diff --git a/examples/cifar10/vgg.py b/examples/cifar10/vgg.py
index ec893a9..8f35cf9 100644
--- a/examples/cifar10/vgg.py
+++ b/examples/cifar10/vgg.py
@@ -22,15 +22,14 @@ learning rate, weight decay, max_epoch, parameter initialization, etc.
 from __future__ import print_function
 from builtins import zip
 
-# sys.path.append(os.path.join(os.path.dirname(__file__), '../../build/python'))
-
 from singa import layer
 from singa import initializer
 from singa import metric
 from singa import loss
 from singa import net as ffnet
 
-ffnet.verbose=True
+# ffnet.verbose=True
+
 
 def ConvBnReLU(net, name, nb_filers, sample_shape=None):
     net.add(layer.Conv2D(name + '_1', nb_filers, 3, 1, pad=1,


Mime
View raw message