GithubHelp home page GithubHelp logo

Comments (1)

dowobeha avatar dowobeha commented on July 28, 2024

Code has been refactored within the Issue22 branch. Code compiles, but there is a runtime error involving Tensor allocation.

For example, when running ./test_nodes:

terminate called after throwing an instance of 'util::Exception'
what(): /home/lanes/Marian/src/tensor.h:403 in const marian::Shape& marian::Tensor::shape() > const threw util::Exception because `!pimpl_'.
Tensor has not been allocated

Program received signal SIGABRT, Aborted.
0x00007fffea7d15f7 in raise () from /lib64/libc.so.6
Missing separate debuginfos, use: debuginfo-install glibc-2.17-106.el7_2.8.x86_64 libgcc-4.8.5-4.el7.x86_64 libstdc++-4.8.5-4.el7.x86_64
(gdb) bt
#0 0x00007fffea7d15f7 in raise () from /lib64/libc.so.6
#1 0x00007fffea7d2ce8 in abort () from /lib64/libc.so.6
#2 0x00007fffeb0d69d5 in __gnu_cxx::__verbose_terminate_handler() () from /lib64/libstdc++.so.6
#3 0x00007fffeb0d4946 in ?? () from /lib64/libstdc++.so.6
#4 0x00007fffeb0d4973 in std::terminate() () from /lib64/libstdc++.so.6
#5 0x00007fffeb0d4b93 in __cxa_throw () from /lib64/libstdc++.so.6
#6 0x0000000000411246 in marian::Tensor::shape (this=this@entry=0x7fffffffdff0) at /home/lanes/Marian/src/tensor.h:403
#7 0x00000000004121e0 in operator() (__closure=) at /home/lanes/Marian/src/expression_operators.h:147
#8 std::_Function_handler<float (), std::shared_ptrmarian::DifferentiableNode marian::mean<marian::keywords::Keyword<2232387322u, int> >(std::shared_ptrmarian::DifferentiableNode, marian::keywords::Keyword<2232387322u, int>)::{lambda()#1}>::_M_invoke(std::_Any_data const&) (__functor=...) at /usr/include/c++/4.8.2/functional:2056
#9 0x0000000000479347 in operator() (this=0x7fffffffe070) at /usr/include/c++/4.8.2/functional:2471
#10 marian::ExpressionGraphNode::allocate (this=0x16763190, batchSize=) at /home/lanes/Marian/src/node.cu:27
#11 0x000000000041dec9 in marian::ExpressionGraph::forward (this=0x16762170, batch=std::shared_ptr (count 2, weak 0) 0x8280790) at /home/lanes/Marian/src/expression_graph.h:120
#12 0x0000000000407914 in main (argc=, argv=) at /home/lanes/Marian/src/test_nodes.cu:77

from marian-dev.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.