Comments (3)
If you want to use the dataset itself, you should use xrv.datasets.COVID19_Dataset() from the torchxrayvision library.
The scripts you are looking at are used for adding more data to the dataset. combined_interface.py is the main one, and it scrapes data from Radiopaedia.org and Eurorad.org. Once some data has been scraped, you can run browse_page_from_cache.py to revisit the URLs of scraped pages.
Before you run combined_interface.py, make sure you download the chromedriver for your version of Chrome and unzip it in the same directory where you cloned the covid-chestxray-dataset.
from covid-chestxray-dataset.
As you say, I have to run combined_interface.py file, then I will run browse_page_from_cache.py file. And it request that: "combined_interface.py: error: the following arguments are required: search, newimg, newcsv, csv, max_results, results_from, handle_failure". I don't know how to fix this. Can you help me? Thank you!
from covid-chestxray-dataset.
Ok, following the example in combined_interface.py, it should work if you run this command in the scripts directory:
python combined_interface.py "search terms" image_output_folder/ new_metadata_filename.csv ../metadata.csv 10 internal retry
Just replace "search terms" with some terms describing the type of radiographs you are looking for, such as "COVID" or "pneumonia". You can run python combined_interface.py --help
for more information on what the other arguments mean.
Also, note that you need to have wget installed. If you are on Windows, you may have to add this to your PATH.
It may help if you could explain some more about how you want to use the code.
from covid-chestxray-dataset.
Related Issues (20)
- Covid dataset label help HOT 4
- Diagnostic literature HOT 1
- What does "PA" and "AP" view mean ? HOT 1
- Is there any problem in choosing all views available of X-rays ?
- Using different dataset for negative class HOT 1
- Image source metadata HOT 1
- No finiding meaning!? HOT 1
- Pubblication to add HOT 1
- requesting for guidance to setup this project and checkout demo on local machine HOT 1
- Data preprocessing HOT 1
- any update on images ? HOT 1
- Having trouble in downloading the volumes folder HOT 1
- Other sources of COVID-19 X-Ray images with survival label
- Can I use this dataset for research purposes? HOT 1
- can i get the data sheet
- Variants of Covid-19 HOT 1
- What is the exact number of the dataset?
- "good", "bad" patient states in the UMAP (Figure 3 in the paper) HOT 3
- I would like to inquire about the labeling issues in the meta-dataset HOT 3
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-chestxray-dataset.