SlideShare a Scribd company logo
1 of 25
HPC
1
Deep Learning
2
• Libraries
Tenser-flow
3
• Why tenser-flow
• What is tensor flow
• Tensors
• Architecture
• Pros and cons.
• Applications
Pytorch
4
• Uses
• How does it work
• Features , adv disadv
pytorch vs tensor flow
5
CONTENTS
• What is HPC
• High-performance computing (HPC) is the ability to process data
and perform complex calculations at high speeds.
• To put it into perspective, a laptop or desktop with a 3 GHz
processor can perform around 3 billion calculations per second.
How does HPC work?
HPC has three main components:
•Computer
•Network
•Storage
• It is a subset of machine learning, essentially a neural network
with three or more layers.
• These neural networks attempt to simulate the behavior of
the human brain.
• While a neural network with a single layer can still make
approximate prediction.
Top Deep Learning Libraries
• Developed by the google brain
team
• Written in c++ ,python, Cuda
• Created by Ronan Collobert, Korey
kavukcuoglu, Clement Farabet
• Written in Pythoan
• Is a free and open-source software library for machine learning
and artificial intelligence.
• It can be used across a range of tasks but has a particular focus
on training and inference of deep neural networks.
• IT provides a collection of workflows with intuitive, high-level
APIs.
Why Tensor Flow?
Has a Faster compilation time
than other Deep Learning
libraries like Keras and Torch
Tensor Flow supports both
CPUs and GPUs computing
devices
• Open source library developed by
google
• Developed originally to run large numerical
computations
• Accept data in the form of multidimensional arrays of higher dimensions called
Tensors
• Works on the basis of Data Flow graphs that have nodes and
edges
What Is Tensor Flow?
What are Tensors?
TENSORS
1. Tenser is a generalization of Vectors and Matrices of potentially higher Dimensions.
2. Arrays of Data with different Dimensions and ranks that are fed as input to the Neural networks are called
Tensors.
TensorFlow Architecture, Important Terms, and
Functionalities
The system of TensorFlow, which finds its use for machine
learning, is also known as TensorFlow Serving. The architecture
works in three significant steps:
1. Data pre-processing – Data collection process brings
unstructured data. Hence , the pre-processing process
makes it structured and brings it under one limiting value.
2. Model building – Build the model for the data.
3. Train and estimate the model – Use the data to train the
model. Run the model on epochs to increase the accuracy and
reduce the loss. Now test the model with unknown data.
Advantages and Disadvantages of TensorFlow
ADVANTAGES
1. Open-source platform
It is an open-source platform that makes it available to all the users around and ready for the development of any
system on it.
2. Data visualization
TensorFlow provides a better way of visualizing data with its graphical approach. It also allows easy debugging of
nodes with the help of the Tensor Board. This reduces the effort of visiting the whole code and effectively resolves
the neural network.
DISADVANTAGES
1. Frequent updates
2. Inconsistent
Best Uses of TensorFlow – TensorFlow Applications
• Image Recognition
• Voice Recognition
• Video Detection
• Text-based applications
INPUT DATA
OBJECT DETECTION
• PyTorch is defined as an open-source machine-learning library for Python.
• Originally, PyTorch was developed by Hugh Perkins as a Python wrapper for the Lust based on the Torch
framework.
• pyTorch redesigns and implements Torch in Python while sharing the same core C libraries for the backend
code.
Why use PyTorch?
 There are so many features that make deep learning
scientist to use them in making Deep learning mode some
of them:
How does PyTorch work?
• PyTorch is pythonic in nature, which means it follows the coding style that uses Python's unique
features to write readable code.
• Python is also popular for its use of dynamic computation graphs.
• It enables developers, scientists and neural network debuggers to run and test a portion of code in
real time instead of waiting for the entire program to be written.
key features:
• Tensor computation
• Torch-Script
• Dynamic graph computation
• Automatic differentiation
• Variable
NumPy For PyTorch
Is a library for the Python programming language, adding support for large, multi-
dimensional arrays and matrices.
• Along with a large collection of high-level mathematical functions to operate on these
arrays.
• Library providing tools for integrating C/C++ and FORTRAN code.
The NumPy Bridge – Arrays And Tensors
Converting a Torch Tensor to a NumPy array and vice versa is a breeze!
The Torch Tensor and NumPy array will share their underlying memory locations and changing one will change the other.
Advantages and disadvantages of PyTorch
• It is easy to learn and simpler to code.
• Rich set of powerful APIs to extend the Pytorch Libraries.
• It has computational graph support at runtime.
DISADVANTAGES
• It has been released in 2016, so it’s new compared to others and has fewer users, and is not widely
known.
• Absence of monitoring and visualization tools like a tensor board.
ADVANTAGES
Tensor Flow vs PyTorch
PyTorch Tensor Flow
It was made using Torch library. It was deployed on Theano which is a
python library.
Pytorch has fewer features as compared
to Tensor-flow.
Its has a higher level functionality and
provides broad spectrum of choices to
work on.
It has a dynamic computational process It requires the use of debugger tool
It was developed by Facebook. It was developed by Google.
• PyTorch vs TensorFlow – Use Cases
• Video Detection
• Image Recognition
• Voice and Speech Recognition
• Text-Based Applications
• Common applications of PyTorch include –
• Handwritten Digit Recognition
• Text Generation
• Style Transfer
• Forecasting Time Sequences
• Image Classification
PyTorch vs TensorFlow- Which one
should you choose?
• There were some drastic differences between the two frameworks earlier but as of today each of
these frameworks has adopted all the good features from each other and have fared well in the
battle.
• Considering the similarities between the two frameworks today, it is now possible to easily
transition back and forth among the two frameworks.
HPC and Deep Learning Libraries Comparison

More Related Content

Similar to HPC and Deep Learning Libraries Comparison

DHT_62196cbe17eefc645ce6794676313372.pptx
DHT_62196cbe17eefc645ce6794676313372.pptxDHT_62196cbe17eefc645ce6794676313372.pptx
DHT_62196cbe17eefc645ce6794676313372.pptxGovadaDhana
 
Software Programming with Python II.pptx
Software Programming with Python II.pptxSoftware Programming with Python II.pptx
Software Programming with Python II.pptxGevitaChinnaiah
 
Introduction to TensorFlow Lite
Introduction to TensorFlow Lite Introduction to TensorFlow Lite
Introduction to TensorFlow Lite Koan-Sin Tan
 
Keynote at Converge 2019
Keynote at Converge 2019Keynote at Converge 2019
Keynote at Converge 2019Travis Oliphant
 
Introduction to Python Programming Basics
Introduction  to  Python  Programming BasicsIntroduction  to  Python  Programming Basics
Introduction to Python Programming BasicsDhana malar
 
Deep Learning Frameworks 2019 | Which Deep Learning Framework To Use | Deep L...
Deep Learning Frameworks 2019 | Which Deep Learning Framework To Use | Deep L...Deep Learning Frameworks 2019 | Which Deep Learning Framework To Use | Deep L...
Deep Learning Frameworks 2019 | Which Deep Learning Framework To Use | Deep L...Simplilearn
 
Deep Learning with TensorFlow
Deep Learning with TensorFlowDeep Learning with TensorFlow
Deep Learning with TensorFlowJustin Grammens
 
How to Choose a Deep Learning Framework
How to Choose a Deep Learning FrameworkHow to Choose a Deep Learning Framework
How to Choose a Deep Learning FrameworkNavid Kalaei
 
Python indroduction
Python indroductionPython indroduction
Python indroductionFEG
 
Python-Yesterday Today Tomorrow(What's new?)
Python-Yesterday Today Tomorrow(What's new?)Python-Yesterday Today Tomorrow(What's new?)
Python-Yesterday Today Tomorrow(What's new?)Mohan Arumugam
 
Role of python in hpc
Role of python in hpcRole of python in hpc
Role of python in hpcDr Reeja S R
 
AWS re:Invent 2016: Bringing Deep Learning to the Cloud with Amazon EC2 (CMP314)
AWS re:Invent 2016: Bringing Deep Learning to the Cloud with Amazon EC2 (CMP314)AWS re:Invent 2016: Bringing Deep Learning to the Cloud with Amazon EC2 (CMP314)
AWS re:Invent 2016: Bringing Deep Learning to the Cloud with Amazon EC2 (CMP314)Amazon Web Services
 
Pandas & Cloudera: Scaling the Python Data Experience
Pandas & Cloudera: Scaling the Python Data ExperiencePandas & Cloudera: Scaling the Python Data Experience
Pandas & Cloudera: Scaling the Python Data ExperienceTuri, Inc.
 
Ibis: Scaling the Python Data Experience
Ibis: Scaling the Python Data ExperienceIbis: Scaling the Python Data Experience
Ibis: Scaling the Python Data ExperienceWes McKinney
 
Python programming ppt.pptx
Python programming ppt.pptxPython programming ppt.pptx
Python programming ppt.pptxnagendrasai12
 
The major Python updated 2023 intel document 12.docx
The major Python updated 2023 intel document 12.docxThe major Python updated 2023 intel document 12.docx
The major Python updated 2023 intel document 12.docxintel-writers.com
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to pythonMohammed Rafi
 

Similar to HPC and Deep Learning Libraries Comparison (20)

DHT_62196cbe17eefc645ce6794676313372.pptx
DHT_62196cbe17eefc645ce6794676313372.pptxDHT_62196cbe17eefc645ce6794676313372.pptx
DHT_62196cbe17eefc645ce6794676313372.pptx
 
Hyper threading
Hyper threadingHyper threading
Hyper threading
 
Software Programming with Python II.pptx
Software Programming with Python II.pptxSoftware Programming with Python II.pptx
Software Programming with Python II.pptx
 
Introduction to TensorFlow Lite
Introduction to TensorFlow Lite Introduction to TensorFlow Lite
Introduction to TensorFlow Lite
 
Hyper-Theading
Hyper-TheadingHyper-Theading
Hyper-Theading
 
Python libraries
Python librariesPython libraries
Python libraries
 
Keynote at Converge 2019
Keynote at Converge 2019Keynote at Converge 2019
Keynote at Converge 2019
 
Introduction to Python Programming Basics
Introduction  to  Python  Programming BasicsIntroduction  to  Python  Programming Basics
Introduction to Python Programming Basics
 
Deep Learning Frameworks 2019 | Which Deep Learning Framework To Use | Deep L...
Deep Learning Frameworks 2019 | Which Deep Learning Framework To Use | Deep L...Deep Learning Frameworks 2019 | Which Deep Learning Framework To Use | Deep L...
Deep Learning Frameworks 2019 | Which Deep Learning Framework To Use | Deep L...
 
Deep Learning with TensorFlow
Deep Learning with TensorFlowDeep Learning with TensorFlow
Deep Learning with TensorFlow
 
How to Choose a Deep Learning Framework
How to Choose a Deep Learning FrameworkHow to Choose a Deep Learning Framework
How to Choose a Deep Learning Framework
 
Python indroduction
Python indroductionPython indroduction
Python indroduction
 
Python-Yesterday Today Tomorrow(What's new?)
Python-Yesterday Today Tomorrow(What's new?)Python-Yesterday Today Tomorrow(What's new?)
Python-Yesterday Today Tomorrow(What's new?)
 
Role of python in hpc
Role of python in hpcRole of python in hpc
Role of python in hpc
 
AWS re:Invent 2016: Bringing Deep Learning to the Cloud with Amazon EC2 (CMP314)
AWS re:Invent 2016: Bringing Deep Learning to the Cloud with Amazon EC2 (CMP314)AWS re:Invent 2016: Bringing Deep Learning to the Cloud with Amazon EC2 (CMP314)
AWS re:Invent 2016: Bringing Deep Learning to the Cloud with Amazon EC2 (CMP314)
 
Pandas & Cloudera: Scaling the Python Data Experience
Pandas & Cloudera: Scaling the Python Data ExperiencePandas & Cloudera: Scaling the Python Data Experience
Pandas & Cloudera: Scaling the Python Data Experience
 
Ibis: Scaling the Python Data Experience
Ibis: Scaling the Python Data ExperienceIbis: Scaling the Python Data Experience
Ibis: Scaling the Python Data Experience
 
Python programming ppt.pptx
Python programming ppt.pptxPython programming ppt.pptx
Python programming ppt.pptx
 
The major Python updated 2023 intel document 12.docx
The major Python updated 2023 intel document 12.docxThe major Python updated 2023 intel document 12.docx
The major Python updated 2023 intel document 12.docx
 
Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
 

Recently uploaded

Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxAnaBeatriceAblay2
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxUnboundStockton
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 

Recently uploaded (20)

Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docx
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 

HPC and Deep Learning Libraries Comparison

  • 1.
  • 2. HPC 1 Deep Learning 2 • Libraries Tenser-flow 3 • Why tenser-flow • What is tensor flow • Tensors • Architecture • Pros and cons. • Applications Pytorch 4 • Uses • How does it work • Features , adv disadv pytorch vs tensor flow 5 CONTENTS • What is HPC
  • 3. • High-performance computing (HPC) is the ability to process data and perform complex calculations at high speeds. • To put it into perspective, a laptop or desktop with a 3 GHz processor can perform around 3 billion calculations per second. How does HPC work? HPC has three main components: •Computer •Network •Storage
  • 4. • It is a subset of machine learning, essentially a neural network with three or more layers. • These neural networks attempt to simulate the behavior of the human brain. • While a neural network with a single layer can still make approximate prediction.
  • 5. Top Deep Learning Libraries • Developed by the google brain team • Written in c++ ,python, Cuda • Created by Ronan Collobert, Korey kavukcuoglu, Clement Farabet • Written in Pythoan
  • 6. • Is a free and open-source software library for machine learning and artificial intelligence. • It can be used across a range of tasks but has a particular focus on training and inference of deep neural networks. • IT provides a collection of workflows with intuitive, high-level APIs.
  • 7. Why Tensor Flow? Has a Faster compilation time than other Deep Learning libraries like Keras and Torch Tensor Flow supports both CPUs and GPUs computing devices
  • 8. • Open source library developed by google • Developed originally to run large numerical computations • Accept data in the form of multidimensional arrays of higher dimensions called Tensors • Works on the basis of Data Flow graphs that have nodes and edges What Is Tensor Flow?
  • 9. What are Tensors? TENSORS 1. Tenser is a generalization of Vectors and Matrices of potentially higher Dimensions. 2. Arrays of Data with different Dimensions and ranks that are fed as input to the Neural networks are called Tensors.
  • 10. TensorFlow Architecture, Important Terms, and Functionalities The system of TensorFlow, which finds its use for machine learning, is also known as TensorFlow Serving. The architecture works in three significant steps: 1. Data pre-processing – Data collection process brings unstructured data. Hence , the pre-processing process makes it structured and brings it under one limiting value. 2. Model building – Build the model for the data. 3. Train and estimate the model – Use the data to train the model. Run the model on epochs to increase the accuracy and reduce the loss. Now test the model with unknown data.
  • 11.
  • 12. Advantages and Disadvantages of TensorFlow ADVANTAGES 1. Open-source platform It is an open-source platform that makes it available to all the users around and ready for the development of any system on it. 2. Data visualization TensorFlow provides a better way of visualizing data with its graphical approach. It also allows easy debugging of nodes with the help of the Tensor Board. This reduces the effort of visiting the whole code and effectively resolves the neural network. DISADVANTAGES 1. Frequent updates 2. Inconsistent
  • 13. Best Uses of TensorFlow – TensorFlow Applications • Image Recognition • Voice Recognition • Video Detection • Text-based applications
  • 15. • PyTorch is defined as an open-source machine-learning library for Python. • Originally, PyTorch was developed by Hugh Perkins as a Python wrapper for the Lust based on the Torch framework. • pyTorch redesigns and implements Torch in Python while sharing the same core C libraries for the backend code.
  • 16. Why use PyTorch?  There are so many features that make deep learning scientist to use them in making Deep learning mode some of them:
  • 17. How does PyTorch work? • PyTorch is pythonic in nature, which means it follows the coding style that uses Python's unique features to write readable code. • Python is also popular for its use of dynamic computation graphs. • It enables developers, scientists and neural network debuggers to run and test a portion of code in real time instead of waiting for the entire program to be written.
  • 18. key features: • Tensor computation • Torch-Script • Dynamic graph computation • Automatic differentiation • Variable
  • 19. NumPy For PyTorch Is a library for the Python programming language, adding support for large, multi- dimensional arrays and matrices. • Along with a large collection of high-level mathematical functions to operate on these arrays. • Library providing tools for integrating C/C++ and FORTRAN code.
  • 20. The NumPy Bridge – Arrays And Tensors Converting a Torch Tensor to a NumPy array and vice versa is a breeze! The Torch Tensor and NumPy array will share their underlying memory locations and changing one will change the other.
  • 21. Advantages and disadvantages of PyTorch • It is easy to learn and simpler to code. • Rich set of powerful APIs to extend the Pytorch Libraries. • It has computational graph support at runtime. DISADVANTAGES • It has been released in 2016, so it’s new compared to others and has fewer users, and is not widely known. • Absence of monitoring and visualization tools like a tensor board. ADVANTAGES
  • 22. Tensor Flow vs PyTorch PyTorch Tensor Flow It was made using Torch library. It was deployed on Theano which is a python library. Pytorch has fewer features as compared to Tensor-flow. Its has a higher level functionality and provides broad spectrum of choices to work on. It has a dynamic computational process It requires the use of debugger tool It was developed by Facebook. It was developed by Google.
  • 23. • PyTorch vs TensorFlow – Use Cases • Video Detection • Image Recognition • Voice and Speech Recognition • Text-Based Applications • Common applications of PyTorch include – • Handwritten Digit Recognition • Text Generation • Style Transfer • Forecasting Time Sequences • Image Classification
  • 24. PyTorch vs TensorFlow- Which one should you choose? • There were some drastic differences between the two frameworks earlier but as of today each of these frameworks has adopted all the good features from each other and have fared well in the battle. • Considering the similarities between the two frameworks today, it is now possible to easily transition back and forth among the two frameworks.