chriamue commited on
Commit
3b57330
1 Parent(s): 50682e3

updates generate examples

Browse files
Files changed (2) hide show
  1. README.md +4 -4
  2. bird-species-dataset.py +1 -1
README.md CHANGED
@@ -547,16 +547,16 @@ dataset_info:
547
  '524': ZEBRA DOVE
548
  splits:
549
  - name: train
550
- num_bytes: 1909727995
551
  num_examples: 84635
552
  - name: validation
553
- num_bytes: 60546210
554
  num_examples: 2625
555
  - name: test
556
- num_bytes: 60898170
557
  num_examples: 2625
558
  download_size: 1984870735
559
- dataset_size: 2031172375
560
  ---
561
 
562
  # Dataset Card for "Bird Species"
 
547
  '524': ZEBRA DOVE
548
  splits:
549
  - name: train
550
+ num_bytes: 1912154520
551
  num_examples: 84635
552
  - name: validation
553
+ num_bytes: 60616321
554
  num_examples: 2625
555
  - name: test
556
+ num_bytes: 60965656
557
  num_examples: 2625
558
  download_size: 1984870735
559
+ dataset_size: 2033736497
560
  ---
561
 
562
  # Dataset Card for "Bird Species"
bird-species-dataset.py CHANGED
@@ -604,7 +604,7 @@ class BirdSpeciesDataset(datasets.GeneratorBasedBuilder):
604
  label = os.path.basename(os.path.dirname(path))
605
 
606
  record = {
607
- "image": fo.read(),
608
  "label": label,
609
  }
610
  yield idx, record
 
604
  label = os.path.basename(os.path.dirname(path))
605
 
606
  record = {
607
+ "image": {"path": path, "bytes": fo.read()},
608
  "label": label,
609
  }
610
  yield idx, record