Skip to content

Commit f285e0b

Browse files
committed
update hugging face tutorials
Signed-off-by: binliu <[email protected]>
1 parent 004a5d2 commit f285e0b

File tree

2 files changed

+869
-6
lines changed

2 files changed

+869
-6
lines changed

hugging_face/finetune_vista3d_for_hugging_face_pipeline.ipynb

Lines changed: 866 additions & 0 deletions
Large diffs are not rendered by default.

hugging_face/hugging_face_pipeline_for_monai.ipynb

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"metadata": {},
2929
"outputs": [],
3030
"source": [
31-
"!!python -c \"import monai\" || pip install -q 'monai[transformers,skimage,transformers]'"
31+
"!python -c \"import monai\" || pip install -q 'monai[transformers,skimage,nibabel]'"
3232
]
3333
},
3434
{
@@ -84,9 +84,7 @@
8484
"source": [
8585
"## Setup Data Directory\n",
8686
"\n",
87-
"You can specify a directory with the `MONAI_DATA_DIRECTORY` environment variable. \n",
88-
"This allows you to save results and reuse downloads. \n",
89-
"If not specified a temporary directory will be used."
87+
"You can specify a directory with the `MONAI_DATA_DIRECTORY` environment variable. This allows you to save results and reuse downloads. If not specified a temporary directory will be used."
9088
]
9189
},
9290
{
@@ -108,8 +106,7 @@
108106
"source": [
109107
"## Download Dataset\n",
110108
"\n",
111-
"Downloads and extracts the dataset. \n",
112-
"The dataset comes from http://medicaldecathlon.com/."
109+
"Downloads and extracts the dataset. The dataset comes from http://medicaldecathlon.com/."
113110
]
114111
},
115112
{

0 commit comments

Comments
 (0)