$27.95
Get Fast, Free Shipping with Amazon Prime FREE Returns
FREE delivery Wednesday, July 17 on orders shipped by Amazon over $35
In Stock
$$27.95 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$27.95
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Ships from
Amazon.com
Ships from
Amazon.com
Sold by
Amazon.com
Sold by
Amazon.com
Returns
Eligible for Return, Refund or Replacement within 30 days of receipt
Eligible for Return, Refund or Replacement within 30 days of receipt
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt.
Returns
Eligible for Return, Refund or Replacement within 30 days of receipt
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt.
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
Payment
Secure transaction
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera - scan the code below and download the Kindle app.

QR code to download the Kindle App

Follow the author

Something went wrong. Please try your request again later.

Deep Learning with PyTorch Step-by-Step: A Beginner's Guide: Volume I: Fundamentals

4.5 4.5 out of 5 stars 56 ratings

{"desktop_buybox_group_1":[{"displayPrice":"$27.95","priceAmount":27.95,"currencySymbol":"$","integerValue":"27","decimalSeparator":".","fractionalValue":"95","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"3IKDVSIziu1WGeNlv%2Bbz5GE9nqSl%2FV2Cr3QBTfU8y4i0ka9k2Jej0obRY2fOYw4hk00cvKt0uAW01Sz5IOF7qQk7uuQldVO2eMjJz%2FvgX1jkM9rl9RxonyejtHQa73Ag2jtEoi90AK5BwiUBZ5lSvQ%3D%3D","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}]}

Purchase options and add-ons

Why this book?

Are you looking for a book where you can learn about deep learning and PyTorch without having to spend hours deciphering cryptic text and code? A technical book that’s also easy and enjoyable to read?

This is it!

How is this book different?

  • First, this book presents an easy-to-follow, structured, incremental, and from-first-principles approach to learning PyTorch.
  • Second, this is a rather informal book: It is written as if you, the reader, were having a conversation with Daniel, the author.
  • His job is to make you understand the topic well, so he avoids fancy mathematical notation as much as possible and spells everything out in plain English.

What will I learn?

In this first volume of the series, you’ll be introduced to the fundamentals of PyTorch: autograd, model classes, datasets, data loaders, and more. You will develop, step-by-step, not only the models themselves but also your understanding of them.

By the time you finish this book, you’ll have a thorough understanding of the concepts and tools necessary to start developing and training your own models using PyTorch.

If you have absolutely no experience with PyTorch, this is your starting point.

What’s Inside

  • Gradient descent and PyTorch’s autograd
  • Training loop, data loaders, mini-batches, and optimizers
  • Binary classifiers, cross-entropy loss, and imbalanced datasets
  • Decision boundaries, evaluation metrics, and data separability

Amazon First Reads | Editors' picks at exclusive prices

Frequently bought together

$27.95
Get it as soon as Wednesday, Jul 17
In Stock
Ships from and sold by Amazon.com.
+
$27.95
Get it as soon as Wednesday, Jul 17
In Stock
Ships from and sold by Amazon.com.
+
$27.95
Get it as soon as Wednesday, Jul 17
In Stock
Ships from and sold by Amazon.com.
Total price:
To see our price, add these items to your cart.
Details
Added to Cart
spCSRF_Control
Choose items to buy together.

From the Publisher

deep learning pytorch
tensor

Is this book for me?

Daniel wrote this book for beginners in general - not only PyTorch beginners. Every now and then he will spend some time explaining some fundamental concepts which are essential to have a proper understanding of what's going on in the code.

If you have absolutely no experience with PyTorch, this is your starting point!

In this first volume of the series, you’ll be introduced to the fundamentals of PyTorch: autograd, model classes, datasets, data loaders, and more.

By the time you finish this volume, you’ll have a thorough understanding of the concepts and tools necessary to start developing and training your own models using PyTorch.

What's inside

  • Gradient descent and PyTorch’s autograd
  • Training loop, data loaders, mini-batches, and optimizers
  • Binary classifiers, cross-entropy loss, and imbalanced datasets
  • Decision boundaries, evaluation metrics, and data separability
  • ... and more!
surface

How is this book different?

This book is written as if YOU, the reader, were having a conversation with Daniel, the author: he will ask you questions (and give you answers shortly afterward) and also make some (silly) jokes.

Moreover, this book spells concepts out in plain English, avoiding fancy mathematical notation as much as possible.

It shows you how PyTorch works, in a structured, incremental, and from-first-principles approach.

It builds, step-by-step, not only the models themselves but also your understanding as it shows you both the reasoning behind the code and how to avoid some common pitfalls and errors along the way.

author

"Hi, I'm Daniel!"

I am a data scientist, developer, teacher, and author of this series of books.

I will tell you, briefly, how this series of books came to be. In 2018, before teaching a class, I tried to find a blog post that would visually explain, in a clear and concise manner, the concepts behind binary cross-entropy so that I could show it to my students. Since I could not find any that fit my purpose, I decided to write one myself. It turned out to be my most popular blog post!

My readers have welcomed the simple, straightforward, and conversational way I explained the topic.

Then, in 2019, I used the same approach for writing another blog post: "Understanding PyTorch with an example: a step-by-step tutorial." Once again, I was amazed by the reaction from the readers! It was their positive feedback that motivated me to write this series of books to help beginners start their journey into deep learning and PyTorch.

I hope you enjoy reading these books as much as I enjoyed writing them!

Product details

  • ASIN ‏ : ‎ B09QR4M768
  • Publisher ‏ : ‎ Independently published (January 23, 2022)
  • Language ‏ : ‎ English
  • Paperback ‏ : ‎ 280 pages
  • ISBN-13 ‏ : ‎ 979-8533935746
  • Item Weight ‏ : ‎ 3.84 ounces
  • Dimensions ‏ : ‎ 7 x 0.64 x 10 inches
  • Customer Reviews:
    4.5 4.5 out of 5 stars 56 ratings

About the author

Follow authors to get new release updates, plus improved recommendations.
Daniel Voigt Godoy
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

Daniel is a data scientist, developer, writer, and teacher. He has been teaching machine learning and distributed computing technologies at Data Science Retreat, the longest-running Berlin-based bootcamp, since 2016, helping more than 150 students advance their careers.

Daniel is also the main contributor of two Python packages: HandySpark and DeepReplay.

His professional background includes 20 years of experience working for companies in several industries: banking, government, fintech, retail, and mobility.

Customer reviews

4.5 out of 5 stars
4.5 out of 5
56 global ratings

Customers say

Customers find the book's language basic, clear, and easy to read. They also appreciate the insights and Python concepts introduced in the book.

AI-generated from the text of customer reviews

Select to learn more
6 customers mention "Readability"6 positive0 negative

Customers find the book easy to read, with basic, clear language and intuitive explanations. They also appreciate the rare cases of math notation. Overall, readers say the book is best for beginners.

"...The pace is slow and the text is not dense. There is not a ton of math notation, and the rare cases where it is included the text really helps...." Read more

"I am only half way through but so far this text has been very accessible for a beginner like me." Read more

"I got the book in Kindle version. It is very readable, and it's easy to follow and understand the snippets and the incremental versions but I found..." Read more

"...I was able to work through it in a few days, and it was easy to understand...." Read more

4 customers mention "Insights"4 positive0 negative

Customers find the book very kind about introducing many Python concepts and that every function is clearly described.

"...that you know the concept of OOP, but the book is very kind about introducing many Python concepts...." Read more

"...Every function is clearly described in what it's doing...." Read more

"Excellent insights..." Read more

"Very clear and helpful introduction to PyTorch..." Read more

Top reviews from the United States

Reviewed in the United States on March 18, 2024
Basic plain clear language. The text is not academic or arrogant, uses simple words and is easy to absorb and understand. The pace is slow and the text is not dense. There is not a ton of math notation, and the rare cases where it is included the text really helps.

I love that the author takes you through how you would build and train a neural net without Torch first. I knew how things like gradient descent worked, but this book really helped me -understand- what was happening under the hood, and now when I see my nets going sideways, I can visualize the issues. The rest of the series is the same quality I own all three now.
Reviewed in the United States on October 20, 2023
This book does not just shove the code on your face. It explains "how" things work under the hood. I loved this style so much that I made this book and its Volume 2 the textbook for my ECE655 Advanced GPU Programming and Deep Learning class. This book really spoke to me, since I am, just like the author Dan Godoy, are curious people who are not going to be satisfied when they get things to work. We want to know WHY they worked ! We want to know what is under the hood. This style of the author made it a perfect textbook material for a graduate class! The code he provided is a gold mine.

LOVE IT!
3 people found this helpful
Report
Reviewed in the United States on December 5, 2023
I am only half way through but so far this text has been very accessible for a beginner like me.
One person found this helpful
Report
Reviewed in the United States on July 26, 2023
This book was amazing, guiding the reader step by step into the intricate structure of the Pytorch framework. It requires that you know the concept of OOP, but the book is very kind about introducing many Python concepts. I bought all three and found that the first two of the series are very good. The third is a bit difficult to follow, because the example becomes quite complex. Yet, overall, if you're new to DL/NN, this book is a gem. Highly highly recommended.
2 people found this helpful
Report
Reviewed in the United States on May 5, 2024
I got the book in Kindle version. It is very readable, and it's easy to follow and understand the snippets and the incremental versions but I found it to be very difficult to put it all together in my own program because I need to chase all the snippets of the right version instead of having a full beginning to end .py example.

In my opinion, the heavy reliance on notebook and not providing full .py examples makes the book less useful than I expected. It's a matter of 'plenty of versioned trees' vs 'a single best-practice forrest' if you like.
One person found this helpful
Report
Reviewed in the United States on December 6, 2022
This book was great. I was able to work through it in a few days, and it was easy to understand. I was familiar with scikit-learn, but it's been a few years since I used it, so the book was a fast way to get comfortable with PyTorch. The review of ML concepts was just enough depth to make it so I understood the code. I am moving on to volume 2 now!

For comparison, a few years ago I bought "Hands-On Machine Learning with Scikit-Learn and TensorFlow" but I was never able to make myself read it. This book, OTOH, was an absolute pleasure.
2 people found this helpful
Report
Reviewed in the United States on February 15, 2023
Fantastic entry into PyTorch. I'm coming from a statistics background and my python is a work in progress. Every function is clearly described in what it's doing. Actually, the author has the reader write manual code first then uses a function to replace the code. I've built some models in Tensorflow before starting PyTorch, so I do have some understanding what is going on. However, this was the book that brought it all together for me. Can't wait to start the other two books in the series.
3 people found this helpful
Report
Reviewed in the United States on August 3, 2023
I like the intuitive and easy explanation of the author. I I also learned some important concept here in this book. I guess this book is the best for the beginners
One person found this helpful
Report

Top reviews from other countries

Leon Chant Dakessian
5.0 out of 5 stars Awsome tutorial!
Reviewed in Brazil on June 6, 2024
Excellent and didactic book with clear explanations and Python codes. Highly recommendable for mastering concepts related to regression and classification tasks, Python codes and the PyTorch library.
Frederique
5.0 out of 5 stars Wow
Reviewed in Canada on March 18, 2023
This book, finally, broke the dam for me. I am working in ML but parts and pieces of PyTorch were unclear to me until this book. It did take me three 12-hour days to finish the book. Looking forward to reading the sequels.
Jurij
5.0 out of 5 stars Very good practical and beginner-friendly instructions for getting started with PyTorch
Reviewed in Germany on February 8, 2024
Very good practical and beginner-friendly instructions for getting started with PyTorch with a lot of useful examples
Dileep P.
5.0 out of 5 stars Awesome book
Reviewed in India on June 24, 2023
In my opinion, this is the best book for learning PyTorch. The book gradually introduces each topic step by step. The readers will develop the confidence of building, training and evaluating the models from the beginning. As the book progresses, more elegant approaches are introduced.
Amazon カスタマー
5.0 out of 5 stars Greatest PyTorch book for everyone with a solid foundation in ML
Reviewed in Japan on June 11, 2022
I'm a fastai lover and trying to understand what's going on behind the scene. This book shows me the detail about PyTorch's features like Tensor, Auto-Grad, DataLoader, Model, and so on.

If you have some experience of TensorFlow or fastai and you are considering to dive into the PyTorch world, this is the book for you!!