You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/02/21 13:29:26 UTC

[GitHub] jasperDD opened a new issue #14224: NameError: name 'mx' is not defined (python)

jasperDD opened a new issue #14224: NameError: name 'mx' is not defined (python)
URL: https://github.com/apache/incubator-mxnet/issues/14224
 
 
   >>> from skimage import io
   >>> import mxnet
   >>> test='C:/Users/Admin/Desktop/test.lst' # folder where must be my test.lst
   >>> DataSet='C:/Users/Admin/Downloads/mypic/' # folder with my pictures (20 pics
   
   >>> data_iter = mx.image.ImageIter(
   ... batch_size=4,
   ... data_shape=(3,816, 1232),
   ... label_width=4,
   ... path_imglist='test.lst',
   ... path_root='DataSet')
   Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
   NameError: name 'mx' is not defined
   >>>
   
   why mx is not defined, i loaded mxnet?

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services