Autors: Mihai Nan
For this task, you need to implement a model capable of estimating the number of distinct categories in an image created by concatenating several smaller images.
The dataset is provided as images with associated CSV files:
train.csv: contains examples for training the model
| Column | Type | Description |
|---|---|---|
| SampleID | integer | Unique identifier for each example |
| ImagePath | string | Path to the concatenated image |
| Label | integer | Number of distinct categories in the image |
test.csv: contains examples for prediction
| Column | Type | Description |
|---|---|---|
| SampleID | integer | Unique identifier |
| ImagePath | string | Path to the concatenated image |
The score for each example is calculated as follows:
The submission file must be a CSV with two columns:
| Column | Type | Description |
|---|---|---|
| SampleID | integer | Unique identifier of the row in the test set |
| PredictedLabel | integer | Predicted number of distinct categories in the image |
submission.csv| SampleID | PredictedLabel |
|---|---|
| 1 | 4 |
| 2 | 2 |
| 3 | 3 |
If a concatenated image contains multiple objects, the label represents the number of distinct categories.
Thus, the model must recognize the different classes in the image and return an integer corresponding to the number of distinct classes.