Euniceyeee commited on
Commit
72de623
1 Parent(s): b4b2510

Update kidney-ct-abnormality.py

Browse files
Files changed (1) hide show
  1. kidney-ct-abnormality.py +2 -1
kidney-ct-abnormality.py CHANGED
@@ -26,7 +26,7 @@ _URL = "https://huggingface.co/datasets/Euniceyeee/kidney-ct-abnormality"
26
  # 'test': "https://huggingface.co/datasets/Euniceyeee/kidney-ct-abnormality/resolve/main/test.zip"
27
  # }
28
  _URLS = {
29
- 'kidney_CT': 'https://huggingface.co/datasets/Euniceyeee/kidney-ct-abnormality/resolve/main/kidney_CT.zip'
30
  }
31
 
32
  _METADATA_URL = {
@@ -88,6 +88,7 @@ class KidneyCTAbnormality(datasets.GeneratorBasedBuilder):
88
 
89
  def _generate_examples(self, filepath, metadata):
90
  """Generate images and labels for splits."""
 
91
  for i, meta in enumerate(metadata):
92
  img_path = os.path.join(
93
  filepath,
 
26
  # 'test': "https://huggingface.co/datasets/Euniceyeee/kidney-ct-abnormality/resolve/main/test.zip"
27
  # }
28
  _URLS = {
29
+ 'kidney_CT': 'https://huggingface.co/datasets/Euniceyeee/kidney-ct-abnormality/resolve/main/kidney_ct/kidney_CT.zip'
30
  }
31
 
32
  _METADATA_URL = {
 
88
 
89
  def _generate_examples(self, filepath, metadata):
90
  """Generate images and labels for splits."""
91
+ print(filepath)
92
  for i, meta in enumerate(metadata):
93
  img_path = os.path.join(
94
  filepath,