Can I use pytorch and mix it with node.js in a website?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can I use pytorch and mix it with node.js in a website??

I want to make a website with node.js as a backend and I want to make some machine learning with pytorch.. can I put this pytorch in the website by mixing it with node.js

25th Dec 2021, 12:29 PM
Adam Ehab
Adam Ehab - avatar
5 Answers
+ 2
Use TorchJS. It's Node.js binding for PyTorch.
25th Dec 2021, 4:14 PM
Alexey Kopyshev
Alexey Kopyshev - avatar
+ 1
OK.. Thanks. But is it better than pytorch Alexey Kopyshev
25th Dec 2021, 4:15 PM
Adam Ehab
Adam Ehab - avatar
+ 1
yes you can if you have server side knowledge but I advise you to use Django as backend which is the powerful python web framework.
25th Dec 2021, 4:36 PM
iTech
iTech - avatar
+ 1
Can I use any python library or any other programming language if I have server side?? iTech and thanks
25th Dec 2021, 4:39 PM
Adam Ehab
Adam Ehab - avatar
+ 1
My expertise is Django and Node.js, I can answer you only about them exemple of python library with node.js https://medium.com/swlh/run-python-script-from-node-js-and-send-data-to-browser-15677fcf199f
25th Dec 2021, 4:42 PM
iTech
iTech - avatar