XingjianL commited on
Commit
abd471b
1 Parent(s): de764b8
Files changed (1) hide show
  1. tomatotest.py +2 -1
tomatotest.py CHANGED
@@ -74,7 +74,8 @@ class RGBSemanticDepthDataset(GeneratorBasedBuilder):
74
  ]
75
 
76
  def _generate_examples(self, archives, split_txt):
77
- with open(split_txt) as split_f:
 
78
  all_splits = split_f.read().split('\n')
79
  print(all_splits)
80
  for archive in archives:
 
74
  ]
75
 
76
  def _generate_examples(self, archives, split_txt):
77
+ print(split_txt)
78
+ with open(split_txt, encoding="utf-8") as split_f:
79
  all_splits = split_f.read().split('\n')
80
  print(all_splits)
81
  for archive in archives: