Wendy-Fly commited on
Commit
51ae8ad
·
verified ·
1 Parent(s): 4a1bf47

Upload data.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. data.py +1 -0
data.py CHANGED
@@ -4,6 +4,7 @@ import os
4
  import numpy as np
5
  import argparse
6
  from PIL import Image
 
7
 
8
  def read_json(file_path):
9
  with open(file_path, 'r', encoding='utf-8') as file:
 
4
  import numpy as np
5
  import argparse
6
  from PIL import Image
7
+ import io
8
 
9
  def read_json(file_path):
10
  with open(file_path, 'r', encoding='utf-8') as file: