Code Monkey home page Code Monkey logo

Comments (7)

MarcDelp avatar MarcDelp commented on July 18, 2024 2

Hey @feernando998

Honestly, I can't remember what was my final thought on this... I think that I ended changing the exe name for my local installation since the deployed image was based on Linux and didn't need correction. This enabled me to develop on my local and then I could check on the image built that everything was fine.

from fasttext.js.

feernando998 avatar feernando998 commented on July 18, 2024 1

Hey @feernando998

Honestly, I can't remember what was my final thought on this... I think that I ended changing the exe name for my local installation since the deployed image was based on Linux and didn't need correction. This enabled me to develop on my local and then I could check on the image built that everything was fine.

Got it, thanks for answering me!

from fasttext.js.

loretoparisi avatar loretoparisi commented on July 18, 2024 1

@feernando998 @MarcDelp thank you guys, feel free to submit a PR to fix this issue, currently I do not have a Windows machine to test it, but if you can submit a PR, so that it will go in in the repo.

Thanks a lot.

from fasttext.js.

loretoparisi avatar loretoparisi commented on July 18, 2024

@MarcDelp yes code it is ok, but for MS windows the support is out dated.
The win32 executable is provided in /lib/bin/win32 folder and yes just try to change the name to fastText.exe as executable file path. Windows support for 32 bit applications in 64bit OS it's ok, so it should work.

from fasttext.js.

MarcDelp avatar MarcDelp commented on July 18, 2024

Okay @loretoparisi
Thanks for the quick response :)

from fasttext.js.

feernando998 avatar feernando998 commented on July 18, 2024

Hi !

Node version: 12.13.1
OS: Windows 10

I'm trying to create a simple fastText model for text classification, but the lib is not working fine on Windows. As soon as I add this code:

const fastText = new FastText({
      serializeTo: './models/fastText',
      trainFile: './trainingData.txt'
});

I have the error:

Error: executable not found in path
    at new FastText (C:\Users\madelpech\[...]\node_modules\fasttext.js\lib\index.js:104:23)

I have looked to the code and in the index.js file line 99 you are calling . I have checked the binaries and it appears that the Windows binary is not named but instead. This should be the issue here.this._options.bin = Util.GetBinFolder('fasttext');``fasttext``fastText.exe

Can you have a look and tell me if I am right?

Thanks!

Hello MarcDelp,, were you successful in using fasttext with Js on windows? Thanks.

from fasttext.js.

searleser97 avatar searleser97 commented on July 18, 2024

I am still seeing this issue, Why is it closed?

from fasttext.js.

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.