segvol / config_segvol.py
yuxin
add model
2fbf9d3
raw
history blame
311 Bytes
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)