Comments (1)
The first thing to do would be to double-check that the image files exist, which you can do by printing the file path passed to cv2.imread() just before the error occurs. cv2.imread() returns None when the path it is given doesn't exist, so the error you're getting happens when this None value is treated as a NumPy array later on.
If this is a path issue, printing the file paths passed to cv2.imread() should help debug it. However, if it is an issue where the image file names in the label list are incorrect (i.e., an error on our end), that would be something we can fix. With the given information, it's impossible for me to tell which it is.
from covid-net.
Related Issues (20)
- Cannot download version 1 of the dataset COVID-19 Radiography Database HOT 4
- Cannot create dataset COVIDx8 HOT 7
- requirement.txt is not satisfied HOT 1
- How to load the pretrained weights with tf2?
- No training steps and how to custom input image tensor?
- KeyError: "The name 'keras_learning_phase:0' refers to a Tensor which does not exist HOT 3
- Issue with Create_COVIDx for COVIDx8A
- Only return 1 class when training COVIDNet with COVIDx4 dataset HOT 5
- Using pre-trained model HOT 2
- COVIDx9A training labels include "COVID-19" and "positive" HOT 3
- I ran COVIDNet-CXR-2 on Kaggle and loss explodes after few epochs HOT 2
- KeyError: 'COVID(1).png' HOT 3
- Yeah, latest master branch did work. I'm so sorry for replying this late.
- Problem the loss training from scratch on each epochs
- Problem on training with COVIDNet-CXR4-A model for Detection of no pneumonia/non-COVID-19 pneumonia/COVID-19 pneumonia
- Train from scratch on new data
- A practical model and application for covid 19 and detection from recording breath, voice cough HOT 1
- Whether train_COVIDx9A.txt is consistent with the dataset COVIDx CXR-2? HOT 1
- how to run train_risknet.py
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 covid-net.