Spaces:
No application file
No application file
A newer version of the Gradio SDK is available: 6.20.0
Data Processing
This folder contains the following files:
dataset.py: The Pytorch dataset used for training our modeldata_fetching.py:lenandgetmethods for each datasetdata_utils.py: DataProcessing and PromptProcessing methods
Detailed Description:
Dataset
Data Fetching
data_fetching.py implements lenand get methods for all used datasets. For this we assume our own file structure. More details in the section Our File Structure.
However you can easily implement len and get for your own dataset. For this have a look at the section Using your own Dataset.
Our File Structure
All of our data is stored in one data_directory. Each dataset has a subdirectory in this data_directory. The individual datasets are stored as follows:
BCSS
BCSS
|--- 0_Public-data-Amgad2019_0.25MPP
|--- masks
|--- rgbs_colorNormalized
CellSeg
Using your own Dataset
Entry in DATASET_DICT Implement len and get