Deci-AI / data-gradients

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

Feature/sg 000 add datasetadapter features #187

Closed Louis-Dupont closed 1 year ago

Louis-Dupont commented 1 year ago

Motivation

Basically, we currently have an Adapter class that handles both the transformation and the iteration. The issue is that we sometimes need to use the adapter transformation logic WITHOUT having a full dataset. For instance if, you want to transform on the fly a batch.

The solution is to make a clear distinction between the transformations and the iteration.

All the other changes are consequences of this change.