Datasets:
Update plantsdataset.py
Browse files- plantsdataset.py +4 -1
plantsdataset.py
CHANGED
@@ -1,8 +1,11 @@
|
|
1 |
-
from datasets import DatasetInfo, Features, Value, ClassLabel, Split, SplitGenerator, GeneratorBasedBuilder
|
2 |
import os
|
3 |
from PIL import Image
|
4 |
import matplotlib.pyplot as plt
|
5 |
import numpy as np
|
|
|
|
|
|
|
6 |
# Google Drive ID for your ZIP file
|
7 |
_DRIVE_ID = "1fXgVwhdU5YGj0SPIcHxSpxkhvRh54oEH"
|
8 |
_URL = f"https://drive.google.com/uc?export=download&id={_DRIVE_ID}"
|
|
|
1 |
+
from datasets import DatasetInfo, Features, Value, ClassLabel, Split, SplitGenerator, GeneratorBasedBuilder, BuilderConfig
|
2 |
import os
|
3 |
from PIL import Image
|
4 |
import matplotlib.pyplot as plt
|
5 |
import numpy as np
|
6 |
+
|
7 |
+
# Rest of your code...
|
8 |
+
|
9 |
# Google Drive ID for your ZIP file
|
10 |
_DRIVE_ID = "1fXgVwhdU5YGj0SPIcHxSpxkhvRh54oEH"
|
11 |
_URL = f"https://drive.google.com/uc?export=download&id={_DRIVE_ID}"
|