-
Notifications
You must be signed in to change notification settings - Fork 26
Description
We want to test this model on Google Colab, but at the beginning of the execution, when it comes to reorienting the support image, we crashed! Can you help us run this model on Colab?
code block
CUDA_VISIBLE_DEVICES=0 python MedLAM_Inference.py --config_file config/test_config/test_structseg_medlam.txt
error
data support_image_ls config/data/StructSeg_HaN/support_image.txt config/data/StructSeg_HaN/support_image.txt
data support_label_ls config/data/StructSeg_HaN/support_label.txt config/data/StructSeg_HaN/support_label.txt
data query_image_ls config/data/StructSeg_HaN/query_image.txt config/data/StructSeg_HaN/query_image.txt
data query_label_ls config/data/StructSeg_HaN/query_label.txt config/data/StructSeg_HaN/query_label.txt
data gt_slice_threshold 10 10
data fg_class [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22] [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22]
weight medlam_load_path checkpoint/medlam.pth checkpoint/medlam.pth
data support_image_ls config/data/StructSeg_HaN/support_image.txt config/data/StructSeg_HaN/support_image.txt
data support_label_ls config/data/StructSeg_HaN/support_label.txt config/data/StructSeg_HaN/support_label.txt
data query_image_ls config/data/StructSeg_HaN/query_image.txt config/data/StructSeg_HaN/query_image.txt
data query_label_ls config/data/StructSeg_HaN/query_label.txt config/data/StructSeg_HaN/query_label.txt
data gt_slice_threshold 10 10
data fg_class [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22] [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22]
weight medlam_load_path checkpoint/medlam.pth checkpoint/medlam.pth
=> loading medlam checkpoint 'checkpoint/medlam.pth'
=> loaded medlam checkpoint 'checkpoint/medlam.pth'
Loading support class: 1 0% 0/5 [00:00<?, ?it/s]
The image is not in the target orientation. Reorienting...
The image is not in the target orientation. Reorienting...
^C