Created using Colaboratory
This commit is contained in:
parent
e62fc0c570
commit
31da53d987
|
@ -69,7 +69,6 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"source": [
|
"source": [
|
||||||
"# You'll start with cloning the repo (Remove for Coursera version)\n",
|
|
||||||
"!git clone https://github.com/NVlabs/stylegan.git"
|
"!git clone https://github.com/NVlabs/stylegan.git"
|
||||||
],
|
],
|
||||||
"execution_count": null,
|
"execution_count": null,
|
||||||
|
@ -144,7 +143,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"source": [
|
"source": [
|
||||||
"# Load pre-trained StyleGAN network (Change in Coursera to pkl file path)\n",
|
"# Load pre-trained StyleGAN network\n",
|
||||||
"url = 'https://drive.google.com/uc?id=1vmFGPrTUgs0DUOy6c26RmDlCge5ul-kc' # karras2019stylegan-ffhq-1024x1024.pkl\n",
|
"url = 'https://drive.google.com/uc?id=1vmFGPrTUgs0DUOy6c26RmDlCge5ul-kc' # karras2019stylegan-ffhq-1024x1024.pkl\n",
|
||||||
"with stylegan.dnnlib.util.open_url(url, cache_dir=stylegan.config.cache_dir) as f:\n",
|
"with stylegan.dnnlib.util.open_url(url, cache_dir=stylegan.config.cache_dir) as f:\n",
|
||||||
" # You'll load 3 components, and use the last one Gs for sampling images.\n",
|
" # You'll load 3 components, and use the last one Gs for sampling images.\n",
|
||||||
|
|
Loading…
Reference in New Issue