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 11:13:49 UTC
[GitHub] [singa] nudles commented on a change in pull request #664: fix path
for mlp in train.py
nudles commented on a change in pull request #664: fix path for mlp in train.py
URL: https://github.com/apache/singa/pull/664#discussion_r405445994
##########
File path: examples/cnn/train.py
##########
@@ -136,8 +136,14 @@ def run(global_rank,
model = cnn.create_model(num_channels=num_channels,
num_classes=num_classes)
elif model == 'mlp':
- from model import mlp
- model = mlp.create_model(data_size=data_size, num_classes=num_classes)
+ import os, sys, inspect
Review comment:
I have moved mlp into examples/mlp folder.
this folder is for cnn.
pls test the scripts in examples/mlp
----------------------------------------------------------------
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