Skip to content

Commit

Permalink
cnn architecture Lenet
Browse files Browse the repository at this point in the history
  • Loading branch information
Diwakar-Gupta committed Jul 1, 2022
1 parent 657623d commit 412aff9
Showing 1 changed file with 32 additions and 1 deletion.
33 changes: 32 additions & 1 deletion 22-07-01-CNN_Art/Lenet.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,37 @@
"id": "K0sSgq0LmYQZ"
}
},
{
"cell_type": "markdown",
"source": [
"Try on https://www.kaggle.com/datasets/jehanbhathena/weather-dataset\n",
"\n",
"```\n",
"train_ds = keras.preprocessing.image_dataset_from_directory(\n",
" DATASET_PATH,\n",
" validation_split = 0.3,\n",
" label_mode = 'categorical',\n",
" image_size=IMAGE_SIZE,\n",
" batch_size = BATCH_SIZE,\n",
" subset = 'training',\n",
" seed=49,\n",
")\n",
"\n",
"val_ds = keras.preprocessing.image_dataset_from_directory(\n",
" DATASET_PATH,\n",
" validation_split = 0.3,\n",
" label_mode = 'categorical',\n",
" image_size=IMAGE_SIZE,\n",
" batch_size = BATCH_SIZE,\n",
" subset = 'validation',\n",
" seed=49,\n",
")\n",
"```"
],
"metadata": {
"id": "AIegmOD5xGR8"
}
},
{
"cell_type": "code",
"execution_count": null,
Expand All @@ -332,7 +363,7 @@
"colab": {
"name": "April Lenet.ipynb",
"provenance": [],
"authorship_tag": "ABX9TyPXsacw25mpJynTAo9gg2C4",
"authorship_tag": "ABX9TyP+tNxj6fbSHmhoE9danoSO",
"include_colab_link": true
},
"gpuClass": "standard",
Expand Down

0 comments on commit 412aff9

Please sign in to comment.