Datasets:
Remove cast column since metadata is fixed
#11
by
nateraw
- opened
No need to cast to image now since it's fixed :)
abhishek
changed pull request status to
merged
This is the first time Im using datasets, but with the code:
ds = load_dataset('competitions/aiornot')
ds['train'][0]['image']
I'm getting a dict with a bytes key.
But when Im using the code from before this was merged:
ds = load_dataset('competitions/aiornot').cast_column('image', ImageFeature())
ds['train'][0]['image']
this does give me a rendered image.
am I doing something wrong?