Skip to content

Commit

Permalink
added lines to the tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
EliHei2 committed Sep 24, 2024
1 parent 0184f3d commit bf9ce8e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/notebooks/segger_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": null,
"id": "4db89cb4-d0eb-426a-a71f-d127926fa412",
"metadata": {
"execution": {
Expand Down Expand Up @@ -270,6 +270,11 @@
"\n",
"dm.setup()\n",
"\n",
"\n",
"# if you wish to use more than 1 device for training you should run this:\n",
"batch = dm.train[0]\n",
"ls.forward(batch)\n",
"\n",
"# Initialize the Lightning trainer\n",
"trainer = Trainer(\n",
" accelerator='cuda', \n",
Expand Down

0 comments on commit bf9ce8e

Please sign in to comment.