Update README.md
Browse files
README.md
CHANGED
|
@@ -13,3 +13,12 @@ and label from 0-9 digit
|
|
| 13 |
This dataset has immense potential for applications in the field of machine learning, particularly in tasks related to object detection. You can use it for training and evaluating models that combine classification and regression tasks. Solutions based on this dataset can find applications in areas such as automatic identification of digits in images or more advanced detection tasks.
|
| 14 |

|
| 15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
This dataset has immense potential for applications in the field of machine learning, particularly in tasks related to object detection. You can use it for training and evaluating models that combine classification and regression tasks. Solutions based on this dataset can find applications in areas such as automatic identification of digits in images or more advanced detection tasks.
|
| 14 |

|
| 15 |
|
| 16 |
+
```python
|
| 17 |
+
import numpy as np
|
| 18 |
+
|
| 19 |
+
# Loading data from the 'mnist_object.npz' file
|
| 20 |
+
data = np.load('/kaggle/input/mnist-for-object-detection/mnist_object.npz')
|
| 21 |
+
|
| 22 |
+
# Reading variables containing the data
|
| 23 |
+
X_train, y_train, y_train_bboxes, X_test, y_test, y_test_bboxes = data['train_images'], data['train_labels'], data['train_bboxes'], data['test_images'], data['test_labels'], data['test_bboxes']
|
| 24 |
+
```
|