3 ms·
I ABSOLUTELY loved this project and used it for all of my "quick and dirty" ML stuff where I was fooling around... the only problem, which I don't think has bee
by jppope 4y ago
I ABSOLUTELY loved this project and used it for all of my "quick and dirty" ML stuff where I was fooling around... the only problem, which I don't think has been fixed is that it still requires *Python 2.7*.
End of life for Python 2.7 was 2020!
- Aspos 4y agoWhat do you mean? Brain.js is JavaScript ML engine.
- synchronizing 4y agoCheck out the README: https://github.com/BrainJS/brain.js https://github.com/BrainJS/brain.js
- Aspos 4y agoOh, you don't need to use python if you don't want to. Brain.js happily runs in a broswer.
- YetAnotherNick 4y agoIt's just a requirement. Python 2 is available on all the systems I know. What difficulty are you facing in installing it?
- kllrnohj 4y ago> Python 2 is unsupported by the Python Foundation since 2020-01-01 and is being removed as of Debian 11 (Bullseye) https://wiki.debian.org/Python https://wiki.debian.org/Python
- YetAnotherNick 4y agoIt's not being removed. It won't be default, but installing python2 is possible(https://packages.debian.org/stable/python/python2 https://packages.debian.org/stable/python/python2)
- vorticalbox 4y agoYeah this is a big issue that is super annoying to fix on latest Ubuntu. That said if you can get it working the api is very simple but you can do a lot of things with it. I created a LSTM network to predict your next move in rocker, paper, scissors in very little code.
- pmelendez 4y agoIt sounds like the problem is with its dependency with headless-gl, but still you have a point
- nmstoker 4y agoAs others say, it's headless-gl, and that in turn seems to be due to node-gyp. However the good news seems this is probably more a case of documentation inertia than actual requirements: it looks like you actually can install a version of node-gyp that works with Python 3.x and then in turn should be able to get headless-gl working too, which then let's brain.js work with a non -EOL version of Python
- dhritzkiv 4y agoThanks for pointing this out. I've submitted a PR to resolve this: https://github.com/gpujs/gpu.js/issues/757 https://github.com/gpujs/gpu.js/issues/757 That being said, if you're not building from source (you're running an LTS version of node on a supported platform), you don't need to worry about python or many of the build deps.