Wu Zhenyu commited on
Commit
b9c7667
1 Parent(s): a6aa2cb

Change str to image

Browse files
Files changed (1) hide show
  1. Div2k.py +2 -2
Div2k.py CHANGED
@@ -109,8 +109,8 @@ class Div2k(datasets.GeneratorBasedBuilder):
109
  def _info(self):
110
  features = datasets.Features(
111
  {
112
- "lr": datasets.Value("string"),
113
- "hr": datasets.Value("string"),
114
  }
115
  )
116
  return datasets.DatasetInfo(
 
109
  def _info(self):
110
  features = datasets.Features(
111
  {
112
+ "lr": datasets.Image(),
113
+ "hr": datasets.Image(),
114
  }
115
  )
116
  return datasets.DatasetInfo(