Chris Oswald commited on
Commit
7fc1061
1 Parent(s): 612809d
SPIDER.py CHANGED
@@ -65,9 +65,12 @@ MAX_IVD = 9
65
  DEFAULT_SCAN_TYPES = ['t1', 't2', 't2_SPACE']
66
  DEFAULT_RESIZE = (512, 512, 30)
67
  DEMO_SUBSET_N = 10
68
- with open("var_types.json", "r") as io:
 
 
 
69
  VAR_TYPES = json.load(io)
70
-
71
  _CITATION = """\
72
  @misc{vandergraaf2023lumbar,
73
  title={Lumbar spine segmentation in MR images: a dataset and a public benchmark},
 
65
  DEFAULT_SCAN_TYPES = ['t1', 't2', 't2_SPACE']
66
  DEFAULT_RESIZE = (512, 512, 30)
67
  DEMO_SUBSET_N = 10
68
+
69
+ # Import variable types
70
+ var_types_path = os.path.join(os.getcwd(), "TextFiles", "var_types.json")
71
+ with open(var_types_path, "r") as io:
72
  VAR_TYPES = json.load(io)
73
+
74
  _CITATION = """\
75
  @misc{vandergraaf2023lumbar,
76
  title={Lumbar spine segmentation in MR images: a dataset and a public benchmark},
var_types.json → TextFiles/var_types.json RENAMED
File without changes