Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,57 @@
|
|
| 1 |
---
|
| 2 |
license: mit
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
+
task_categories:
|
| 4 |
+
- text-classification
|
| 5 |
+
- text-generation
|
| 6 |
+
language:
|
| 7 |
+
- en
|
| 8 |
+
tags:
|
| 9 |
+
- code
|
| 10 |
+
pretty_name: '*'
|
| 11 |
+
size_categories:
|
| 12 |
+
- 0.001M<n<0.0011M
|
| 13 |
---
|
| 14 |
+
# Modified Coco Dataset Files
|
| 15 |
+
|
| 16 |
+
# Required dependencies
|
| 17 |
+
|
| 18 |
+
```
|
| 19 |
+
OpenCV (cv2):
|
| 20 |
+
|
| 21 |
+
pip install opencv-python
|
| 22 |
+
```
|
| 23 |
+
|
| 24 |
+
# img_data.parquet (originally a psv)
|
| 25 |
+
|
| 26 |
+
Extract of the coco dataset containing the following labels: ```["airplane", "backpack", "cell phone", "handbag", "suitcase", "knife", "laptop", "car"]```
|
| 27 |
+
|
| 28 |
+
```
|
| 29 |
+
Structured as follows:
|
| 30 |
+
|
| 31 |
+
| Field | Description |
|
| 32 |
+
| --------------- | --------------------------------------------------------------------------------------------------- |
|
| 33 |
+
| file_name | Name of image file (.png) |
|
| 34 |
+
| height | Image height prior to padding |
|
| 35 |
+
| width | Image width prior to padding |
|
| 36 |
+
| annotations | Array of boundary box array, label pairs. Bbox arrays are of the form [x_min, y_min, width, height] |
|
| 37 |
+
|
| 38 |
+
1.09k rows
|
| 39 |
+
```
|
| 40 |
+
|
| 41 |
+
#/data (folder)
|
| 42 |
+
|
| 43 |
+
This directory contains a selection of zero-padded COCO images that correspond to img_data.parquet.
|
| 44 |
+
|
| 45 |
+
|
| 46 |
+
#display_boundary.py
|
| 47 |
+
|
| 48 |
+
Mini gui for viewing images with their boundary boxes, don't need to pay attention to how it works, just run it:
|
| 49 |
+
|
| 50 |
+
```
|
| 51 |
+
python display_boundary.py
|
| 52 |
+
```
|
| 53 |
+
|
| 54 |
+
Input structured as follows:
|
| 55 |
+
```
|
| 56 |
+
x.png (where x is a file name)
|
| 57 |
+
```
|