Upload data.py with huggingface_hub
Browse files
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:
|