Skip to content

Commit 6f075a1

Browse files
committed
Add TransCheX Tutorial
Signed-off-by: ahatamizadeh <ahatamizadeh@nvidia.com>
1 parent fa25b23 commit 6f075a1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

multimodal/openi_multilabel_classification_transchex/Transchex_OpenI_multilabel_classification.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
},
6565
{
6666
"cell_type": "code",
67-
"execution_count": 2,
67+
"execution_count": 13,
6868
"metadata": {},
6969
"outputs": [],
7070
"source": [
@@ -84,7 +84,7 @@
8484
},
8585
{
8686
"cell_type": "code",
87-
"execution_count": 3,
87+
"execution_count": 14,
8888
"metadata": {},
8989
"outputs": [
9090
{
@@ -126,7 +126,6 @@
126126
"from PIL import Image\n",
127127
"from torchvision import transforms\n",
128128
"from sklearn.metrics.ranking import roc_auc_score\n",
129-
"\n",
130129
"from monai.optimizers.lr_scheduler import WarmupCosineSchedule\n",
131130
"from monai.networks.nets import Transchex\n",
132131
"from monai.config import print_config\n",
@@ -169,6 +168,7 @@
169168
"from torch.utils.data import Dataset, DataLoader\n",
170169
"from transformers import BertTokenizer\n",
171170
"\n",
171+
"\n",
172172
"class MultiModalDataset(Dataset):\n",
173173
" def __init__(self, dataframe, tokenizer, parent_dir, max_seq_length=512):\n",
174174
" self.max_seq_length = max_seq_length\n",

0 commit comments

Comments
 (0)