Comments (246)
+1!
from tensorflow.
+1
from tensorflow.
π
from tensorflow.
+1
from tensorflow.
please try use reactions button --> http://www.geekwire.com/2016/github-adds-reactions-keep-comments-track/ no more +1 comments xD
from tensorflow.
Happy Anniversary TensorFlow !
https://research.googleblog.com/2016/11/celebrating-tensorflows-first-year.html
I notice TensorFlow is now accessible from Go, Rust and Haskell. Why ignore JavaScript ?
Really waiting for a machine library in JavaScript.
from tensorflow.
Just what I was searching for. π
As quoted from the offical website http://www.tensorflow.org/
weβre hoping to entice you to contribute SWIG interfaces to your favorite language -- be it Go, Java, Lua, Javascript, or R.
I am new to this whole SWIG thing but searched around and found this. http://www.swig.org/Doc3.0/Javascript.html
Not really sure how this works. Do we need to write swig interface file specifically for Javascript or is it auto-generated when running some commands or is somebody already working on this (this would be awesome) ?
from tensorflow.
+1 π
from tensorflow.
π
from tensorflow.
+1
from tensorflow.
+1
from tensorflow.
+1
from tensorflow.
+1
from tensorflow.
π
from tensorflow.
+1!
Just starting out on one, but new to writing a nodejs addon. Checking out the swig interface files to see if they're going to be helpful, or if I should just use the c++ API.
from tensorflow.
+1
from tensorflow.
@martinwicke thanks for the encouragement. I made an initial stab at it here: #2206 - this is just a proof of concept that gets the version string into nodejs. I'll start work on adding the swig interfaces for the graph running stuff.
from tensorflow.
+10000
from tensorflow.
@peterbraden sorry for the prolonged silence. We are building out the C++ API, and it will grow over time. I expect the most useful bits to be the parts that are needed to run an existing graph. The C++ graph building API is being redone right now, so it's not particularly useful to spend much time on it.
I'd love it if you prepared a PR to put these bindings into contrib/nodejs.
from tensorflow.
+1
from tensorflow.
+1
from tensorflow.
+1
from tensorflow.
This is something the core TensorFlow team is unlikely to tackle in the near future, so if you want to contribute it, please go ahead! I would recommend circulating a proposed implementation on the discuss mailing list early on, so that a consensus about where such API might live (in repo / off repo / in 'contrib' directory) can be reached ahead of time.
from tensorflow.
Found this while looking into wether or not bindings existed already. Going to learn some tensor flow via the current python API before researching more, but I have built nodejs bindings for C++ libs before and can tell you from experience that swig is the wrong way.
If you simply use the swig bindings then you will have synchronous blocking code in an async environment. The swig bindings do not run things on IO threads, they execute on the main event loop from what I understand/experienced.
Once I have some basic tensor flow experience under my belt I'll likely be interested in building out proper bindings. So if anyone is serious about that and/or wants more details on working with v8 modules, let me know.
from tensorflow.
+1
from tensorflow.
@dmcmorris I am seriously interested in lending a hand! What resources do you recommend for working with v8 modules? We can assemble a team here and start diving into materials asap as this project is way overdue :)
from tensorflow.
Is there any update ??
On 31-Oct-2016 12:06 pm, "willshion" [email protected] wrote:
+1s
β
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#37 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANrvwrbmShC9c0_wsNpTudKSCb0-8qt8ks5q5Yx3gaJpZM4Ge5NV
.
from tensorflow.
+1
from tensorflow.
We hope more developers to discuss and contribute. Now we have a slack channel named as nodejs (see #31), and a Github repository node-tensorflow is reserved. Thanks @Foorack !
from tensorflow.
I have a working prototype using SWIG here: node-tensorflow/node-tensorflow#13
The next steps would be to define the areas that the bindings would initially cover (must be within the C++ API ) and start implementing the SWIG interface files for these.
If anyone has experience with SWIG, I'd love to collaborate, as it seems like a huge amount of the python SWIG interfaces are custom overrides etc. and I'm keen not to reproduce their work. Additionally, would be great to get some clarity from the tensorflow team on what API's would be good to initially cover as I'm sure their roadmap has many changes on the way, and I wouldn't want to conflict. (cc @martinwicke ? )
from tensorflow.
+1
from tensorflow.
+1
from tensorflow.
+1
from tensorflow.
Anyone up to write a NodeJS library? π
I think it would be better with a official NodeJS API however a community one will be as (if not more) interesting in my opinion. I know there are multiple ways of approaching this however I strongly recommend node-gyp for performance. I will gladly contribute in any way I can, however, this is something I will not be able to do alone. Would be best if a few other people is interested as well, specially someone with C++ knowledge.
from tensorflow.
π
from tensorflow.
@Foorack I am willing to contribute it if some people are interested as well. Is it possible to move the discussion to a slack channel ? (see #31)
from tensorflow.
@tngan The slack channel is private, however I was able to join with the herokuapp link. π
from tensorflow.
I am willing to contribute. Thanks for the initiative guys!
from tensorflow.
@miguelalche Glad to see you're interested! Please join the slack channel and someone will add you to the repository. ^^
from tensorflow.
I look forward for contributing ( specially along with #132 ) !!
from tensorflow.
+1
from tensorflow.
Hooray for node! Let's do this.
from tensorflow.
+1
from tensorflow.
+1
from tensorflow.
Here's a writeup on how to load and execute TensorFlow graphs using the C API: https://medium.com/jim-fleming/loading-tensorflow-graphs-via-host-languages-be10fd81876f (source code included)
from tensorflow.
The proposal will be released in the next week. Keep tracking on https://github.com/node-tensorflow/node-tensorflow.
from tensorflow.
+1
from tensorflow.
I have published my starting point -- https://github.com/nikhilk/node-tensorflow that will be published to npm later.
@jimfleming - like your approach (we're both using ffi ... I did it to get started quickly). Are you going to take on building higher level framework-style APIs to replicate the python experience? Thats my next step.
from tensorflow.
@nikhilk Thanks. Something like new tf.Tensor()
instead of tf.NewTensor()
might be a nice addition but I'm not planning on expanding it at the moment. I'm only interested in loading graphs created in python and I think I like the minimalism.
from tensorflow.
+1
from tensorflow.
The proposal is released here with current progress.
https://github.com/node-tensorflow/node-tensorflow/tree/1.0.0
There is an open issue for the discussion.
node-tensorflow/node-tensorflow#2
from tensorflow.
+1
from tensorflow.
+1
from tensorflow.
+1
from tensorflow.
+1
from tensorflow.
+1
from tensorflow.
+1
from tensorflow.
+1
from tensorflow.
+1
from tensorflow.
+1
from tensorflow.
+1
It'd be great to be able to easily run tensorflow networks in node.js based servers.
from tensorflow.
+1
from tensorflow.
+1
from tensorflow.
+1
from tensorflow.
+1
from tensorflow.
+1
from tensorflow.
+1
from tensorflow.
I am very willing to contribute. @Foorack please add me to what ever you can! I have a real life use case for this so it will be great to develop and test it at the same time!!
from tensorflow.
@pushtheworldllc I'm glad you are interested. :)
The repository and the proposal can be found here: https://github.com/node-tensorflow/node-tensorflow/
You can use this link to join our slack channel: https://tensor-flow-talk-invite.herokuapp.com/
from tensorflow.
+1
from tensorflow.
+1
from tensorflow.
+1
from tensorflow.
+1 π
from tensorflow.
+1 π
from tensorflow.
+1
from tensorflow.
+1 π
from tensorflow.
+1
from tensorflow.
+1
from tensorflow.
+1
from tensorflow.
+1
from tensorflow.
+1
from tensorflow.
π
from tensorflow.
+1
from tensorflow.
+1
from tensorflow.
+1
from tensorflow.
+1
from tensorflow.
+1
from tensorflow.
This would be interesting for pure front-end graph exportation for direct usage on web clients. Even if the desired inputs/outputs asked from the graph would be hard-coded in the exported JS "sess.run" equivalent function.
from tensorflow.
+1
from tensorflow.
π
from tensorflow.
+1
from tensorflow.
+1
from tensorflow.
+1
from tensorflow.
+1
from tensorflow.
+1
from tensorflow.
Is there any link related to node-gyp binding for tensor flow API ??
from tensorflow.
+1
from tensorflow.
+1
from tensorflow.
+1
from tensorflow.
+1s
from tensorflow.
Related Issues (20)
- Aborted (core dumped) in `tf.io.encode_png`/`tf.compat.v1.image.encode_png` HOT 1
- Aborted (core dumped) in `tf.raw_ops.BiasAdd/tf.nn.bias_add` HOT 1
- Aborted (core dumped) in `tf.raw_ops.ResourceScatterNdop` HOT 1
- Aborted (core dumped) in `tf.linalg.det/slogdet/logdet/cholesky/inv` HOT 1
- Segmentation fault (core dumped) in `tf.data.experimental.SqlDataset` HOT 1
- Aborted (core dumped) in `tf.data.Dataset.from_generator` HOT 1
- Segmentation fault (core dumped) in `tf.raw_ops.FakeParam` HOT 1
- Leakage of personal info to BCI
- Problem in mnist.tflite file HOT 2
- ExponentialMovingAverage doesn't work with KerasVariable HOT 4
- Multithreading is not working with teansorflow HOT 3
- TF model trained with 2.7 has error in later versions with no OpKernel error
- Jit-compiling `tf.while_loop` inside `tf.vectorized_map` raises `InvalidArgumentError` HOT 1
- Tf_lite fails to compile in v2.18.0-rc0 in Ubuntu HOT 6
- TensorFlow 2.17.0 fails to install with grpcio HOT 1
- AttributeError when importing tensorflow in python 3.9 and django 4.2 project
- ImportError: DLL load failed while importing _pywrap_tensorflow_internal: A dynamic link library (DLL) initialization routine failed. HOT 2
- TFlite compilation crashes on MacOS (error: _Float16 is not supported on this target) HOT 3
- failed to load the native TensorFlow runtime HOT 1
- Request to bring back GPU compatibility checks for TFLite `model_analyzer` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tensorflow.