Skip to content
Merged
Changes from 1 commit
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
8 changes: 4 additions & 4 deletions examples/07-advanced-modeling.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@
},
"outputs": [],
"source": [
"!apt-get -y install libopenjp2-7-dev libopenjp2-tools openslide-tools | tail --line 1\n",
"!pip install tiatoolbox | tail --line 1\n",
"!apt-get -y install libopenjp2-7-dev libopenjp2-tools openslide-tools | tail -n 1\n",
"!pip install tiatoolbox | tail -n 1\n",
"\n",
"print(\"Installation is done.\")"
]
Expand All @@ -94,11 +94,11 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
"ON_GPU = True # Set `ON_GPU=True` if cuda-enabled GPU is availabe,\n",
"ON_GPU = True # Set `ON_GPU` ti `True` if cuda-enabled GPU is available,\n",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ON_GPU to True?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since the notebook crashes without GPU, I rewrote this saying that ON_GPU = False is not allowed. Some other notebooks have been written so that they still run successfully, though slowly, without GPU. But that is not the case here.

" # and otherwise to `False`."
]
},
Expand Down