with TemporaryDirectory() as d:
'https://s3.amazonaws.com/fast-ai-sample/mnist_tiny.tgz', d) download_and_extract(
Download
Utility functions for downloading stuff.
download
download (url, save_dir, filename=None, chunk_size=1024)
Download file from url
download_and_extract
download_and_extract (url, save_dir, chunk_size=1024)
download_gdrive
download_gdrive (url)
Download from gdrive, passing virus scan for big files.
download_and_extract_gdrive
download_and_extract_gdrive (url, extract_dir)
open_image_url
open_image_url (url, gray=False, ignore_exif=True)
= open_image_url('https://media.istockphoto.com/id/177228186/pt/foto/jovem-capivara.jpg?s=612x612&w=0&k=20&c=HIaHC5JhfE3zobczCLIEY6bdy2NdOLq0sskZkuXsM9w=')
img pv.show_image(img)