Datasets:
File size: 817 Bytes
ce2a1d9 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
# -*- coding: utf-8 -*-
"""main_script
Automatically generated by Colaboratory.
Original file is located at
https://colab.research.google.com/drive/1ZarYcauz1ASn-0JwEBTQtPzwMQ1Qgk41
"""
# main_script.py
from plantsdataset import PlantsDataset
from durhamtrees import DurhamTreesDataset
from datasets import load_dataset
# Load each dataset separately
plants_dataset = PlantsDataset()
durham_trees_dataset = DurhamTreesDataset()
# Optionally, build and prepare the datasets
plants_dataset.download_and_prepare()
durham_trees_dataset.download_and_prepare()
# Now you can work with each dataset as needed
print(plants_dataset)
print(durham_trees_dataset)
# Or, if you want to load them using load_dataset
# dataset = load_dataset("path/to/plantsdataset.py")
# dataset = load_dataset("path/to/durhamtrees.py") |