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 2018/09/13 21:22:00 UTC

[GitHub] leleamol commented on issue #12247: 【C++】throw exception when use MXDataIter("CSVIter") to train

leleamol commented on issue #12247: 【C++】throw exception when use MXDataIter("CSVIter") to train
URL: https://github.com/apache/incubator-mxnet/issues/12247#issuecomment-421157469
 
 
   Can you please share how you are setting the parameters for the CSVIter iterator? To be precise, the implementation of "setDataIter()" used in the above code.
   
   According to https://github.com/apache/incubator-mxnet/blob/master/src/io/iter_csv.cc, for CSVIter to work correctly, the parameters such as "data_csv", "data_shape",etc are required to be set.
   
   The implementation of "setDataIter()" in the "mxnet-cpp/examples/utils.h" is specific to "MNISTIter". The function is setting the parameters (such as "image", "label", etc) that are specific to MNISTIter.
   
   
   
   

----------------------------------------------------------------
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