Skip to content

Commit

Permalink
added pytorch installation check
Browse files Browse the repository at this point in the history
  • Loading branch information
jo-mueller committed Aug 19, 2024
1 parent d2b51dd commit b1fc29e
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/johannes_mueller/yolo_from_omero/train_yolo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,23 @@
"from sklearn.model_selection import train_test_split"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"We check whether pytorch has been installed correctly:"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"import torch\n",
"torch.cuda.is_available()"
]
},
{
"cell_type": "code",
"execution_count": 54,
Expand Down

0 comments on commit b1fc29e

Please sign in to comment.