Comments (2)
I think it's due to the DataLoader object, which seems to be instantiated, but empty.
Have you set the correct path for your own environment and downloaded the data correctly in advance?
PATH_TO_ESC50 = Path.cwd() / 'esc50' # you might have to adjust this line, if your image directory is not '.../current_working_dir/esc50/'
train_esc50 = ESC50(PATH_TO_ESC50 / "train")
train_loader = torch.utils.data.DataLoader(train_esc50, batch_size = bs, shuffle = True)
from beginners-pytorch-deep-learning.
Hi,
That is so funny. I was doing that:
print(PATH_TO_ESC50)
print(train_esc50)
delivers
C:\Users\patri\Deep_Learning\I_pytorch_deep_learning\chapter6\esc50\audio
<main.ESC50 object at 0x000002820FBEFC10>
I took the original file and adaped the path an now it is running.
from beginners-pytorch-deep-learning.
Related Issues (20)
- Ch. 8 Flask service: server.py not executable
- Ch 5 Error: OSError: [E050] Can't find model 'en'. HOT 1
- Chapter 4 - Replacing the Classifier HOT 2
- Dataset for chapter 2 HOT 2
- Many cat and fish pictures seem to be missing HOT 2
- How do you evaluate Chapter 3 Model? HOT 3
- How to use the function named classify_tweet in chapter5? HOT 4
- the csv link seems not work and I alter another images folder
- problem with googletrans and 'the cat sat on the mat' HOT 2
- Chapter 5: Problem with latest version of Juypter Notebook HOT 3
- Chapter 4: cannot assign 'torch.nn.modules.container.Sequential' as child module HOT 6
- chapter 2 - training loss differet in github and in the book HOT 1
- chapter 5 becoming obsolete :-( HOT 5
- Chapter 2: Imagefolder passes only filename without path to `is_valid_file` HOT 2
- chapter 2, page 21: 'data' is not defined in data.DataLoader() HOT 2
- chapter 2 has unknown mistake, please help me HOT 6
- Chapter 6: The ESC-50 folder name are different between book and repo code HOT 1
- Chapter 3 - Making Predictions Method from Chapter 2 does not work HOT 4
- Chapter 2: Error with the check_image function HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from beginners-pytorch-deep-learning.