segvol / config_segvol.py
yuxin
add processor
84e7143
raw
history blame
406 Bytes
from transformers import PretrainedConfig
class SegVolConfig(PretrainedConfig):
model_type = "segvol"
def __init__(
self,
test_mode=True,
test_w_zoom=False,
**kwargs,
):
self.spatial_size = [32, 256, 256]
self.patch_size = [4, 16, 16]
self.test_mode = test_mode
self.test_w_zoom = test_w_zoom
super().__init__(**kwargs)