Dataset views
Background & Motivation
In Geti v3, each project has a dataset to which the user can add/remove media and annotate them. This dataset is used as input for various workflows, including training, evaluation, optimization and export. The main limitation is that the dataset is monolithic: all operations target the whole dataset, meanwhile some users would like to flexibly train, export or evaluate only on a specific part of the dataset.
Example: user X has a large dataset of road signs, with photos taken in different locations and weather conditions. He would like to perform the following experiments:
- Train a detection model exclusively on images from Canada, then compare the predictions of this specialized model versus a "generic" model trained on signs from every country.
- Evaluate the model exclusively on images with low-light / nighttime conditions.
- Create (export) a dataset with only occluded STOP signs
In general, the possibility to run an operation on a specific subset of the input data could enable many new use cases.
Proposed Solution
Introduce the concept of "Dataset View". A view consists of a (sub)set of the dataset media, created and populated by the user according to some criterion. Views are independent from each other: the user could possibly assign the same item(s) to multiple views. The view itself doesn't control the lifecycle of the items assigned to it: even if a media is unassigned from a view, it still exists in the dataset.
Functional Requirements
- Dataset view definition:
- A dataset view consists of a subset of the media of a project
- The user shall be able to create a view and assign it a name. The view may be empty or already populated with selected items.
- The user shall be able to manually assign or remove items from a view, also in bulk.
- The user shall be able to rename a view
- The user shall be able to delete a view
- Multiple Views for Training:
- Users shall be able to specify a dataset view as input for training, as an alternative to the full dataset ("current dataset") or a previous dataset revision.
- Import/Export Support:
- Users shall be able to import/export data to/from a specific dataset view.
- Importing to a dataset view means importing to the main dataset and assigning the selected view.
- Statistics per View:
- Users shall be able to view statistics for each dataset view.
- API Consistency:
- Dataset view shall have the same API as the dataset, with additional parameters for specifying the dataset view name/id.
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days.
Design: https://www.figma.com/design/75tPOrtAyA5zUAKaDF2GKl/Geti?node-id=6399-11607
@leoll2 iirc from the past meetings the UX is not finalised. Are there any opens for this?
@jpggvilaca in my opinion, the current UX design is good enough to start planning the API and necessary changes. The design doesn't cover every single integration point (example: the dataset selector in the training dialog), but I don't think there is any "open" that blocks us.