Datasets:

Modalities:
Image
Text
Libraries:
Datasets
Aymen-Bouguerra commited on
Commit
7afc872
·
verified ·
1 Parent(s): 1d802da

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +25 -34
README.md CHANGED
@@ -2,57 +2,48 @@
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
 
2
  # ... (license, tags, etc.)
3
  dataset_info:
4
  features:
5
+ - name: file_name
6
+ dtype: string
7
+ - name: image_id
8
  dtype: string
 
 
9
  - name: height
10
+ dtype: int32
11
  - name: width
12
+ dtype: int32
13
  - name: dataset_origin
14
  dtype: string
15
  - name: distance_category
16
  dtype: string
17
+ - name: objects # This is a sequence of dictionaries
18
+ sequence: # Each element in the sequence is a dictionary defined by 'feature'
19
+ feature: # 'feature' itself should map to a dictionary of fields
20
+ id: # name of the field within the object
21
+ dtype: string
22
+ area:
23
  dtype: float32
24
+ bbox: # This is a sequence of simple values (floats)
25
+ sequence:
26
+ dtype: float32
27
+ # length: 4 # You can optionally specify length if it's always fixed
28
+ category_id:
29
+ dtype: int64
30
+ - name: categories # This is also a sequence of dictionaries
31
  sequence:
32
+ feature: # 'feature' maps to a dictionary of fields for each category
33
+ id:
34
+ dtype: int64
35
+ name:
36
  dtype: string
37
+ supercategory:
38
  dtype: string
 
39
  - name: image
40
  dtype: image
 
 
41
  configs:
42
+ - config_name: coco_far_voc
 
 
 
 
 
43
  - config_name: coco_farther_bdd
44
+ - config_name: coco_near_voc
45
  - config_name: oi_far_voc
46
  - config_name: oi_farther_bdd
47
  - config_name: oi_near_voc
 
 
48
  ---
49
  # Rest of your README.md content