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 2019/08/23 23:30:43 UTC

[GitHub] [incubator-mxnet] krzjoa commented on issue #14933: predict error in MXFeedForwardModel logistc regression

krzjoa commented on issue #14933: predict error in MXFeedForwardModel logistc regression
URL: https://github.com/apache/incubator-mxnet/issues/14933#issuecomment-524492238
 
 
   I've encountered very similar problem when trying to run linear regression example. 
   
   ### Environment
   **R version 3.6.1 (2019-07-05)**
   Platform: x86_64-pc-linux-gnu (64-bit)
   Running under: Ubuntu 18.04.2 LTS
   
   Matrix products: default
   BLAS:   /usr/local/lib/R/lib/libRblas.so
   LAPACK: /usr/lib/x86_64-linux-gnu/openblas/liblapack.so.3
   
   locale:
    [1] LC_CTYPE=pl_PL.UTF-8       LC_NUMERIC=C               LC_TIME=pl_PL.UTF-8        LC_COLLATE=pl_PL.UTF-8     LC_MONETARY=pl_PL.UTF-8   
    [6] LC_MESSAGES=pl_PL.UTF-8    LC_PAPER=pl_PL.UTF-8       LC_NAME=C                  LC_ADDRESS=C               LC_TELEPHONE=C            
   [11] LC_MEASUREMENT=pl_PL.UTF-8 LC_IDENTIFICATION=C       
   
   attached base packages:
   [1] stats     graphics  grDevices utils     datasets  methods   base     
   
   other attached packages:
   **[1] mxnet_1.5.0**
   
   ### Result
     Error in operator linearregressionoutput0: [01:26:19] include/mxnet/./tuple.h:202: Check failed: i >= 0 && i < ndim(): index = 0 must be in range [0, -1)
   Stack trace:
     [bt] (0) /home/krzysztof/R/x86_64-pc-linux-gnu-library/3.6/mxnet/libs/libmxnet.so(dmlc::LogMessageFatal::~LogMessageFatal()+0x43) [0x7fa2cb597583]
     [bt] (1) /home/krzysztof/R/x86_64-pc-linux-gnu-library/3.6/mxnet/libs/libmxnet.so(mxnet::op::RegressionOpShape(nnvm::NodeAttrs const&, std::vector<mxnet::TShape, std::allocator<mxnet::TShape> >*, std::vector<mxnet::TShape, std::allocator<mxnet::TShape> >*)+0x5e1) [0x7fa2ce537e81]
     [bt] (2) /home/krzysztof/R/x86_64-pc-linux-gnu-library/3.6/mxnet/libs/libmxnet.so(+0x391d29b) [0x7fa2ce8b429b]
     [bt] (3) /home/krzysztof/R/x86_64-pc-linux-gnu-library/3.6/mxnet/libs/libmxnet.so(mxnet::exec::InferShape(nnvm::Graph&&, std::vector<mxnet::TShape, std::allocator<mxnet::TShape> >&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0x15cd

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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