jeremiedb commented on issue #12428: [R] mx.io.CSVIter not loading labels in 
version 1.3.0
URL: 
https://github.com/apache/incubator-mxnet/issues/12428#issuecomment-419232967
 
 
   @some-guy1  How did you install the package? I suspect it's a corrupt build 
you're have. I'm running on 1.3.0 (GPU build on Windows) and the following did 
work fine: 
   
   library(mxnet)
   
   ```
   train_iter <- mx.io.CSVIter(
     data_csv = "train-data.csv", data.shape = c(2),
     label_csv = "train-label.csv", label.shape =  c(1),
     batch_size = 2
   )
   
   train_iter$reset()
   train_iter$iter.next()
   train_iter$value()
   
   ```
   
   train-data.csv contains two columns while train-label.csv contains a single 
column. 

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