Update funsd-layoutlmv3.py
Browse files- funsd-layoutlmv3.py +2 -0
funsd-layoutlmv3.py
CHANGED
@@ -5,6 +5,8 @@ Reference: https://huggingface.co/datasets/nielsr/funsd/blob/main/funsd.py
|
|
5 |
import json
|
6 |
import os
|
7 |
|
|
|
|
|
8 |
import datasets
|
9 |
|
10 |
def load_image(image_path):
|
|
|
5 |
import json
|
6 |
import os
|
7 |
|
8 |
+
from PIL import Image
|
9 |
+
|
10 |
import datasets
|
11 |
|
12 |
def load_image(image_path):
|