SlideShare a Scribd company logo
Keras v/s Pytorch Introduction to Implementation
Keras vs
PyTorch
Keras
• High level API
• Works on top of TensorFlow, Theno and
CNTK.
• Supported by GOOGLE.
• Easy to use
PyTorch
• Low Level API
• Directly works with array expression
• Supported by Facebook.
• Flexibility to use
Keras
Pytorch
Debudding
Keras
• Keras, wraps lot of computation in abstractions
• Difficult pin down the error.
• Less chances of making errors
Pytorch
• Verbose framework
• Execute line by line
• Easy to Debug(We can debug like numpy)
Exporting models
• Keras
• Exports model to JSON or H5.
• Safer
• Can take advantage of tensor board for data visualization and model
interpretation
• PyTorch
• Save the model in pickles
• No direct data visualization support.
Performance
Thank you

More Related Content

PDF
Storytelling For The Web: Integrate Storytelling in your Design Process
PDF
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
PDF
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
PDF
2024 Trend Updates: What Really Works In SEO & Content Marketing
PPTX
NVIDIA-Triton-Inference-Server-Scalable-AI-Model-Serving.pptx
PPTX
Introduction-to-vLLM-Supercharging-LLM-Inference.pptx
PDF
2024 State of Marketing Report – by Hubspot
PDF
Everything You Need To Know About ChatGPT
Storytelling For The Web: Integrate Storytelling in your Design Process
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
2024 Trend Updates: What Really Works In SEO & Content Marketing
NVIDIA-Triton-Inference-Server-Scalable-AI-Model-Serving.pptx
Introduction-to-vLLM-Supercharging-LLM-Inference.pptx
2024 State of Marketing Report – by Hubspot
Everything You Need To Know About ChatGPT

Recently uploaded (20)

PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPT
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
PPTX
Artificial Intelligence
DOCX
573137875-Attendance-Management-System-original
PPTX
Lecture Notes Electrical Wiring System Components
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
web development for engineering and engineering
PPTX
Sustainable Sites - Green Building Construction
PPTX
OOP with Java - Java Introduction (Basics)
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPT
Project quality management in manufacturing
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PDF
Digital Logic Computer Design lecture notes
PPTX
Foundation to blockchain - A guide to Blockchain Tech
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Automation-in-Manufacturing-Chapter-Introduction.pdf
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
Artificial Intelligence
573137875-Attendance-Management-System-original
Lecture Notes Electrical Wiring System Components
Operating System & Kernel Study Guide-1 - converted.pdf
web development for engineering and engineering
Sustainable Sites - Green Building Construction
OOP with Java - Java Introduction (Basics)
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Project quality management in manufacturing
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Digital Logic Computer Design lecture notes
Foundation to blockchain - A guide to Blockchain Tech
Ad
Ad

Keras v/s Pytorch Introduction to Implementation

  • 2. Keras vs PyTorch Keras • High level API • Works on top of TensorFlow, Theno and CNTK. • Supported by GOOGLE. • Easy to use PyTorch • Low Level API • Directly works with array expression • Supported by Facebook. • Flexibility to use
  • 4. Debudding Keras • Keras, wraps lot of computation in abstractions • Difficult pin down the error. • Less chances of making errors Pytorch • Verbose framework • Execute line by line • Easy to Debug(We can debug like numpy)
  • 5. Exporting models • Keras • Exports model to JSON or H5. • Safer • Can take advantage of tensor board for data visualization and model interpretation • PyTorch • Save the model in pickles • No direct data visualization support.