Dataloader Definition
Adding Datasets to the EdgeVolution Framework¶
To add more datasets to the EdgeVolution framework, follow these steps:
-
Add Data Folder: Place the folder containing your dataset into the
data/
directory. -
Create DataLoader:
- Add a new file named
dataloader_<your_dataset_name>.py
to thecustom_dataloaders/
directory. - Inside this file, create a class that inherits from
BaseDataLoader
found insrc/base_dataloader.py
. - Implement your dataloader within this class. It should return
ds_train
,ds_val
, andds_test
as TensorFlow datasets. Optionally, you can also returnclass_weights
to be used during training.
- Add a new file named