Accordic
/

BiRefNet / BiRefNet_config.py
Accordic's picture ZhengPeng7's picture
Duplicate from ZhengPeng7/BiRefNet
78f81ea
Raw History Blame Contribute Delete
298 Bytes
from transformers import PretrainedConfig
class BiRefNetConfig(PretrainedConfig):
model_type = "SegformerForSemanticSegmentation"
def __init__(
self,
bb_pretrained=False,
**kwargs
):
self.bb_pretrained = bb_pretrained
super().__init__(**kwargs)