szha commented on a change in pull request #8006: fix example
URL: https://github.com/apache/incubator-mxnet/pull/8006#discussion_r141126092
 
 

 ##########
 File path: example/numpy-ops/custom_softmax.py
 ##########
 @@ -16,8 +16,12 @@
 # under the License.
 
 # pylint: skip-file
+import sys
 import os
-from data import mnist_iterator
+sys.path.insert(0, "../../python/")
 
 Review comment:
   There is a get_mnist() in test_utils, though the construction is different. 
In this PR I just intend to fix the broken example for multi-task and remove 
several duplicate copies of mnist along the way.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to