Create Dataset with metadata

Hi,

I have 2 folders, “images” and “annotations”. Each annotation is a JSON.

I wonder what the easiest way is to load this as a Dataset. Should the JSON be added as metadata?

Hi!

The easiest way is to load with Dataset.from_generator. Another option is to adjust the directory structure and file contents and use ImageFolder (with metadata files).