You can export any UDT dataset into a CSV file using the download button at the top of the page.
We can begin by importing the pandas, and our udt.csv file.
import pandas as pdurl_or_filepath_to_csv = "https://raw.githubusercontent.com/UniversalDataTool/udt-dataset-cats-and-dogs/master/coco_dogs_and_cats.udt.csv"udt_csv = pd.read_csv(url_or_filepath_to_csv)
If you view the udt_csv object, you should now see a breakdown of your CSV, ready to be imported!
UDT Datasets just have links to images, so we'll need to download the actual images. Check out the fast.ai Image classification tutorial, where we show how to easily download images using the fast.ai download_images function.