Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Tutorial not working aclImdb_lstm_classification.R #11088

Closed
KillariDev opened this issue May 29, 2018 · 5 comments
Closed

Tutorial not working aclImdb_lstm_classification.R #11088

KillariDev opened this issue May 29, 2018 · 5 comments

Comments

@KillariDev
Copy link

Description

I am trying to run example https://github.com/apache/incubator-mxnet/tree/master/example/rnn/bucket_R , but seems like "mx.io.bucket.iter" is no longer available as I am getting error:

Error in mx.io.bucket.iter(buckets = corpus_bucketed_train$buckets, batch.size = batch.size,  : 
  could not find function "mx.io.bucket.iter"

Is there a function that can replace this functions functionality? The tutorial should be updated to incorporate that.

Environment info (Required)

Package used (Python/R/Scala/Julia):
R

Session info:

R version 3.4.3 (2017-11-30)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)

Matrix products: default

locale:
[1] LC_COLLATE=English_Finland.1252  LC_CTYPE=English_Finland.1252    LC_MONETARY=English_Finland.1252 LC_NUMERIC=C                    
[5] LC_TIME=English_Finland.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] quanteda_1.0.0 stringi_1.1.7  stringr_1.3.1  dplyr_0.7.5    readr_1.1.1    bindrcpp_0.2.2 mxnet_0.10.1   mlbench_2.1-1 

loaded via a namespace (and not attached):
 [1] network_1.13.0      tidyselect_0.2.4    Rook_1.1-1          purrr_0.2.4         lattice_0.20-35     colorspace_1.3-2    htmltools_0.3.6    
 [8] viridisLite_0.3.0   yaml_2.1.14         XML_3.98-1.9        rlang_0.2.0         pillar_1.2.3        glue_1.2.0          RColorBrewer_1.1-2 
[15] bindr_0.1.1         plyr_1.8.4          munsell_0.4.3       gtable_0.2.0        visNetwork_2.0.3    htmlwidgets_1.2     codetools_0.2-15   
[22] DiagrammeR_0.9.0    Rcpp_0.12.17        spacyr_0.9.3        scales_0.5.0        RcppParallel_4.3.20 jsonlite_1.5        rgexf_0.15.3       
[29] fastmatch_1.1-0     gridExtra_2.2.1     brew_1.0-6          stopwords_0.9.0     ggplot2_2.2.1       hms_0.3             digest_0.6.15      
[36] ggrepel_0.7.0       grid_3.4.3          influenceR_0.1.0    tools_3.4.3         magrittr_1.5        lazyeval_0.2.0      tibble_1.4.2       
[43] pkgconfig_2.0.1     Matrix_1.2-12       data.table_1.10.4-3 lubridate_1.6.0     assertthat_0.2.0    rstudioapi_0.7      viridis_0.5.1      
[50] R6_2.2.2            igraph_1.2.1        compiler_3.4.3 

@anirudhacharya
Copy link
Member

This example was broken in this PR - #9022

@jeremiedb can you please check.

@sandeep-krishnamurthy please label - "R", "Examples"

@jeremiedb
Copy link
Contributor

jeremiedb commented Jun 4, 2018

@kimiylilammi, could you try using a more up to date version of Mxnet? V 0.10.1 is now somwhat dated. You can install 1.2 with: install.packages("https://s3.ca-central-1.amazonaws.com/jeremiedb/share/mxnet/CPU/mxnet.zip", repos = NULL), pre-built GPU version also available.

@anirudhacharya
Copy link
Member

anirudhacharya commented Jun 4, 2018

@anirudhacharya
Copy link
Member

Fix - #12263

@anirudhacharya
Copy link
Member

@sandeep-krishnamurthy fix merged, please close this issue.

@kimiylilammi try the tutorial from the latest master branch.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants