Skip to content

Instantly share code, notes, and snippets.

@ivanvoid
Created November 9, 2021 02:07
Show Gist options
  • Save ivanvoid/efc33ae0cef06d303edcd9943b15054b to your computer and use it in GitHub Desktop.
Save ivanvoid/efc33ae0cef06d303edcd9943b15054b to your computer and use it in GitHub Desktop.
seqgan web-dataloader
# loading data from the web
import requests
data_fn = 'data.zip'
data_url = 'https://download.pytorch.org/tutorial/data.zip'
f = requests.get(data_url).content
open(data_fn, 'wb').write(f)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment