Support multiple image/audio columns in ImageFolder/AudioFolder
COLLABORATOR
A duplicate of https://github.com/huggingface/datasets/issues/5760
2023-11-24T17:24:38Z
https://github.com/huggingface/datasets/issues/6450#issuecomment-1825941290
https://api.github.com/repos/huggingface/datasets/issues/6450
IC_kwDODunzps5s1acq
https://api.github.com/repos/huggingface/datasets/issues/comments/1825941290/reactions
2023-11-24T17:24:38Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1825941290
https://avatars.githubusercontent.com/u/47462742?v=4
https://api.github.com/users/mariosasko/events{/privacy}
https://api.github.com/users/mariosasko/followers
https://api.github.com/users/mariosasko/following{/other_user}
https://api.github.com/users/mariosasko/gists{/gist_id}
https://github.com/mariosasko
mariosasko
MDQ6VXNlcjQ3NDYyNzQy
https://api.github.com/users/mariosasko/orgs
https://api.github.com/users/mariosasko/received_events
https://api.github.com/users/mariosasko/repos
https://api.github.com/users/mariosasko/starred{/owner}{/repo}
https://api.github.com/users/mariosasko/subscriptions
User
https://api.github.com/users/mariosasko
public
### Feature request

Have a metadata.csv file with multiple columns that point to relative image or audio files.

### Motivation

Currently, ImageFolder allows one column, called `file_name`, pointing to relative image files. On the same model, AudioFolder allows one column, called `file_name`, pointing to relative audio files.

But it's not possible to have two image columns, or to have two audio column, or to have one audio column and one image column.

### Your contribution

no specific contribution