fix indexing, increase epochs now the problem is more realistic...
},
"outputs": [],
"source": [
- "i = 1348 # An interesting case\n",
+ "i = 0\n",
"sample_image, sample_mask = validation_images[i,:,:,:], validation_masks[i,:,:,:]"
]
},
"cell_type": "code",
"execution_count": null,
"metadata": {
- "id": "A0u1bRevJLRc"
+ "colab": {
+ "base_uri": "https://localhost:8080/",
+ "height": 313
+ },
+ "id": "A0u1bRevJLRc",
+ "outputId": "8a6f5214-763f-419b-e728-4da8d67d3f86"
},
"outputs": [],
"source": [
"cell_type": "code",
"execution_count": null,
"metadata": {
- "id": "bcnWXRGmJLRf"
+ "colab": {
+ "base_uri": "https://localhost:8080/"
+ },
+ "id": "bcnWXRGmJLRf",
+ "outputId": "1fa19807-54c0-4fc1-8001-d694bcbd627d"
},
"outputs": [],
"source": [
"cell_type": "code",
"execution_count": null,
"metadata": {
- "id": "EHYE0T1VJLRf"
+ "colab": {
+ "base_uri": "https://localhost:8080/",
+ "height": 313
+ },
+ "id": "EHYE0T1VJLRf",
+ "outputId": "8ed90806-6d63-4f9b-8f00-b05520ac30c2"
},
"outputs": [],
"source": [
"cell_type": "code",
"execution_count": null,
"metadata": {
- "id": "0TNPQy5AJLRg"
+ "colab": {
+ "base_uri": "https://localhost:8080/",
+ "height": 1000
+ },
+ "id": "0TNPQy5AJLRg",
+ "outputId": "69ef71ca-e72e-46bd-d455-3e9aca751a6e"
},
"outputs": [],
"source": [
"history = model.fit(\n",
" training_images, \n",
" training_masks,\n",
- " epochs=15,\n",
+ " epochs=100,\n",
" validation_data=(validation_images, validation_masks),\n",
" callbacks=[DisplayCallback()]\n",
")"
"cell_type": "code",
"execution_count": null,
"metadata": {
- "id": "t8IwPQePKUUr"
+ "colab": {
+ "base_uri": "https://localhost:8080/",
+ "height": 1000
+ },
+ "id": "t8IwPQePKUUr",
+ "outputId": "2923bb98-7e15-4fd6-f2a1-a93ce74e4e6e"
},
"outputs": [],
"source": [
