Recipe - Daft Image Classification
daft
recipe
A recipe on how to load data for Image Classification using Daft
In my previous blog-post I introduced Daft. Now I wish to share recipes on how to do some things.
Loading From HuggingFace Datasets
HuggingFace Datasets is one of the biggest dataset providers out there, integrating with them is something that is of great importance. Luckily it’s easy!
import daft
import datasets
def load_from_hf_dataset() -> daft.DataFrame:
ds = datasets.load_dataset("detection-datasets/fashionpedia")
ds.table.arrow