mirror of
https://www.modelscope.cn/AI-ModelScope/RMBG-2.0.git
synced 2026-04-02 11:02:56 +08:00
Update README.md
This commit is contained in:
11
BiRefNet_config.py
Normal file
11
BiRefNet_config.py
Normal file
@ -0,0 +1,11 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user