Created using Colaboratory
This commit is contained in:
parent
e182a49b7b
commit
d7fcda0169
|
@ -188,7 +188,7 @@
|
|||
"\n",
|
||||
"# Load pre-trained network\n",
|
||||
"# url = 'https://drive.google.com/uc?id=1MEGjdvVpUsu1jB4zrXZN7Y4kBBOzizDQ' # Downloads the pickled model file: karras2019stylegan-ffhq-1024x1024.pkl\n",
|
||||
"url = 'https://drive.google.com/uc?id=1oeQyvnsaFTuiSTXCvSd7E7uCkTWfXDzd'\n",
|
||||
"url = 'https://bitbucket.org/ezelikman/gans/downloads/karras2019stylegan-ffhq-1024x1024.pkl'\n",
|
||||
"with stylegan.dnnlib.util.open_url(url, cache_dir=config.cache_dir) as f:\n",
|
||||
" print(f)\n",
|
||||
" _G, _D, Gs = pickle.load(f)\n",
|
||||
|
|
Loading…
Reference in New Issue