from transformers import PretrainedConfig | |
class SegVolConfig(PretrainedConfig): | |
model_type = "segvol" | |
def __init__( | |
self, | |
**kwargs, | |
): | |
self.spatial_size = [32, 256, 256] | |
self.patch_size = [4, 16, 16] | |
self.test_mode = True | |
super().__init__(**kwargs) | |