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 2023/10/06 08:48:11 UTC

[singa] branch dev-postgresql updated: Add the running script for model selection

This is an automated email from the ASF dual-hosted git repository.

zhaojing pushed a commit to branch dev-postgresql
in repository https://gitbox.apache.org/repos/asf/singa.git


The following commit(s) were added to refs/heads/dev-postgresql by this push:
     new 8f3a7ab6 Add the running script for model selection
     new aa683cef Merge pull request #1106 from zmeihui/23-10-6-run
8f3a7ab6 is described below

commit 8f3a7ab6c6cb9c4e2f037ab8a287142fd654e9b7
Author: zmeihui <me...@bit.edu.cn>
AuthorDate: Fri Oct 6 14:25:54 2023 +0800

    Add the running script for model selection
---
 examples/model_selection_psql/ms_mlp/run.sh | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/examples/model_selection_psql/ms_mlp/run.sh b/examples/model_selection_psql/ms_mlp/run.sh
new file mode 100644
index 00000000..5e78f5f2
--- /dev/null
+++ b/examples/model_selection_psql/ms_mlp/run.sh
@@ -0,0 +1,26 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+#!/usr/bin/env python -W ignore::DeprecationWarning
+
+### Static Models
+python train_mlp.py ms_model_mlp mnist
+
+### Dynamic Models
+python train_ms_model.py ms_model_mlp mnist