Commit 44685f75 authored by Smit Gangurde's avatar Smit Gangurde

Minor changes

parent e436fc71
......@@ -14,6 +14,16 @@
"accelerator": "GPU"
},
"cells": [
{
"cell_type": "markdown",
"metadata": {
"id": "ZzS6OM-yfixt"
},
"source": [
"**Indian Dance Form Recognition using custom CNNs**<br>\n",
"This is a classification problem with 8 classes. In this task, we will be doing 7-fold cross validation on a training set of 364 images. This will be done using varied CNN networks. We will analyse the average accuracies from the cross-validation."
]
},
{
"cell_type": "code",
"metadata": {
......@@ -46,16 +56,13 @@
]
},
{
"cell_type": "code",
"cell_type": "markdown",
"metadata": {
"id": "hhb1KDmXALaF"
"id": "pExcuhZqhHmq"
},
"source": [
"!mkdir helpers\n",
"!touch helpers/__init__.py"
],
"execution_count": null,
"outputs": []
"You need to import the 'helpers' folder, it contains code for cross-validation, etc."
]
},
{
"cell_type": "code",
......@@ -83,37 +90,6 @@
"execution_count": null,
"outputs": []
},
{
"cell_type": "code",
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "mKkJU_yHSim-",
"outputId": "761133a1-4389-4e39-beaf-af864b8ff6d7"
},
"source": [
"import importlib\n",
"importlib.reload(helper)\n",
"importlib.reload(base_model)\n",
"importlib.reload(CV)"
],
"execution_count": null,
"outputs": [
{
"output_type": "execute_result",
"data": {
"text/plain": [
"<module 'helpers.cross_validation' from '/content/helpers/cross_validation.py'>"
]
},
"metadata": {
"tags": []
},
"execution_count": 2
}
]
},
{
"cell_type": "code",
"metadata": {
......@@ -197,7 +173,7 @@
"outputId": "485bce42-02c3-4d07-e2bd-538521c85c21"
},
"source": [
"###############Data Distributions##############\n",
"############### Data Distributions for the 7 folds ##############\n",
"distribution_dict = {}\n",
"ctr = 0\n",
"for i in image_labels:\n",
......@@ -794,6 +770,15 @@
}
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "mwlSHc5Wh4Qy"
},
"source": [
"As we can see, Model1, on average tends to perform relatively better."
]
},
{
"cell_type": "code",
"metadata": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment