|
@@ -101,39 +101,6 @@
|
|
|
"!pip install -e ."
|
|
|
]
|
|
|
},
|
|
|
- {
|
|
|
- "cell_type": "code",
|
|
|
- "execution_count": null,
|
|
|
- "metadata": {
|
|
|
- "colab": {
|
|
|
- "base_uri": "https://localhost:8080/",
|
|
|
- "height": 51
|
|
|
- },
|
|
|
- "colab_type": "code",
|
|
|
- "id": "bNDYBcMZePD9",
|
|
|
- "outputId": "81c9ba6a-5875-44bf-9fc4-e2ba8c6d5f00"
|
|
|
- },
|
|
|
- "outputs": [],
|
|
|
- "source": [
|
|
|
- "import torch\n",
|
|
|
- "print(torch.__version__)\n",
|
|
|
- "print(torch.cuda.is_available())"
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- "cell_type": "code",
|
|
|
- "execution_count": null,
|
|
|
- "metadata": {
|
|
|
- "colab": {},
|
|
|
- "colab_type": "code",
|
|
|
- "id": "3VUHs2kxfWe8"
|
|
|
- },
|
|
|
- "outputs": [],
|
|
|
- "source": [
|
|
|
- "import fastai\n",
|
|
|
- "from fastai import *"
|
|
|
- ]
|
|
|
- },
|
|
|
{
|
|
|
"cell_type": "code",
|
|
|
"execution_count": null,
|
|
@@ -167,6 +134,16 @@
|
|
|
"!pip install PyDrive"
|
|
|
]
|
|
|
},
|
|
|
+ {
|
|
|
+ "cell_type": "code",
|
|
|
+ "execution_count": null,
|
|
|
+ "metadata": {},
|
|
|
+ "outputs": [],
|
|
|
+ "source": [
|
|
|
+ "# Work around with Pillow being preinstalled on these Colab VMs, causing conflicts otherwise.\n",
|
|
|
+ "!pip install Pillow==4.1.1"
|
|
|
+ ]
|
|
|
+ },
|
|
|
{
|
|
|
"cell_type": "code",
|
|
|
"execution_count": null,
|