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