Can you confirm whether the following is working: 

```
cran <- getOption("repos")
cran["dmlc"] <- 
"https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/R/CRAN/";
options(repos = cran)
install.packages("mxnet")


library(data.table)
library(mxnet)

data <- matrix(rnorm(9*5), ncol = 9)
fwrite(x = as.data.table(data), file = "data.csv", col.names = F)

labels <- matrix(rnorm(9*5), ncol = 9)
fwrite(x = as.data.table(data), file = "label.csv", col.names = F)

iter <- mx.io.CSVIter(data_csv = "data.csv",
                      data_shape = c(9),
                      label_csv = "label.csv",
                      label_shape = c(3,1,3),
                      batch.size = 2)

iter$reset()
iter$iter.next()
iter$value()
```

This has been run on Windows 10 and R 3.5.1 and worked fine. 
>From the error message provided `symbol$infer.shape(list(...))`, issue seems 
>more related to the network definition. 

[ Full content available at: 
https://github.com/apache/incubator-mxnet/issues/12428 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to