Skip to content
Merged
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
9 changes: 8 additions & 1 deletion computer_assisted_intervention/video_seg.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,14 @@
"source": [
"## Normal training loop\n",
"\n",
"A normal training loop will be excuted. Meanwhile, the iou value of each epoch will be recorded as the accuracy."
"A normal training loop will be excuted. Meanwhile, the iou value of each epoch will be recorded as the accuracy. \n",
"There is a pretrained bundle for surgical tool segmentation task in the MONAI model-zoo, the model can be automatically downloaded and loaded to the network by adding codes to the block below:\n",
"```\n",
"pretrained_weights = monai.bundle.load(\n",
" name=\"surgical_tool_segmentation\", bundle_dir=\"./\", version=\"0.2.0\"\n",
")\n",
"model.load_state_dict(pretrained_weights)\n",
"```"
]
},
{
Expand Down