Update briarmbg.py
Browse files- briarmbg.py +1 -1
briarmbg.py
CHANGED
@@ -348,7 +348,7 @@ class myrebnconv(nn.Module):
|
|
348 |
|
349 |
class BriaRMBG(PreTrainedModel):
|
350 |
config_class = RMBGConfig
|
351 |
-
def __init__(self,config):
|
352 |
super().__init__(config)
|
353 |
in_ch = config.in_ch # 3
|
354 |
out_ch = config.out_ch # 1
|
|
|
348 |
|
349 |
class BriaRMBG(PreTrainedModel):
|
350 |
config_class = RMBGConfig
|
351 |
+
def __init__(self,config:RMBGConfig = RMBGConfig()):
|
352 |
super().__init__(config)
|
353 |
in_ch = config.in_ch # 3
|
354 |
out_ch = config.out_ch # 1
|