junrushao1994 commented on a change in pull request #7082: Sparse Tensor: 
request for reviews
URL: https://github.com/apache/incubator-mxnet/pull/7082#discussion_r131084236
 
 

 ##########
 File path: example/sparse/get_data.py
 ##########
 @@ -0,0 +1,15 @@
+# pylint: skip-file
+import os, gzip
+import pickle as pickle
+import sys
+
+def get_libsvm_data(data_dir, data_name, url, data_origin_name):
+    if not os.path.isdir(data_dir):
+        os.system("mkdir " + data_dir)
 
 Review comment:
   Why not os.mkdir?
 
----------------------------------------------------------------
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