Earlier quoted context omitted.
One very practical reason is to save on computation costs. GPU servers are not cheap and if you're going to run on CPU anyway, you might as well run it locally on the user's browser. Some demos such as real time object detection isn't possible at all if you had to pay roundtrip server latency (not to mention the complexity of streaming video to and from your server): https://github.com/ModelDepot/tfjs-yolo-tiny And a…
There is NO save on computation cost. CPU is slow for NN whatever language you are using. OP has a point, if I want to learn PRACTICAL front end programming, I will choose javascript, not Python. Same for Neural networks, just switch the place.
Neural networks in JavaScript – free 19-part course
21–30 of 74 posts
Re: Neural networks in JavaScript – free 19-part course
#22Earlier quoted context omitted.
There is NO save on computation cost. CPU is slow for NN whatever language you are using. OP has a point, if I want to learn PRACTICAL front end programming, I will choose javascript, not Python. Same for Neural networks, just switch the place.
What's wrong with js for neural networks? JS/V8 is faster than python, not accounting for python bindings to native NN libs that may as well be bound to js.
JS is faster than Python, but in the land of DL, there is C++ and everyone else. No one is using Python to do the actual computation anyway.
Re: Neural networks in JavaScript – free 19-part course
#23Why the heck Javascript?
Re: Neural networks in JavaScript – free 19-part course
#24Earlier quoted context omitted.
Any particular reasons or is this just based on what you heard 10 years ago?
From the top of my head: - `this` - the whole prototypal inheritance thing - class inheritance bolted on top of prototypal inheritance - arrow functions vs `function` functions
Re: Neural networks in JavaScript – free 19-part course
#25Why the heck Javascript?
Re: Neural networks in JavaScript – free 19-part course
#26Re: Neural networks in JavaScript – free 19-part course
#27Earlier quoted context omitted.
One very practical reason is to save on computation costs. GPU servers are not cheap and if you're going to run on CPU anyway, you might as well run it locally on the user's browser. Some demos such as real time object detection isn't possible at all if you had to pay roundtrip server latency (not to mention the complexity of streaming video to and from your server): https://github.com/ModelDepot/tfjs-yolo-tiny And a…
There is NO save on computation cost. CPU is slow for NN whatever language you are using. OP has a point, if I want to learn PRACTICAL front end programming, I will choose javascript, not Python. Same for Neural networks, just switch the place.
To deploy a model in js (as a web page) all you need is a static S3 or GCS bucket. You don't even need a webserver and it can automatically handle infinite scale. Show me a python solution that can do the same.
Re: Neural networks in JavaScript – free 19-part course
#28Earlier quoted context omitted.
What's wrong with js for neural networks? JS/V8 is faster than python, not accounting for python bindings to native NN libs that may as well be bound to js.
There is nothing wrong to use js, like there is nothing wrong to call it impractical. JS is faster than Python, but in the land of DL, there is C++ and everyone else. No one is using Python to do the actual computation anyway.
Depends what "actual" computation is. If you're definition of "actual computation" is something which requires extreme optimization then your definition precludes the question. In the real world there is an extraordinary amount of computation done with inefficient languages though simply because development time costs very often outweighs run time costs.
Re: Neural networks in JavaScript – free 19-part course
#29Earlier quoted context omitted.
There is NO save on computation cost. CPU is slow for NN whatever language you are using. OP has a point, if I want to learn PRACTICAL front end programming, I will choose javascript, not Python. Same for Neural networks, just switch the place.
What's wrong with js for neural networks? JS/V8 is faster than python, not accounting for python bindings to native NN libs that may as well be bound to js.
Re: Neural networks in JavaScript – free 19-part course
#30Anyone know if anyone is tracking this (similar to github language usage stats)?