You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@singa.apache.org by zh...@apache.org on 2022/12/06 07:41:36 UTC
[singa] branch dev updated: Add running script for cnn example
This is an automated email from the ASF dual-hosted git repository.
zhaojing pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/singa.git
The following commit(s) were added to refs/heads/dev by this push:
new 5ecf3495 Add running script for cnn example
new b45e8b55 Merge pull request #1022 from zlheui/add-running-script
5ecf3495 is described below
commit 5ecf34953fcffedc01a50bb89a2058e8d908372d
Author: zhulei <zl...@gmail.com>
AuthorDate: Tue Dec 6 12:27:38 2022 +0800
Add running script for cnn example
---
examples/cnn/run.sh | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/examples/cnn/run.sh b/examples/cnn/run.sh
index f8416897..1b4e9939 100644
--- a/examples/cnn/run.sh
+++ b/examples/cnn/run.sh
@@ -17,8 +17,14 @@
# under the License.
#
+### mnist
+python train_cnn.py mlp mnist
python train_cnn.py cnn mnist
+
+### cifar10
python train_cnn.py mlp cifar10
-python train_cnn.py mlp cifar100
python train_cnn.py cnn cifar10
+
+### cifar100
+python train_cnn.py mlp cifar100
python train_cnn.py cnn cifar100