Upload image-demo.py
Browse files- image-demo.py +2 -1
image-demo.py
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
import csv
|
| 3 |
import json
|
| 4 |
import os
|
| 5 |
-
|
| 6 |
import datasets
|
| 7 |
|
| 8 |
# TODO: Add description of the dataset here
|
|
@@ -66,6 +66,7 @@ class ImagesDemo(datasets.GeneratorBasedBuilder):
|
|
| 66 |
# method parameters are unpacked from `gen_kwargs` as given in `_split_generators`
|
| 67 |
def _generate_examples(self, images):
|
| 68 |
print("HONA")
|
|
|
|
| 69 |
idx = 0
|
| 70 |
for filepath, image in images:
|
| 71 |
print(filepath)
|
|
|
|
| 2 |
import csv
|
| 3 |
import json
|
| 4 |
import os
|
| 5 |
+
import pdb
|
| 6 |
import datasets
|
| 7 |
|
| 8 |
# TODO: Add description of the dataset here
|
|
|
|
| 66 |
# method parameters are unpacked from `gen_kwargs` as given in `_split_generators`
|
| 67 |
def _generate_examples(self, images):
|
| 68 |
print("HONA")
|
| 69 |
+
pdb.set_trace()
|
| 70 |
idx = 0
|
| 71 |
for filepath, image in images:
|
| 72 |
print(filepath)
|