Learn practical skills, build real-world projects, and advance your career

TODO

  1. Pick a dataset
  2. Download the dataset
  3. Import dataset using pytorch
  4. Explore the dataset
  5. Prepare dataset for training

Download the dataset

Use opendataset to download the dataset

https://www.kaggle.com/alxmamaev/flowers-recognition

! 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/'