You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@singa.apache.org by GitBox <gi...@apache.org> on 2020/04/08 12:28:16 UTC
[GitHub] [singa] chrishkchris edited a comment on issue #664: fix path for
mlp in train.py
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