DatasetVersions table
The DatasetVersions table in the FitStack - V2 schema has 57 columns, keyed by Id, with 1 foreign key to Datasets. 1 column in TrainingRuns references it.
58 columns, of which ~30 are the augmentation recipe. Frozen once exported — reproducing a training run means replaying exactly this row.
Columns (57)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key, not null | |
| DatasetId | uuid | not null, references Datasets.Id | |
| VersionName | text | not null | |
| Notes | text | ||
| TrainPercent | integer | not null | |
| ValidationPercent | integer | not null | |
| TestPercent | integer | not null | |
| TrainCount | integer | not null | |
| ValidationCount | integer | not null | |
| TestCount | integer | not null | |
| AutoOrient | boolean | not null | |
| ResizeEnabled | boolean | not null | |
| ResizeWidth | integer | not null | |
| ResizeHeight | integer | not null | |
| ResizeMode | text | not null | |
| Grayscale | boolean | not null | |
| AutoContrast | boolean | not null | |
| RotationEnabled | boolean | not null | |
| RotationDegrees | double precision | not null | |
| ShearEnabled | boolean | not null | |
| ShearDegrees | double precision | not null | |
| ScaleEnabled | boolean | not null | |
| ScaleFactor | double precision | not null | |
| TranslateEnabled | boolean | not null | |
| TranslateFraction | double precision | not null | |
| HsvEnabled | boolean | not null | |
| HsvHue | double precision | not null | |
| HsvSaturation | double precision | not null | |
| HsvValue | double precision | not null | |
| FlipHorizontalEnabled | boolean | not null | |
| FlipHorizontalProbability | double precision | not null | |
| FlipVerticalEnabled | boolean | not null | |
| FlipVerticalProbability | double precision | not null | |
| MosaicEnabled | boolean | not null | |
| MosaicProbability | double precision | not null | |
| MixupEnabled | boolean | not null | |
| MixupProbability | double precision | not null | |
| ErasingEnabled | boolean | not null | |
| ErasingProbability | double precision | not null | |
| HasNutrition | boolean | not null | |
| HasIngredients | boolean | not null | |
| HasBranding | boolean | not null | |
| HasBarcode | boolean | not null | |
| ExportStatus | integer | not null | `DatasetVersionExportStatus`. |
| ExportedAt | timestamp with time zone | ||
| ExportManifestUrl | text | ||
| ExportError | text | ||
| CurrentPhase | text | ||
| LastProgressAt | timestamp with time zone | ||
| ProcessedImageCount | integer | ||
| TotalImageCount | integer | ||
| CreatedByUserId | text | ||
| CreatedByEmail | text | ||
| CreatedAt | timestamp with time zone | not null | |
| ModifiedAt | timestamp with time zone | ||
| IsDeleted | boolean | not null | |
| DeletedAt | timestamp with time zone |
Indexes (1)
(DatasetId)(IX_DatasetVersions_DatasetId)
Relationships
DatasetVersions.DatasetIdreferencesDatasets.IdTrainingRuns.DatasetVersionIdreferencesDatasetVersions