Skip to content

error when running the example  #2

@Joyvalley

Description

@Joyvalley

Hi,
i installed your packaged and tried to run the example you give using Version 1.0.
I get the following error message:
I am using R 3.4.2 with Ubuntu 16.4

[1] "the image size is equal with the original snp number"
Start training with 1 devices
Error in mx.nd.internal.dispatch.Ops(.Generic, e1, e2) : 
  [11:41:33] src/operator/tensor/./../elemwise_op_common.h:123: Check failed: assign(&dattr, (*vec)[i]) Incompatible attr in node  at 1-th input: expected [100], got [100,1]

Stack trace returned 10 entries:
[bt] (0) /home/jan/R/x86_64-pc-linux-gnu-library/3.4/mxnet/libs/libmxnet.so(dmlc::StackTrace[abi:cxx11]()+0x55) [0x7f356e103585]
[bt] (1) /home/jan/R/x86_64-pc-linux-gnu-library/3.4/mxnet/libs/libmxnet.so(bool mxnet::op::ElemwiseAttr<nnvm::TShape, &mxnet::op::shape_is_none, &mxnet::op::shape_assign, true, &mxnet::op::shape_string[abi:cxx11], -1, -1>(nnvm::NodeAttrs const&, std::vector<nnvm::TShape, std::allocator<nnvm::TShape> >*, std::vector<nnvm::TShape, std::allocator<nnvm::TShape> >*, nnvm::TShape const&)::{lambda(std::vector<nnvm::TShape, std::allocator<nnvm::TShape> >*, unsigned long, char const*)#1}::operator()(std::vector<nnvm::TShape, std::allocator<nnvm::TShape> >*, unsigned long, char const*) const+0x12f9) [0x7f356e552bf9]
[bt] (2) /home/jan/R/x86_64-pc-linux-gnu

do you have any idea what the issue might be?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions