Giter Club home page Giter Club logo

Comments (6)

alexott avatar alexott commented on September 25, 2024 1

Looks like I was hit by bug in libstdc++ - model generated with starSpace built with 4.8, runs perfectly on another machine where starSpace is built with GCC6

from starspace.

ledw avatar ledw commented on September 25, 2024

@alexott does switching to 4.8 solve your problem? Can I close the issue now? Thanks.

from starspace.

alexott avatar alexott commented on September 25, 2024

from starspace.

ledw avatar ledw commented on September 25, 2024

@alexott Thanks. You can also try the .tsv format model in testing (instead of passing --model='model', try --model='model.tsv', in ./starspace test). Closing the issue for now but feel free to re-open if you find out more about the root cause.

from starspace.

alexott avatar alexott commented on September 25, 2024

@ledw I found the root cause - the problem is that ntokens_ in dict.h is declared as int32_t, but it's written (dict.cpp:98) & read (dict.cpp:114) as int64_t, overwriting the next fields in memory...

from starspace.

ledw avatar ledw commented on September 25, 2024

@alexott Thanks a lot! Fixed in cce4d07

from starspace.

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.