SlideShare a Scribd company logo
Steps to Run Jupyter Notebook
on Nimbix and Sample DL
Usecase
OpenPOWER Academia
Execution
 Below are the steps to run jupyter notebook on IBM PowerAI over
nimbix cloud
 Login to the nimbix platform https://platform.jarvice.com/
 Click on Compute and Search for IBM PowerAI in the search box
Execution
 Click on the IBM PowerAI, to get it expanded
 Click on Launch Button and select the machine type as per the
requirement.
Execution
 Click on Submit button to start the machine.
 Click on the Blue area desktop to login to the machine, it will open up a
new browser.
Execution
 Open Terminal Emulater for shell and type below command to activate
Tensorflow, you can activate any DL framework supported.
source /opt/DL/tensorflow/bin/tensorflow-activate
Execution
 Once Tensorflow activated start Jupyter notebook by typing
ipython notebook, then click on new Notebook.
Execution
 In order to persist data, Nimbix provides File Manager to store the data
even after VM shuts down, this data is available from VM root
directory under data folder
 To start File Manager, click on compute and search for File Manager,
then open up “Nimbix File Manager” icon then start it as we did for
Power AI. Once started click on Connect to open it in new browser
 Copy the data folder inside nibmix File Manager inside data folder.
OCR Tensorflow
Optical Character Recognition using Tesorflow
Exercise
Introduction
 Objective is to do a Optical Character Recognition vis Deep learning approach
using Tensorflow
 This Demo is the execution of the work done by Nicholas Smith
https://nicholastsmith.wordpress.com/2017/10/14/deep-learning-ocr-using-
tensorflow-and-python/@
https://github.com/tensorflow/models/tree/master/research/object_detection
 This program generate set of 32K OCR images as training dataset then it trains the
models based in that dataset.
 It also generates 256 Test images too for testing.
Execution Steps
 Login to nimbix platform.
 Launch PowerAI VM with minimal configuration available.
 Connect the VM via putty client with host and credential displayed on VM start in
nimbix
 This demo requires python 3.5 and Tensorflow 1.5, by default PowerAI VMs do
not provide this combination it still runs on python 2.7,we need to install setup
python 3.5 and Tensorflow 1.5 and will not use the DL framework provides by
Power AI by default
 Follow this blog to make the above environment ready
https://developer.ibm.com/code/howtos/install-tensorflow-on-power
 Once tensorflow got set up clone the repository
https://github.com/nicholastoddsmith/pythonml.git
 Code uses the font Consolas.ttf for image generation which is not provided by
default in Unix for that clone the fonts https://github.com/kakkoyun/linux.files.git
in /home/nimbix/pythonml/DeepOCR
Execution Steps
 Edit OCRGen.py with this path TF = ImageFont.truetype('linux.files/fonts/Consolas.ttf', 18)
 Create Trn and Tst directory inside /home/nimbix/pythonml/DeepOCR.
 Install below dependencies
 sudo apt-get update
 sudo apt-get install libatlas-base-dev
 pip3 install scikit-image (Will take 15-20 mins)
 pip3 install sklearn
 pip3 install TFANN
 Run python3 OCRGen.py, this will generate 32K Training Image and 256 Testing
images in Trn and Tst folders respectively.
 There is a pretrained model already created inside TFModel we can use that for
our testing
 To convert images from Tst directory execute python3 DeepOCR.py Tst/00000.png
 This is will display the converted text on console.
 Code is written with specific image dimension, we need to tweak this code to
make it generic.
Subscribe to OpenPOWER
Academia and Research Channel
https://www.youtube.com/channel/UCYLtbUp0AH
0ZAv5mNut1Kcg

More Related Content

PDF
FITC-review-FUGUK
PDF
Hyper-Efficient Mac Deployment
PPTX
Automating your mac farm for iOS build and automation
PPTX
Build & test once, deploy anywhere - Vday.hu 2016
PDF
HCL Sametime Meetings 11.5 Setup Live Stream
PDF
HCL Sametime Meetings 11.5 Pre-Release - Step-by-Step
PPT
Run windows vm on bluemix
PDF
Ugprade HCL Sametime V11.5 to V11.6 - Step by Step
FITC-review-FUGUK
Hyper-Efficient Mac Deployment
Automating your mac farm for iOS build and automation
Build & test once, deploy anywhere - Vday.hu 2016
HCL Sametime Meetings 11.5 Setup Live Stream
HCL Sametime Meetings 11.5 Pre-Release - Step-by-Step
Run windows vm on bluemix
Ugprade HCL Sametime V11.5 to V11.6 - Step by Step

What's hot (20)

PPTX
Instruction to build Apache CloudStack docs with Sphinx
PDF
eZ Publish Platform 5.4 public webinar
PDF
Upgrade HCL Sametime server 11.0 to 11.5
PDF
HCL Sametime V11 - Step by Step v1.1 (include FP2)
PPTX
HCL Sametime Meetings server upgrade to V11.6
PPTX
Bluemix - Deploying a Java Web Application
PDF
Take home your very own free Vagrant CFML Dev Environment - Presented at dev....
PDF
Building Elixir App Release with Distillery and Docker
PDF
HCL Sametime V11 installation - tips
PDF
HCL Sametime Meetings 11.5 Step-by-Step
PPT
Connect to blumix docker container with putty
PDF
HCL Sametime V11 - Step by Step
ODP
Automated Deployment using Open Source
PDF
Webdriver.io
PDF
Raspberry and Pharo
PPTX
BizTalk ALM (Toon Vanhoutte @ Integration Monday)
PDF
Real World Elixir Deployment
PDF
Automated deployments using envoy by John Blackmore
PPTX
Aidan finn vmm 2008 r2 - minasi forum 2010
Instruction to build Apache CloudStack docs with Sphinx
eZ Publish Platform 5.4 public webinar
Upgrade HCL Sametime server 11.0 to 11.5
HCL Sametime V11 - Step by Step v1.1 (include FP2)
HCL Sametime Meetings server upgrade to V11.6
Bluemix - Deploying a Java Web Application
Take home your very own free Vagrant CFML Dev Environment - Presented at dev....
Building Elixir App Release with Distillery and Docker
HCL Sametime V11 installation - tips
HCL Sametime Meetings 11.5 Step-by-Step
Connect to blumix docker container with putty
HCL Sametime V11 - Step by Step
Automated Deployment using Open Source
Webdriver.io
Raspberry and Pharo
BizTalk ALM (Toon Vanhoutte @ Integration Monday)
Real World Elixir Deployment
Automated deployments using envoy by John Blackmore
Aidan finn vmm 2008 r2 - minasi forum 2010
Ad

Similar to Nimbix execution steps and sample exercise (20)

PDF
Power ai tensorflowworkloadtutorial-20171117
PPTX
Ocr using tensor flow
PDF
Fast Scalable Easy Machine Learning with OpenPOWER, GPUs and Docker
PDF
Open power ddl and lms
PDF
OpenPOWER Workshop in Silicon Valley
PDF
Icpp power ai-workshop 2018
PPT
Build FAST Deep Learning Apps with Docker on OpenPOWER and GPUs
PPTX
PowerAI Deep Dive ( key points )
PDF
Inference accelerators
PDF
Transparent Hardware Acceleration for Deep Learning
PDF
BSC LMS DDL
PDF
Neural Networks in the Wild: Handwriting Recognition
PDF
Ai pipelines powered by jupyter notebooks
PPTX
Large Model support and Distribute deep learning
PDF
IBM Cloud Paris 20180517 - La solution Power AI
PDF
Introduction to TensorFlow and OpenCV libraries
PPTX
Innovation with ai at scale on the edge vt sept 2019 v0
PPTX
DigitRecognition.pptx
PDF
Monitoring of GPU Usage with Tensorflow Models Using Prometheus
PPTX
Learn about Tensorflow for Deep Learning now! Part 1
Power ai tensorflowworkloadtutorial-20171117
Ocr using tensor flow
Fast Scalable Easy Machine Learning with OpenPOWER, GPUs and Docker
Open power ddl and lms
OpenPOWER Workshop in Silicon Valley
Icpp power ai-workshop 2018
Build FAST Deep Learning Apps with Docker on OpenPOWER and GPUs
PowerAI Deep Dive ( key points )
Inference accelerators
Transparent Hardware Acceleration for Deep Learning
BSC LMS DDL
Neural Networks in the Wild: Handwriting Recognition
Ai pipelines powered by jupyter notebooks
Large Model support and Distribute deep learning
IBM Cloud Paris 20180517 - La solution Power AI
Introduction to TensorFlow and OpenCV libraries
Innovation with ai at scale on the edge vt sept 2019 v0
DigitRecognition.pptx
Monitoring of GPU Usage with Tensorflow Models Using Prometheus
Learn about Tensorflow for Deep Learning now! Part 1
Ad

More from Ganesan Narayanasamy (20)

PDF
Empowering Engineering Faculties: Bridging the Gap with Emerging Technologies
PDF
Chip Design Curriculum development Residency program
PDF
Basics of Digital Design and Verilog
PDF
180 nm Tape out experience using Open POWER ISA
PDF
Workload Transformation and Innovations in POWER Architecture
PDF
OpenPOWER Workshop at IIT Roorkee
PDF
Deep Learning Use Cases using OpenPOWER systems
PDF
IBM BOA for POWER
PDF
OpenPOWER System Marconi100
PDF
OpenPOWER Latest Updates
PDF
POWER10 innovations for HPC
PDF
Deeplearningusingcloudpakfordata
PDF
OpenCAPI-based Image Analysis Pipeline for 18 GB/s kilohertz-framerate X-ray ...
PDF
AI in healthcare and Automobile Industry using OpenPOWER/IBM POWER9 systems
PDF
AI in healthcare - Use Cases
PDF
AI in Health Care using IBM Systems/OpenPOWER systems
PDF
AI in Healh Care using IBM POWER systems
PDF
Poster from NUS
PDF
SAP HANA on POWER9 systems
PPTX
Graphical Structure Learning accelerated with POWER9
Empowering Engineering Faculties: Bridging the Gap with Emerging Technologies
Chip Design Curriculum development Residency program
Basics of Digital Design and Verilog
180 nm Tape out experience using Open POWER ISA
Workload Transformation and Innovations in POWER Architecture
OpenPOWER Workshop at IIT Roorkee
Deep Learning Use Cases using OpenPOWER systems
IBM BOA for POWER
OpenPOWER System Marconi100
OpenPOWER Latest Updates
POWER10 innovations for HPC
Deeplearningusingcloudpakfordata
OpenCAPI-based Image Analysis Pipeline for 18 GB/s kilohertz-framerate X-ray ...
AI in healthcare and Automobile Industry using OpenPOWER/IBM POWER9 systems
AI in healthcare - Use Cases
AI in Health Care using IBM Systems/OpenPOWER systems
AI in Healh Care using IBM POWER systems
Poster from NUS
SAP HANA on POWER9 systems
Graphical Structure Learning accelerated with POWER9

Recently uploaded (20)

PDF
Advanced IT Governance
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Electronic commerce courselecture one. Pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
cuic standard and advanced reporting.pdf
PPTX
Cloud computing and distributed systems.
PDF
Approach and Philosophy of On baking technology
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPT
Teaching material agriculture food technology
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PPTX
Big Data Technologies - Introduction.pptx
PDF
NewMind AI Monthly Chronicles - July 2025
Advanced IT Governance
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Electronic commerce courselecture one. Pdf
20250228 LYD VKU AI Blended-Learning.pptx
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
NewMind AI Weekly Chronicles - August'25 Week I
Diabetes mellitus diagnosis method based random forest with bat algorithm
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Per capita expenditure prediction using model stacking based on satellite ima...
cuic standard and advanced reporting.pdf
Cloud computing and distributed systems.
Approach and Philosophy of On baking technology
Reach Out and Touch Someone: Haptics and Empathic Computing
Understanding_Digital_Forensics_Presentation.pptx
Teaching material agriculture food technology
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Big Data Technologies - Introduction.pptx
NewMind AI Monthly Chronicles - July 2025

Nimbix execution steps and sample exercise

  • 1. Steps to Run Jupyter Notebook on Nimbix and Sample DL Usecase OpenPOWER Academia
  • 2. Execution  Below are the steps to run jupyter notebook on IBM PowerAI over nimbix cloud  Login to the nimbix platform https://platform.jarvice.com/  Click on Compute and Search for IBM PowerAI in the search box
  • 3. Execution  Click on the IBM PowerAI, to get it expanded  Click on Launch Button and select the machine type as per the requirement.
  • 4. Execution  Click on Submit button to start the machine.  Click on the Blue area desktop to login to the machine, it will open up a new browser.
  • 5. Execution  Open Terminal Emulater for shell and type below command to activate Tensorflow, you can activate any DL framework supported. source /opt/DL/tensorflow/bin/tensorflow-activate
  • 6. Execution  Once Tensorflow activated start Jupyter notebook by typing ipython notebook, then click on new Notebook.
  • 7. Execution  In order to persist data, Nimbix provides File Manager to store the data even after VM shuts down, this data is available from VM root directory under data folder  To start File Manager, click on compute and search for File Manager, then open up “Nimbix File Manager” icon then start it as we did for Power AI. Once started click on Connect to open it in new browser  Copy the data folder inside nibmix File Manager inside data folder.
  • 8. OCR Tensorflow Optical Character Recognition using Tesorflow Exercise
  • 9. Introduction  Objective is to do a Optical Character Recognition vis Deep learning approach using Tensorflow  This Demo is the execution of the work done by Nicholas Smith https://nicholastsmith.wordpress.com/2017/10/14/deep-learning-ocr-using- tensorflow-and-python/@ https://github.com/tensorflow/models/tree/master/research/object_detection  This program generate set of 32K OCR images as training dataset then it trains the models based in that dataset.  It also generates 256 Test images too for testing.
  • 10. Execution Steps  Login to nimbix platform.  Launch PowerAI VM with minimal configuration available.  Connect the VM via putty client with host and credential displayed on VM start in nimbix  This demo requires python 3.5 and Tensorflow 1.5, by default PowerAI VMs do not provide this combination it still runs on python 2.7,we need to install setup python 3.5 and Tensorflow 1.5 and will not use the DL framework provides by Power AI by default  Follow this blog to make the above environment ready https://developer.ibm.com/code/howtos/install-tensorflow-on-power  Once tensorflow got set up clone the repository https://github.com/nicholastoddsmith/pythonml.git  Code uses the font Consolas.ttf for image generation which is not provided by default in Unix for that clone the fonts https://github.com/kakkoyun/linux.files.git in /home/nimbix/pythonml/DeepOCR
  • 11. Execution Steps  Edit OCRGen.py with this path TF = ImageFont.truetype('linux.files/fonts/Consolas.ttf', 18)  Create Trn and Tst directory inside /home/nimbix/pythonml/DeepOCR.  Install below dependencies  sudo apt-get update  sudo apt-get install libatlas-base-dev  pip3 install scikit-image (Will take 15-20 mins)  pip3 install sklearn  pip3 install TFANN  Run python3 OCRGen.py, this will generate 32K Training Image and 256 Testing images in Trn and Tst folders respectively.  There is a pretrained model already created inside TFModel we can use that for our testing  To convert images from Tst directory execute python3 DeepOCR.py Tst/00000.png  This is will display the converted text on console.  Code is written with specific image dimension, we need to tweak this code to make it generic.
  • 12. Subscribe to OpenPOWER Academia and Research Channel https://www.youtube.com/channel/UCYLtbUp0AH 0ZAv5mNut1Kcg