Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please enter the commit message for your changes. Lines starting #235

Merged
merged 2 commits into from
Mar 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 3 additions & 59 deletions BETA_E_Model_T&T.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# keras/TF model\n",
"# Pytorch model\n",
"<pre>\n",
" Copyright (c) 2024 Aydin Hamedi\n",
" \n",
Expand Down Expand Up @@ -1839,64 +1839,8 @@
"Epoch 1/6\n",
"\u001b[1m256/256\u001b[0m \u001b[32m━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[37m\u001b[0m \u001b[1m196s\u001b[0m 763ms/step - accuracy: 0.8940 - loss: 0.9525 - val_accuracy: 0.9311 - val_loss: 0.7995 - learning_rate: 0.0100\n",
"Epoch 2/6\n",
"\u001b[1m256/256\u001b[0m \u001b[32m━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[37m\u001b[0m \u001b[1m214s\u001b[0m 838ms/step - accuracy: 0.9398 - loss: 0.6879 - val_accuracy: 0.9263 - val_loss: 0.7310 - learning_rate: 0.0100\n",
"Epoch 3/6\n",
"\u001b[1m256/256\u001b[0m \u001b[32m━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[37m\u001b[0m \u001b[1m215s\u001b[0m 840ms/step - accuracy: 0.9526 - loss: 0.5514 - val_accuracy: 0.9407 - val_loss: 0.6102 - learning_rate: 0.0100\n",
"Epoch 4/6\n",
"\u001b[1m256/256\u001b[0m \u001b[32m━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[37m\u001b[0m \u001b[1m193s\u001b[0m 755ms/step - accuracy: 0.9688 - loss: 0.4419 - val_accuracy: 0.9359 - val_loss: 0.5301 - learning_rate: 0.0100\n",
"Epoch 5/6\n",
"\u001b[1m256/256\u001b[0m \u001b[32m━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[37m\u001b[0m \u001b[1m211s\u001b[0m 825ms/step - accuracy: 0.9819 - loss: 0.3328 - val_accuracy: 0.9215 - val_loss: 0.5347 - learning_rate: 0.0100\n",
"Epoch 6/6\n",
"\u001b[1m256/256\u001b[0m \u001b[32m━━━━━━━━━━━━━━━━━━━━\u001b[0m\u001b[37m\u001b[0m \u001b[1m205s\u001b[0m 802ms/step - accuracy: 0.9874 - loss: 0.2614 - val_accuracy: 0.9279 - val_loss: 0.5244 - learning_rate: 0.0100\n",
"\u001b[0;32mSubset training done.\u001b[0m\n",
"\u001b[0;33mLoading the best weights...\u001b[0m\n",
"\u001b[0;33mLoading weights from file cache\\model_SUB_checkpoint-003-0.9407.weights.h5...\u001b[0m\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"WARNING:absl:You are saving your model as an HDF5 file via `model.save()` or `keras.saving.save_model(model)`. This file format is considered legacy. We recommend using instead the native Keras format, e.g. `model.save('my_model.keras')` or `keras.saving.save_model(model, 'my_model.keras')`. \n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"\u001b[0m\u001b[0m\u001b[0;33mModel Test acc: \u001b[0m\u001b[0;32m0.9295\u001b[0m\n",
"\u001b[0m\u001b[0m\u001b[0;33mModel Test loss: \u001b[0m\u001b[0;32m0.5789\u001b[0m\n",
"\u001b[0m\u001b[0m\u001b[0;32mImproved model accuracy from 0.000000 to 0.929487. \u001b[0m\u001b[0;96mSaving model.\u001b[0m\n",
"\u001b[0m\u001b[0m\u001b[0;36mSaving full model H5 format...\u001b[0m\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"WARNING:absl:You are saving your model as an HDF5 file via `model.save()` or `keras.saving.save_model(model)`. This file format is considered legacy. We recommend using instead the native Keras format, e.g. `model.save('my_model.keras')` or `keras.saving.save_model(model, 'my_model.keras')`. \n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"\u001b[0m\u001b[0m\u001b[0;32mImproved model loss from inf to 0.57889193. \u001b[0m\u001b[0;96mSaving model.\u001b[0m\n",
"\u001b[0m\u001b[0m\u001b[0;36mSaving full model H5 format...\u001b[0m\n",
"\u001b[0m\u001b[0m\u001b[0;32m(GPU-MEM)\u001b[0m\u001b[0;36m--<Managed Device 0>--[free: 2.37GB, used: 21.63GB, total, 24.00GB]\u001b[0m\n",
"\u001b[0m\u001b[0m\u001b[0;33mTime taken for epoch(FULL): \u001b[0m\u001b[0;32m1325.25 \u001b[0m\u001b[0;36msec\u001b[0m\n",
"\u001b[0m\u001b[0m\u001b[0;33mTime taken for epoch(SUBo): \u001b[0m\u001b[0;32m1236.58 \u001b[0m\u001b[0;36msec\u001b[0m\n",
"\u001b[0m\u001b[0m\u001b[0;33mTime taken for epoch(OTHERo): \u001b[0m\u001b[0;32m88.66 \u001b[0m\u001b[0;36msec\u001b[0m\n",
"\u001b[0;36m<---------------------------------------|Epoch [1] END|--------------------------------------->\u001b[0m\n",
"\u001b[0m\n",
"\u001b[0m\u001b[0mEpoch: \u001b[0m\u001b[0;36m2\u001b[0m\u001b[0m/\u001b[0m\u001b[0;32m489 (TSEC: 6)\u001b[0m\u001b[0;34m | \u001b[0m\u001b[0;32m[Stage 1]\u001b[0m\n",
"\u001b[0m\u001b[0m\u001b[0;33mTaking a subset of \u001b[0m\u001b[0;32m[|4096|AdvSubset:True]\u001b[0m\u001b[0;33m...\u001b[0m\n",
"\u001b[0;33mPreparing train data...\u001b[0m\n",
"\u001b[0;33m- Augmenting Image Data...\u001b[0m\n",
"\n",
"KeyboardInterrupt. (Training stopped)\n",
"Training done.\n",
"\n"
"\u001b[1m102/256\u001b[0m \u001b[32m━━━━━━━\u001b[0m\u001b[37m━━━━━━━━━━━━━\u001b[0m \u001b[1m1:50\u001b[0m 717ms/step - accuracy: 0.9371 - loss: 0.7039"

]
}
],
Expand Down
4 changes: 0 additions & 4 deletions Exports/V4/EPO_src_Gzip_compressed .md

This file was deleted.

Loading