Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,58 @@
|
|
| 1 |
-
---
|
| 2 |
-
license
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
# ... (license, tags, etc.)
|
| 3 |
+
dataset_info:
|
| 4 |
+
features:
|
| 5 |
+
# Fields directly from your metadata.jsonl
|
| 6 |
+
- name: file_name # This is standard for image datasets
|
| 7 |
+
dtype: string
|
| 8 |
+
- name: image_id # The ID you added
|
| 9 |
+
dtype: string # Since we made it string
|
| 10 |
+
- name: height
|
| 11 |
+
dtype: int32 # Assuming it's int32, adjust if needed
|
| 12 |
+
- name: width
|
| 13 |
+
dtype: int32 # Assuming it's int32
|
| 14 |
+
- name: dataset_origin
|
| 15 |
+
dtype: string
|
| 16 |
+
- name: distance_category
|
| 17 |
+
dtype: string
|
| 18 |
+
- name: objects
|
| 19 |
+
sequence:
|
| 20 |
+
feature:
|
| 21 |
+
- name: id
|
| 22 |
+
dtype: string # Annotation ID, now string
|
| 23 |
+
- name: area
|
| 24 |
+
dtype: float32
|
| 25 |
+
- name: bbox
|
| 26 |
+
sequence: float32
|
| 27 |
+
- name: category_id
|
| 28 |
+
dtype: int64 # Or int32, should be integer
|
| 29 |
+
- name: categories
|
| 30 |
+
sequence:
|
| 31 |
+
feature:
|
| 32 |
+
- name: id
|
| 33 |
+
dtype: int64 # Category ID
|
| 34 |
+
- name: name
|
| 35 |
+
dtype: string
|
| 36 |
+
- name: supercategory
|
| 37 |
+
dtype: string
|
| 38 |
+
# The 'image' field is often implicitly handled or can be added
|
| 39 |
+
- name: image
|
| 40 |
+
dtype: image
|
| 41 |
+
# --- Add config information if you have multiple (coco_far_voc, etc.) ---
|
| 42 |
+
# This helps Croissant understand different parts of your dataset
|
| 43 |
+
configs:
|
| 44 |
+
- config_name: coco_far_voc # Match your restructured folder names
|
| 45 |
+
# data_files: # Optional but can help Croissant
|
| 46 |
+
# - split: train # Or whatever your split name is
|
| 47 |
+
# path: coco_far_voc/metadata.jsonl # Path relative to dataset root
|
| 48 |
+
# - split: train
|
| 49 |
+
# path: coco_far_voc/* # For images
|
| 50 |
+
- config_name: coco_farther_bdd
|
| 51 |
+
# ... and so on for all 6 configurations
|
| 52 |
+
- config_name: oi_far_voc
|
| 53 |
+
- config_name: oi_farther_bdd
|
| 54 |
+
- config_name: oi_near_voc
|
| 55 |
+
- config_name: coco_near_voc
|
| 56 |
+
|
| 57 |
+
---
|
| 58 |
+
# Rest of your README.md content
|