Update Butterfly classification with CNN.ipynb
Browse files
Butterfly classification with CNN.ipynb
CHANGED
@@ -1577,7 +1577,7 @@
|
|
1577 |
"outputs": [],
|
1578 |
"source": [
|
1579 |
"# Save the current weights manually\n",
|
1580 |
-
"model.save('C:/Users/kamel/Documents/Image Classification/
|
1581 |
]
|
1582 |
},
|
1583 |
{
|
@@ -1702,7 +1702,7 @@
|
|
1702 |
"import cv2\n",
|
1703 |
"\n",
|
1704 |
"# Load the trained model\n",
|
1705 |
-
"model_path = 'C:/Users/kamel/Documents/Image Classification/
|
1706 |
"model = load_model(model_path)\n",
|
1707 |
"\n",
|
1708 |
"class_names = ['ADONIS', 'AFRICAN GIANT SWALLOWTAIL', 'AMERICAN SNOOT', 'AN 88', 'APPOLLO', 'ARCIGERA FLOWER MOTH', 'ATALA', 'ATLAS MOTH', 'BANDED ORANGE HELICONIAN', 'BANDED PEACOCK']\n",
|
|
|
1577 |
"outputs": [],
|
1578 |
"source": [
|
1579 |
"# Save the current weights manually\n",
|
1580 |
+
"model.save('C:/Users/kamel/Documents/Image Classification/model_checkpoint_manual_resnet.h5')"
|
1581 |
]
|
1582 |
},
|
1583 |
{
|
|
|
1702 |
"import cv2\n",
|
1703 |
"\n",
|
1704 |
"# Load the trained model\n",
|
1705 |
+
"model_path = 'C:/Users/kamel/Documents/Image Classification/model_checkpoint_manual_resnet.h5'\n",
|
1706 |
"model = load_model(model_path)\n",
|
1707 |
"\n",
|
1708 |
"class_names = ['ADONIS', 'AFRICAN GIANT SWALLOWTAIL', 'AMERICAN SNOOT', 'AN 88', 'APPOLLO', 'ARCIGERA FLOWER MOTH', 'ATALA', 'ATLAS MOTH', 'BANDED ORANGE HELICONIAN', 'BANDED PEACOCK']\n",
|