Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -40,11 +40,11 @@ size_categories:
|
|
| 40 |
This dataset was converted from [https://github.com/lupantech/InterGPS](https://github.com/lupantech/InterGPS) using the following script.
|
| 41 |
|
| 42 |
```python
|
| 43 |
-
import os
|
| 44 |
import json
|
| 45 |
-
|
| 46 |
from datasets import Dataset, DatasetDict, Sequence
|
| 47 |
from datasets import Image as ImageData
|
|
|
|
| 48 |
|
| 49 |
|
| 50 |
MAPPING = {"A": 0, "B": 1, "C": 2, "D": 3}
|
|
|
|
| 40 |
This dataset was converted from [https://github.com/lupantech/InterGPS](https://github.com/lupantech/InterGPS) using the following script.
|
| 41 |
|
| 42 |
```python
|
|
|
|
| 43 |
import json
|
| 44 |
+
import os
|
| 45 |
from datasets import Dataset, DatasetDict, Sequence
|
| 46 |
from datasets import Image as ImageData
|
| 47 |
+
from PIL import Image
|
| 48 |
|
| 49 |
|
| 50 |
MAPPING = {"A": 0, "B": 1, "C": 2, "D": 3}
|