singa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [singa] nudles commented on a change in pull request #664: fix path for mlp in train.py
Date Wed, 08 Apr 2020 11:13:49 GMT
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

Mime
View raw message