GithubHelp home page GithubHelp logo

Comments (3)

RezaErfani67 avatar RezaErfani67 commented on June 7, 2024 2

thanks alot @gaikwadrahul8
i changed my tfjs-node version to "^3.1.0"...
here is my package.json file...
with nodejs version 16.20.2

{
  "name": "tfjs-abalone-node",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "license": "Apache-2.0",
  "scripts": {
    "train": "node train.js",
    "test": "node run_tests.js"
  },
  "dependencies": {
    "@tensorflow/tfjs-node": "^3.1.0",
    "argparse": "^1.0.10"
  },
  "devDependencies": {
    "jasmine": "^3.2.0",
    "jasmine-core": "^3.2.1",
    "shelljs": "^0.8.5",
    "tmp": "^0.0.33"
  }
}

in another computer i installed version 4 of tfjs-node and run below commands:

npm install
npm update
npm rebuild bcrypt --build-from-source
npm rebuild @tensorflow/tfjs-node build-addon-from-source

and solve the problem...

from tfjs.

gaikwadrahul8 avatar gaikwadrahul8 commented on June 7, 2024

Hi, @RezaErfani67

I sincerely apologize for the delayed response and I believe you're following these instructions

tfjs-node requires AVX processors and tfjs-node library uses AVX instructions to improve the performance of its operations. If your CPU does not support AVX, you will not be able to use tfjs-node as far I know.

I would suggest you to please try @tensorflow/tfjs-node with Python versions 3.6, 3.7, 3.8, 3.9,3.10 or 3.11 and at the moment we are not supporting Python 3.12

To check if Windows 11 supports AVX processors:

  • Press Windows + R to open the Run dialog box.
  • Type msinfo32 and press Enter.
  • In the System Information window, expand the Components node and select Processor.
  • In the right pane, look for the Instruction Sets entry. If AVX is listed, then your CPU supports it.

If you haven't followed these instructions then please follow all those instructions and see are you able to install @tensorflow/tfjs-node with one of these python versions 3.6, 3.7, 3.8, 3.9,3.10 or 3.11 ?

If issue still persists please help me with complete error log after running this command node-gyp configure --verbose to investigate this issue further.

Thank you for your cooperation and patience.

from tfjs.

google-ml-butler avatar google-ml-butler commented on June 7, 2024

Are you satisfied with the resolution of your issue?
Yes
No

from tfjs.

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.