From dev-return-5001-archive-asf-public=cust-asf.ponee.io@singa.apache.org Wed Apr 8 12:28:17 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id DFD2A18057A for ; Wed, 8 Apr 2020 14:28:16 +0200 (CEST) Received: (qmail 70741 invoked by uid 500); 8 Apr 2020 12:28:16 -0000 Mailing-List: contact dev-help@singa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@singa.apache.org Delivered-To: mailing list dev@singa.apache.org Received: (qmail 70731 invoked by uid 99); 8 Apr 2020 12:28:16 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Apr 2020 12:28:16 +0000 From: GitBox To: dev@singa.apache.org Subject: [GitHub] [singa] chrishkchris edited a comment on issue #664: fix path for mlp in train.py Message-ID: <158634889618.17012.5937544646270994628.gitbox@gitbox.apache.org> References: In-Reply-To: Date: Wed, 08 Apr 2020 12:28:16 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit chrishkchris edited a comment on issue #664: fix path for mlp in train.py URL: https://github.com/apache/singa/pull/664#issuecomment-610927256 created the "__main__" function for module.py The following compare the two mlp python files (native and module) ``` (singa) dcsysh@panda7:~/singa/examples/mlp$ python3 module.py training loss = 0.6983457 training loss = 0.5789051 training loss = 0.5416279 training loss = 0.5215638 training loss = 0.48960403 training loss = 0.41315585 training loss = 0.29514945 training loss = 0.22526246 training loss = 0.17949672 training loss = 0.1460414 training loss = 0.1275652 (singa) dcsysh@panda7:~/singa/examples/mlp$ python3 native.py train_data_shape: (400, 2) train_label_shape: (400, 2) training loss = 0.69022506 training loss = 0.5337086 training loss = 0.50861275 training loss = 0.45854628 training loss = 0.36616224 training loss = 0.2868635 training loss = 0.23228025 training loss = 0.19422081 training loss = 0.16704172 training loss = 0.14696379 training loss = 0.13173983 ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org With regards, Apache Git Services