Skip to content

Commit f8ffd9f

Browse files
Set Training Parameters
1 parent c4b3c6b commit f8ffd9f

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

RhythmAttention_Hybrid_CNN_Transformer_Architecture_for_Arrhythmia_Classification.ipynb

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -565,6 +565,25 @@
565565
" )\n",
566566
"]"
567567
]
568+
},
569+
{
570+
"cell_type": "markdown",
571+
"metadata": {},
572+
"source": [
573+
"## **Set Training Parameters**"
574+
]
575+
},
576+
{
577+
"cell_type": "code",
578+
"execution_count": 13,
579+
"metadata": {},
580+
"outputs": [],
581+
"source": [
582+
"# Set Training Parameters\n",
583+
"BATCH_SIZE = 64\n",
584+
"# Since we use a generator, we define how many steps constitute one epoch\n",
585+
"STEPS_PER_EPOCH = len(X_train) // BATCH_SIZE"
586+
]
568587
}
569588
],
570589
"metadata": {

0 commit comments

Comments
 (0)