Public Repository

Last pushed: a year ago
Short Description
Fun with Tensorflow in Ruby using 'tensorflow' gem
Full Description

Contains:

Launch:

* docker run --rm -it -v <local data directory>:/mydata/ nethsix/ruby-tensorflow-ubuntu-fun:0.0.1 /bin/bash

<local data directory>: (Optional) This contains all your own data that you want to use Ruby tensorflow with, e.g., images that you want to classify etc. They become accessible under '/mydata/' within the docker container that this command launches

Main directory:
/repos/tensorflow.rb/

Test:

* cd /repos/tensorflow.rb/ && bundle exec rspec

Image Classification using Google's Inception Net:

  • cd /repos/tensorflow.rb/image
  • ruby image_classifier.rb <image_file>
    • By default, it classifies the test image 'mysore_palace.jpg'
    • Otherwise, replace <image_file> with your own data mounted on '/mydata'
Docker Pull Command
Owner
nethsix