yuxin commited on
Commit
e95c4a6
1 Parent(s): 5d7a143
Files changed (1) hide show
  1. model_segvol_single.py +1 -2
model_segvol_single.py CHANGED
@@ -1,5 +1,4 @@
1
  from transformers import PreTrainedModel, PretrainedConfig
2
- from config_segvol import SegVolConfig
3
  import numpy as np
4
  import monai.transforms as transforms
5
 
@@ -15,7 +14,7 @@ class SegVolConfig(PretrainedConfig):
15
  self.patch_size = [4, 16, 16]
16
  self.test_mode = test_mode
17
  super().__init__(**kwargs)
18
-
19
  class SegVolModel(PreTrainedModel):
20
  config_class = SegVolConfig
21
 
 
1
  from transformers import PreTrainedModel, PretrainedConfig
 
2
  import numpy as np
3
  import monai.transforms as transforms
4
 
 
14
  self.patch_size = [4, 16, 16]
15
  self.test_mode = test_mode
16
  super().__init__(**kwargs)
17
+
18
  class SegVolModel(PreTrainedModel):
19
  config_class = SegVolConfig
20