Sign inSign up

nethsix/ruby-tensorflow-ubuntu-fun

By nethsix

•Updated almost 10 years ago

Fun with Tensorflow in Ruby using 'tensorflow' gem

Image
0

183

nethsix/ruby-tensorflow-ubuntu-fun repository overview

Contains:

Launch: 
* docker run --rm -it -v :/mydata/ nethsix/ruby-tensorflow-ubuntu-fun:0.0.1 /bin/bash

: (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'

Tag summary

Content type

Image

Digest

Size

1.2 GB

Last updated

almost 10 years ago

docker pull nethsix/ruby-tensorflow-ubuntu-fun:0.0.1