Upload data.py with huggingface_hub
Browse files
data.py
CHANGED
|
@@ -3,7 +3,7 @@ import pyarrow.parquet as pq
|
|
| 3 |
import os
|
| 4 |
import numpy as np
|
| 5 |
import argparse
|
| 6 |
-
|
| 7 |
|
| 8 |
def read_json(file_path):
|
| 9 |
with open(file_path, 'r', encoding='utf-8') as file:
|
|
|
|
| 3 |
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:
|