beginners-pytorch-deep-learning icon indicating copy to clipboard operation
beginners-pytorch-deep-learning copied to clipboard

Repository for scripts and notebooks from the book: Programming PyTorch for Deep Learning

Results 20 beginners-pytorch-deep-learning issues
Sort by recently updated
recently updated
newest added

Chapter 6: The ESC-50 folder name are different between book and repo code In the book, tell me to get the wav file from 2 ways, one is to use...

![image](https://user-images.githubusercontent.com/108148171/202773982-338bea47-fbea-4345-bef0-b69ae731b44d.png)

Bumps [pillow](https://github.com/python-pillow/Pillow) from 7.0.0 to 9.3.0. Release notes Sourced from pillow's releases. 9.3.0 https://pillow.readthedocs.io/en/stable/releasenotes/9.3.0.html Changes Initialize libtiff buffer when saving #6699 [@​radarhere] Limit SAMPLESPERPIXEL to avoid runtime DOS #6700 [@​wiredfool]...

dependencies

Bumps [numpy](https://github.com/numpy/numpy) from 1.18.5 to 1.22.0. Release notes Sourced from numpy's releases. v1.22.0 NumPy 1.22.0 Release Notes NumPy 1.22.0 is a big release featuring the work of 153 contributors spread...

dependencies

I copyed the code to pycharm, but it can not run, here are the code: import torch import torch.nn as nn import torch.optim as optim import torch.utils.data import torch.nn.functional as...

At the top of page 21, we have ~~~ batch_size=64 train_data_loader = data.DataLoader(train_data, batch_size=batch_size) ## line 19, 'data' not defined val_data_loader = data.DataLoader(val_data, batch_size=batch_size) test_data_loader = data.DataLoader(test_data, batch_size=batch_size) ~~~ which...

When running the example notebook for chapter 2, the call of `ImageFolder` for train, val and test data uses the keyword argument `is_valid_file=check_img`. `ImageFolder` passes as argument `path` to `check_img(path)`...

New features brought to torchtext are making the code obsolete (fields, dictionaries etc). You can still run the code for a little bit, using modified imports (from torchtext.legacy import data)....

Hello, about the code in chapter 2, in the training section, I wonder why the loss calculation is different from that on the book. ``` def train(model, optimizer, loss_fn, train_loader,...

I just downgraded my torch and other packages to the correct version. Seems this doesn't work.