Deep Learning With PyTorch - Full Course

Patrick Loeber · 916K views · 2021 · 4:35:42

Open on YouTube

Machine learning & deep learningPython, Ruby & scripting languagescourse

Why Stack Overflow recommends it

Stack Overflow users cite it as the tutorial they learned PyTorch from, often when posting questions about code they built while following it.

Recommended by 1 people across 1 different months, 2022 to 2022.

What it is

A 4.5-hour beginner course by Patrick Loeber (Python Engineer) that teaches PyTorch and deep learning from the ground up. It covers installation, tensors, autograd, backpropagation, gradient descent, training pipelines, linear and logistic regression, datasets and dataloaders, transforms, and later topics like neural networks and transfer learning, with code on GitHub.

What people said

Recommends anonymous017 · 2022-11 · Stack Overflow · on “What are the Best way to learn python for non IT person”

Well, there are plenty of the free courses on YouTube. Personally, I am not in the machine learning field. However, to get started in Python, I would suggest the following Python video: [LINK] This is the same video I used when I first got started in Python. Once you have the basics down, I would suggest you do some beginner projects just to brush up on the skills you have learned. Some of the ones I recommend for total beginners are programs like Tic-Tac-Toe, Hangman, and Random code generators, or even a program that takes a string and turns it into a simple code (like making every letter "a" into "b" and "b" into "c"). Needless to say, there are many, many simple beginner projects. Do a c

Cites Salih · 2022-06 · Stack Overflow · on “Pytorch error- device : expected all tensors to be on the same device, but found at least two devices”

I have followed this link [LINK] and this one [LINK] too. But the error persists. I'm trying a simple feedforward NN using pytorch (from a tutorial [this video] ). import torch import torch.nn as nn import torchvision import torchvision.transforms as transformers # hyperparameters input_size = 784 hidden_size = 100 num_classes = 10 num_epochs = 2 learning_rate = 0.001 batch_size = 100 # activating device device = torch.device('cuda' if torch.cuda.is_available() else 'cpu') # Loading data train_dataset = torchvision.datasets.MNIST('.', train=True, transform=transformers.ToTensor(), download=True) test_dataset = torchvision.datasets.MNIST('.', train=False, transform=transformers.ToTensor(), downloa

Cites Yiwei Miao · 2022-09 · Stack Overflow · on “How to load a trained ML model with pytorch”

I am very new to Machine Learning, and very lack of the experience. Recently i am trying to collect my own datasets and see the performance of it on a trained model [LINK] . In README.md it only tells me how to train my own model, but it did not tell me how to load his model direct from here [LINK] . For instance, i want to try this trained model (culane_r18.pth.zip). How i am suppose to load this model? Should i start a new python file? # What should i add here? ... FILE = "culane_r18.pth" device = torch.device('cpu') model = Model(*args, **kwargs) model.load_state_dict(torch.load(FILE, map_location=device)) ... I have only finished the pytorch tutorial [this video] , and now i do not know what