-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create Basic Usage tutorial in Ruby #68
Comments
@chrhansen I'll do that by the mid January. |
@arbox sounds great! |
Hi @chrhansen I've just started to collect sources for the tutorial and wonder where should I put them in this repository. Some |
@arbox An IRuby notebook might be better suited for this. |
@abinashmeher999 but still where? :) Linked throught nbviewer? |
The maintainers would be better able to answer where to keep it. For symengine.rb we have a folder named |
Sorry for the late reply guys. Also, I just wanted to mention that the latest version of tensorflow does not support tensorflow rb and that is because tensorflow made many changes to the C API to make it very generic. Currently I am making many changes in my own clone of Tensorflow for a much faster version of Tensorflow.rb compatible with the latest tensorflow C API. I will be sending a pr when the whole thing is done and the tests are passing. But if you have time, please do make the tutorial with by downloading release 0.9.0 and then working with it. I will also update your tutorial if needed. Feel free to email me([email protected]) if you face any issues. Thanks |
I tried your install.sh on brand new ubuntu 16.04 server, and it works like a charm. But I still get a crash when using image_classify.rb with a retrained pb file from the tensorflow tutorials. I think that should be the "not support" problem you mentioned above. For the error message below, I replaced the 'input' with 'Mul' and the 'output' with 'final_result', it worked, but libtensorflow.so still crashed. BTW, I like the new tensorflow C API, because it is much faster than the previous version. |
@Zigngit Thanks for doing this. |
[https://storage.googleapis.com/download.tensorflow.org/models/inception5h.zip] this one works perfect. But I would like to use a retrained one. I followed this tutorial and the generate a output_graph.pb , and it cant work with the image_classify.rb |
I also tried retrained model with an older version libtensorflow.so and tensorflow.rb. root@mt4:~/tensorflow.rb/image# ruby retrain.rb -- Control frame information ----------------------------------------------- -- Ruby level backtrace information ---------------------------------------- -- Machine register context ------------------------------------------------ |
I have success following --> https://www.tensorflow.org/tutorials/image_retraining I also changed the input operations to
I changed the input operations by matching the them to the graph in tensorboard. |
@joegyoung Thanks a lot for this. |
There end up being any usage tutorials? |
Redo the Basic Usage Python tutorial in Ruby. Probably a few of the features from the Python-tutorial will not be available for the 0.1.0 Milestone (e.g.
tf.InteractiveSession()
), and can be skipped, but the basics of creating ops, evaluating/feeding tensors etc. should be shown.The text was updated successfully, but these errors were encountered: