Deci-AI / data-gradients

Computer Vision dataset analysis
Apache License 2.0
293 stars 33 forks source link

Rename `DatasetAdapter` to `DatasetOutputMapper` #166

Closed Louis-Dupont closed 1 year ago

Louis-Dupont commented 1 year ago

Motivation

The current DatasetAdapter exclusively maps dataset output to tuple(image, label), without any transformation on both. The thing is that we we talk about DatasetAdapter we usually refer to an object that yields (image, label) in a clear and ready-to-use format (e.g. B, C, H, W for image and N, 6 and XYXY for detection)

Solution

Rename DatasetAdapter into DatasetOutputMapper