Learn practical skills, build real-world projects, and advance your career
Updated 3 years ago
TODO
- Pick a dataset
- Download the dataset
- Import dataset using pytorch
- Explore the dataset
- Prepare dataset for training
Download the dataset
Use opendataset to download the dataset
! pip install opendatasets --upgrade -q
import opendatasets as od
dataset_url = 'https://www.kaggle.com/alxmamaev/flowers-recognition'
od.download(dataset_url)
2%|▏ | 9.00M/450M [00:00<00:06, 68.5MB/s]
Downloading flowers-recognition.zip to ./flowers-recognition
100%|██████████| 450M/450M [00:02<00:00, 165MB/s]
data_dir = './flowers-recognition/flowers/'