v2.5.0
Datasets ⭐
EXAMPLE CODE
DRD Dataset
Load DRD dataset in Python fast with one line of code. 87275 images for diabetic retinopathy detection with masks. Stream DRD Dataset while training ML models.
Visualization of DRD dataset on the Activeloop Platform

DRD dataset

What is DRD Dataset?

DRD (Diabetic Retinopathy Detection) dataset is a collection of high-res images of the human retina. All pictures contain clinician ratings about the disease's progression level (scale 0 to 4; 0 - no retinopathy; 4 - proliferative retinopathy). This dataset is typically used for automated retinopathy progression diagnosis. Some pictures are taken as one would see the retina in real life (macula on the left, optic nerve on the ideal for the right eye). Other photos are portrayed as one would see via magnifying instrument consolidating focal point (e.g. altered, as one finds in an ordinary live eyesight test).
Like on any real-world dataset, you may encounter noise in the DRD datasets. Images may contain artifacts, be blurry, under- or overexposed.

Download DRD Dataset in Python

Instead of downloading the DRD dataset in Python, you can effortlessly load it in Python via our open-source package Hub with just one line of code.

Load DRD Dataset Training Subset in Python

1
import hub
2
ds = hub.load('hub://activeloop/diabetic-retinopathy-detection-train')
Copied!

Load DRD Dataset Testing Subset in Python

1
import hub
2
ds = hub.load('hub://activeloop/diabetic-retinopathy-detection-test')
Copied!

DRD Dataset Structure

DRD Data Fields

  • image: tensor containing the image.
  • labels: tensor to represent the retinopathy severity labels.

DRD Data Splits

How to use DRD Dataset with PyTorch and TensorFlow in Python

Train a model on DRD dataset with PyTorch in Python

Let's use Hub's built-in PyTorch one-line dataloader to connect the data to the compute:
1
dataloader = ds.pytorch(num_workers=0, batch_size=4, shuffle=False)
Copied!

Train a model on DRD dataset with TensorFlow in Python

1
dataloader = ds.tensorflow()
Copied!

Additional Information about DRD Dataset

DRD Dataset Description

DRD Dataset Curators

Kaggle

DRD Dataset Licensing Information

Hub users may have access to a variety of publicly available datasets. We do not host or distribute these datasets, vouch for their quality or fairness, or claim that you have a license to use the datasets. It is your responsibility to determine whether you have permission to use the datasets under their license.
If you're a dataset owner and do not want your dataset to be included in this library, please get in touch through a GitHub issue. Thank you for your contribution to the ML community!

DRD Dataset Citation Information

1
@ONLINE {kaggle-diabetic-retinopathy,
2
author = "Kaggle and EyePacs",
3
title = "Kaggle Diabetic Retinopathy Detection",
4
month = "jul",
5
year = "2015",
6
url = "https://www.kaggle.com/c/diabetic-retinopathy-detection/data"
7
}
Copied!

DRD Dataset FAQs

What is the DRD dataset for Python?

DRD dataset is a large collection of high-resolution retina pictures taken in various modes. All pictures contain clinician ratings about the disease's progression level (scale 0 to 4; 0 - no retinopathy; 4 - proliferative retinopathy).

What are the ratings used for the DRD dataset in Python?

DRD dataset has clinician ratings specifying the level of progression of diabetic retinopathy in each image on a scale of 0 to 4:
0 - No diabetic retinopathy 1 - Mild diabetic retinopathy 2 - Moderate diabetic retinopathy 3 - Severe diabetic retinopathy 4 - Proliferative diabetic retinopathy

What is the DRD dataset used for?

DRD dataset is used for creating an automated system for detecting the level of progression of diabetic retinopathy detection.
How to download the DRD dataset in Python?
You can load DRD dataset fast with one line of code using the open-source package Activeloop Hub in Python. See detailed instructions on how to load DRD dataset training subset and testing subset in Python.

How can I use DRD dataset in PyTorch or TensorFlow?

You can stream DRD dataset while training a model in PyTorch or TensorFlow with one line of code using the open-source package Activeloop Hub in Python. See detailed instructions on how to train a model on DRD dataset with PyTorch in Python or train a model on DRD dataset with TensorFlow in Python.