wintercoming6 commited on
Commit
abea7a5
·
verified ·
1 Parent(s): 4ae49ba

Update test3.py

Browse files
Files changed (1) hide show
  1. test3.py +5 -2
test3.py CHANGED
@@ -74,8 +74,11 @@ class Artwork(datasets.GeneratorBasedBuilder):
74
  ]
75
 
76
  def _generate_examples(self, files):
 
77
  for path in files.itertuples():
78
- yield {
 
 
79
  "label": path.label,
80
  "image_data": path.image_data,
81
- }
 
74
  ]
75
 
76
  def _generate_examples(self, files):
77
+ cnt=0
78
  for path in files.itertuples():
79
+ print(cnt)
80
+ cnt+=1
81
+ yield {
82
  "label": path.label,
83
  "image_data": path.image_data,
84
+ }