This commit is contained in:
kuprel 2022-06-29 06:25:52 -04:00
parent 0fe3e2d2b9
commit ae0411dbcc

View File

@ -37,7 +37,6 @@
}, },
"outputs": [], "outputs": [],
"source": [ "source": [
"#@title Setup\n",
"! git clone https://github.com/kuprel/min-dalle\n", "! git clone https://github.com/kuprel/min-dalle\n",
"! mkdir -p /content/min-dalle/pretrained/vqgan/\n", "! mkdir -p /content/min-dalle/pretrained/vqgan/\n",
"! curl https://huggingface.co/dalle-mini/vqgan_imagenet_f16_16384/resolve/main/flax_model.msgpack -L --output /content/min-dalle/pretrained/vqgan/flax_model.msgpack\n", "! curl https://huggingface.co/dalle-mini/vqgan_imagenet_f16_16384/resolve/main/flax_model.msgpack -L --output /content/min-dalle/pretrained/vqgan/flax_model.msgpack\n",
@ -57,7 +56,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 9, "execution_count": null,
"metadata": { "metadata": {
"colab": { "colab": {
"base_uri": "https://localhost:8080/", "base_uri": "https://localhost:8080/",
@ -95,7 +94,6 @@
} }
], ],
"source": [ "source": [
"#@title Default title text\n",
"text = \"artificial intelligence\" #@param {type:\"string\"}\n", "text = \"artificial intelligence\" #@param {type:\"string\"}\n",
"seed = 0#@param {type:\"integer\"}\n", "seed = 0#@param {type:\"integer\"}\n",
"torch = True #@param {type:\"boolean\"}\n", "torch = True #@param {type:\"boolean\"}\n",
@ -117,7 +115,7 @@
"name": "min-dalle", "name": "min-dalle",
"provenance": [], "provenance": [],
"machine_shape": "hm", "machine_shape": "hm",
"authorship_tag": "ABX9TyN7H4G9PFWMpng8xByQYCy4", "authorship_tag": "ABX9TyN7lVJ8zUP53XhtQzD7LrQp",
"include_colab_link": true "include_colab_link": true
}, },
"gpuClass": "standard", "gpuClass": "standard",