Skip to content

Instantly share code, notes, and snippets.

@jalotra
Created June 22, 2024 06:54
Show Gist options
  • Save jalotra/22d6f634a85f1bf6ff88716c67f96c94 to your computer and use it in GitHub Desktop.
Save jalotra/22d6f634a85f1bf6ff88716c67f96c94 to your computer and use it in GitHub Desktop.
{
"2741835855": {
"labels": {
"spinal_canal_stenosis_l1_l2": "Normal/Mild",
"spinal_canal_stenosis_l2_l3": "Normal/Mild",
"spinal_canal_stenosis_l3_l4": "Normal/Mild",
"spinal_canal_stenosis_l4_l5": "Normal/Mild",
"spinal_canal_stenosis_l5_s1": "Normal/Mild",
"left_neural_foraminal_narrowing_l1_l2": "Normal/Mild",
"left_neural_foraminal_narrowing_l2_l3": "Normal/Mild",
"left_neural_foraminal_narrowing_l3_l4": "Normal/Mild",
"left_neural_foraminal_narrowing_l4_l5": "Normal/Mild",
"left_neural_foraminal_narrowing_l5_s1": "Normal/Mild",
"right_neural_foraminal_narrowing_l1_l2": "Normal/Mild",
"right_neural_foraminal_narrowing_l2_l3": "Normal/Mild",
"right_neural_foraminal_narrowing_l3_l4": "Normal/Mild",
"right_neural_foraminal_narrowing_l4_l5": "Normal/Mild",
"right_neural_foraminal_narrowing_l5_s1": "Normal/Mild",
"left_subarticular_stenosis_l1_l2": "Normal/Mild",
"left_subarticular_stenosis_l2_l3": "Normal/Mild",
"left_subarticular_stenosis_l3_l4": "Normal/Mild",
"left_subarticular_stenosis_l4_l5": "Moderate",
"left_subarticular_stenosis_l5_s1": "Normal/Mild",
"right_subarticular_stenosis_l1_l2": "Normal/Mild",
"right_subarticular_stenosis_l2_l3": "Normal/Mild",
"right_subarticular_stenosis_l3_l4": "Normal/Mild",
"right_subarticular_stenosis_l4_l5": "Moderate",
"right_subarticular_stenosis_l5_s1": "Normal/Mild"
},
"2526981653": {
"orientation": "Axial T2",
"images": [
{
"instance_number": "16",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/2526981653/16.dcm"
},
{
"instance_number": "17",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/2526981653/17.dcm"
},
{
"instance_number": "15",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/2526981653/15.dcm"
},
{
"instance_number": "14",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/2526981653/14.dcm"
},
{
"instance_number": "10",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/2526981653/10.dcm"
},
{
"instance_number": "11",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/2526981653/11.dcm"
},
{
"instance_number": "13",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/2526981653/13.dcm"
},
{
"instance_number": "12",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/2526981653/12.dcm"
},
{
"instance_number": "9",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/2526981653/9.dcm"
},
{
"instance_number": "8",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/2526981653/8.dcm"
},
{
"instance_number": "6",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/2526981653/6.dcm"
},
{
"instance_number": "7",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/2526981653/7.dcm"
},
{
"instance_number": "5",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/2526981653/5.dcm"
},
{
"instance_number": "4",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/2526981653/4.dcm"
},
{
"instance_number": "1",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/2526981653/1.dcm"
},
{
"instance_number": "3",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/2526981653/3.dcm"
},
{
"instance_number": "2",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/2526981653/2.dcm"
},
{
"instance_number": "23",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/2526981653/23.dcm"
},
{
"instance_number": "22",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/2526981653/22.dcm"
},
{
"instance_number": "20",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/2526981653/20.dcm"
},
{
"instance_number": "21",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/2526981653/21.dcm"
},
{
"instance_number": "19",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/2526981653/19.dcm"
},
{
"instance_number": "18",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/2526981653/18.dcm"
}
],
"labels": [
{
"condition": "Right Subarticular Stenosis",
"level": "L1/L2",
"x_coor": "295.0437317784257",
"y_coor": "328.39650145772595",
"instance_number": "2"
},
{
"condition": "Left Subarticular Stenosis",
"level": "L2/L3",
"x_coor": "356.63265306122446",
"y_coor": "327.032967032967",
"instance_number": "5"
},
{
"condition": "Right Subarticular Stenosis",
"level": "L2/L3",
"x_coor": "300.6413994169096",
"y_coor": "323.731778425656",
"instance_number": "6"
},
{
"condition": "Right Subarticular Stenosis",
"level": "L3/L4",
"x_coor": "300.6413994169096",
"y_coor": "315.33527696793004",
"instance_number": "11"
},
{
"condition": "Right Subarticular Stenosis",
"level": "L4/L5",
"x_coor": "303.44023323615164",
"y_coor": "315.33527696793004",
"instance_number": "16"
},
{
"condition": "Right Subarticular Stenosis",
"level": "L5/S1",
"x_coor": "306.2390670553936",
"y_coor": "314.4023323615161",
"instance_number": "21"
}
]
},
"446967859": {
"orientation": "Sagittal T2/STIR",
"images": [
{
"instance_number": "15",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/446967859/15.dcm"
},
{
"instance_number": "14",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/446967859/14.dcm"
},
{
"instance_number": "10",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/446967859/10.dcm"
},
{
"instance_number": "11",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/446967859/11.dcm"
},
{
"instance_number": "13",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/446967859/13.dcm"
},
{
"instance_number": "12",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/446967859/12.dcm"
},
{
"instance_number": "9",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/446967859/9.dcm"
},
{
"instance_number": "8",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/446967859/8.dcm"
},
{
"instance_number": "6",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/446967859/6.dcm"
},
{
"instance_number": "7",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/446967859/7.dcm"
},
{
"instance_number": "5",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/446967859/5.dcm"
},
{
"instance_number": "4",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/446967859/4.dcm"
},
{
"instance_number": "1",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/446967859/1.dcm"
},
{
"instance_number": "3",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/446967859/3.dcm"
},
{
"instance_number": "2",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/446967859/2.dcm"
}
],
"labels": [
{
"condition": "Spinal Canal Stenosis",
"level": "L5/S1",
"x_coor": "157.81864363262912",
"y_coor": "215.2147444126565",
"instance_number": "8"
}
]
},
"1695519933": {
"orientation": "Sagittal T1",
"images": [
{
"instance_number": "15",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/1695519933/15.dcm"
},
{
"instance_number": "14",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/1695519933/14.dcm"
},
{
"instance_number": "10",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/1695519933/10.dcm"
},
{
"instance_number": "11",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/1695519933/11.dcm"
},
{
"instance_number": "13",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/1695519933/13.dcm"
},
{
"instance_number": "12",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/1695519933/12.dcm"
},
{
"instance_number": "9",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/1695519933/9.dcm"
},
{
"instance_number": "8",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/1695519933/8.dcm"
},
{
"instance_number": "6",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/1695519933/6.dcm"
},
{
"instance_number": "7",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/1695519933/7.dcm"
},
{
"instance_number": "5",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/1695519933/5.dcm"
},
{
"instance_number": "4",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/1695519933/4.dcm"
},
{
"instance_number": "1",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/1695519933/1.dcm"
},
{
"instance_number": "3",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/1695519933/3.dcm"
},
{
"instance_number": "2",
"path": "/Users/jalotra/code/kaggle/data/train_images/2741835855/1695519933/2.dcm"
}
],
"labels": [
{
"condition": "Right Neural Foraminal Narrowing",
"level": "L5/S1",
"x_coor": "178.23119777158774",
"y_coor": "252.07799442896936",
"instance_number": "5"
},
{
"condition": "Left Neural Foraminal Narrowing",
"level": "L5/S1",
"x_coor": "177.86307053941908",
"y_coor": "254.40663900414938",
"instance_number": "11"
}
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment