Created using Colaboratory
This commit is contained in:
parent
308c42ebd0
commit
0f3fde5899
|
@ -47,24 +47,12 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 1,
|
"execution_count": null,
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"cellView": "form",
|
"cellView": "form",
|
||||||
"id": "f2cdMtCt9Wb6",
|
"id": "f2cdMtCt9Wb6"
|
||||||
"outputId": "af696921-97a5-4667-d3cc-efba1222975b",
|
|
||||||
"colab": {
|
|
||||||
"base_uri": "https://localhost:8080/"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"outputs": [
|
"outputs": [],
|
||||||
{
|
|
||||||
"output_type": "stream",
|
|
||||||
"name": "stdout",
|
|
||||||
"text": [
|
|
||||||
"Python 3.10.6\n"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"source": [
|
"source": [
|
||||||
"#@title Verify python version, should be 3.10.something\n",
|
"#@title Verify python version, should be 3.10.something\n",
|
||||||
"!python --version"
|
"!python --version"
|
||||||
|
@ -72,24 +60,12 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 2,
|
"execution_count": null,
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"cellView": "form",
|
"cellView": "form",
|
||||||
"id": "d1di4EC6ygw1",
|
"id": "d1di4EC6ygw1"
|
||||||
"outputId": "98e1e97c-c829-4c17-c169-01d22318a924",
|
|
||||||
"colab": {
|
|
||||||
"base_uri": "https://localhost:8080/"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"outputs": [
|
"outputs": [],
|
||||||
{
|
|
||||||
"output_type": "stream",
|
|
||||||
"name": "stdout",
|
|
||||||
"text": [
|
|
||||||
"Mounted at /content/drive\n"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"source": [
|
"source": [
|
||||||
"#@title Optional connect Gdrive\n",
|
"#@title Optional connect Gdrive\n",
|
||||||
"#@markdown # But strongly recommended\n",
|
"#@markdown # But strongly recommended\n",
|
||||||
|
@ -104,24 +80,12 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 3,
|
"execution_count": null,
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"cellView": "form",
|
"cellView": "form",
|
||||||
"id": "hAuBbtSvGpau",
|
"id": "hAuBbtSvGpau"
|
||||||
"outputId": "99c0130a-a997-4bf3-e8cb-18f9cd152390",
|
|
||||||
"colab": {
|
|
||||||
"base_uri": "https://localhost:8080/"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"outputs": [
|
"outputs": [],
|
||||||
{
|
|
||||||
"output_type": "stream",
|
|
||||||
"name": "stdout",
|
|
||||||
"text": [
|
|
||||||
"DONE!\n"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"source": [
|
"source": [
|
||||||
"#@markdown # Install Dependencies\n",
|
"#@markdown # Install Dependencies\n",
|
||||||
"#@markdown This will take a couple minutes, be patient and watch the output for \"DONE!\"\n",
|
"#@markdown This will take a couple minutes, be patient and watch the output for \"DONE!\"\n",
|
||||||
|
@ -383,9 +347,9 @@
|
||||||
"#@markdown * Skip the nth last layer of CLIP.\n",
|
"#@markdown * Skip the nth last layer of CLIP.\n",
|
||||||
"Clip_skip = 1 #@param {type:\"slider\", min:0, max:4, step:1}\n",
|
"Clip_skip = 1 #@param {type:\"slider\", min:0, max:4, step:1}\n",
|
||||||
"#@markdown * ratio of captions dropped from training data.\n",
|
"#@markdown * ratio of captions dropped from training data.\n",
|
||||||
"Conditional_DropOut = 0.1 #@param {type:\"slider\", min:0, max:0.3, step:0.01}\n",
|
"Conditional_DropOut = 0.04 #@param {type:\"slider\", min:0, max:0.3, step:0.01}\n",
|
||||||
"#@markdown * Ratio of images randomly to flip horizontally.\n",
|
"#@markdown * Ratio of images randomly to flip horizontally.\n",
|
||||||
"Picture_flip = 0.05 #@param {type:\"slider\", min:0, max:0.5, step:0.05}\n",
|
"Picture_flip = 0 #@param {type:\"slider\", min:0, max:0.5, step:0.05}\n",
|
||||||
"#@markdown * This can improve contrast in light and dark scenes, Use a ratio between 0-10% for Best results.\n",
|
"#@markdown * This can improve contrast in light and dark scenes, Use a ratio between 0-10% for Best results.\n",
|
||||||
"zero_frequency_noise = 0.1 #@param {type:\"slider\", min:0, max:0.25, step:0.01}\n",
|
"zero_frequency_noise = 0.1 #@param {type:\"slider\", min:0, max:0.25, step:0.01}\n",
|
||||||
"\n",
|
"\n",
|
||||||
|
@ -547,4 +511,4 @@
|
||||||
},
|
},
|
||||||
"nbformat": 4,
|
"nbformat": 4,
|
||||||
"nbformat_minor": 0
|
"nbformat_minor": 0
|
||||||
}
|
}
|
Loading…
Reference in New Issue