Created
November 9, 2021 02:07
-
-
Save ivanvoid/efc33ae0cef06d303edcd9943b15054b to your computer and use it in GitHub Desktop.
seqgan web-dataloader
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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