Tensorflow Ruby API
summary
Built a Ruby binding that calls the TensorFlow C API (wrapped with SWIG) and uses protocol buffers to load models trained elsewhere, so saved Python models run unchanged in Ruby. Demonstrates running Inception v3 on images (golden retriever 85% confidence, suspension bridge 89%), and visualizing embeddings with PCA and t-SNE via TensorBoard. Repository is available but not published to rubygems yet; works end-to-end though ongoing maintenance and TF 2.x compatibility remain open.
AI-written summary · about
chapters (11)
- 0:00Introduction and background
- 2:17What is TensorFlow
- 9:00TensorFlow timeline and features
- 15:27Why build TensorFlow Ruby API
- 18:01Building the Ruby API
- 22:57Protocol buffers in TensorFlow
- 25:02Ruby API demo and code walkthrough
- 30:00Running ImageNet model in Ruby
- 34:36Results and learning resources
- 35:41Community and gratitude
- 37:06Q&A session








