SYMBOL INDEX (49 symbols across 3 files) FILE: briarmbg.py class REBNCONV (line 11) | class REBNCONV(nn.Module): method __init__ (line 12) | def __init__(self, in_ch=3, out_ch=3, dirate=1, stride=1): method forward (line 21) | def forward(self, x): function _upsample_like (line 28) | def _upsample_like(src, tar): class RSU7 (line 34) | class RSU7(nn.Module): method __init__ (line 35) | def __init__(self, in_ch=3, mid_ch=12, out_ch=3, img_size=512): method forward (line 70) | def forward(self, x): class RSU6 (line 116) | class RSU6(nn.Module): method __init__ (line 117) | def __init__(self, in_ch=3, mid_ch=12, out_ch=3): method forward (line 144) | def forward(self, x): class RSU5 (line 183) | class RSU5(nn.Module): method __init__ (line 184) | def __init__(self, in_ch=3, mid_ch=12, out_ch=3): method forward (line 207) | def forward(self, x): class RSU4 (line 240) | class RSU4(nn.Module): method __init__ (line 241) | def __init__(self, in_ch=3, mid_ch=12, out_ch=3): method forward (line 260) | def forward(self, x): class RSU4F (line 287) | class RSU4F(nn.Module): method __init__ (line 288) | def __init__(self, in_ch=3, mid_ch=12, out_ch=3): method forward (line 303) | def forward(self, x): class myrebnconv (line 321) | class myrebnconv(nn.Module): method __init__ (line 322) | def __init__( method forward (line 346) | def forward(self, x): class BriaRMBG (line 350) | class BriaRMBG(nn.Module, PyTorchModelHubMixin): method __init__ (line 351) | def __init__(self, config: dict = {"in_ch": 3, "out_ch": 1}): method forward (line 391) | def forward(self, x): FILE: gradio_demo.py function hooked_unet_forward (line 40) | def hooked_unet_forward(sample, timestep, encoder_hidden_states, **kwargs): function encode_prompt_inner (line 133) | def encode_prompt_inner(txt: str): function encode_prompt_pair (line 154) | def encode_prompt_pair(positive_prompt, negative_prompt): function pytorch2numpy (line 175) | def pytorch2numpy(imgs, quant=True): function numpy2pytorch (line 192) | def numpy2pytorch(imgs): function resize_and_center_crop (line 198) | def resize_and_center_crop(image, target_width, target_height): function resize_without_crop (line 213) | def resize_without_crop(image, target_width, target_height): function run_rmbg (line 220) | def run_rmbg(img, sigma=0.0): function process (line 235) | def process(input_fg, prompt, image_width, image_height, num_samples, se... function process_relight (line 340) | def process_relight(input_fg, prompt, image_width, image_height, num_sam... class BGSource (line 372) | class BGSource(Enum): FILE: gradio_demo_bg.py function hooked_unet_forward (line 40) | def hooked_unet_forward(sample, timestep, encoder_hidden_states, **kwargs): function encode_prompt_inner (line 133) | def encode_prompt_inner(txt: str): function encode_prompt_pair (line 154) | def encode_prompt_pair(positive_prompt, negative_prompt): function pytorch2numpy (line 175) | def pytorch2numpy(imgs, quant=True): function numpy2pytorch (line 192) | def numpy2pytorch(imgs): function resize_and_center_crop (line 198) | def resize_and_center_crop(image, target_width, target_height): function resize_without_crop (line 213) | def resize_without_crop(image, target_width, target_height): function run_rmbg (line 220) | def run_rmbg(img, sigma=0.0): function process (line 235) | def process(input_fg, input_bg, prompt, image_width, image_height, num_s... function process_relight (line 327) | def process_relight(input_fg, input_bg, prompt, image_width, image_heigh... function process_normal (line 335) | def process_normal(input_fg, input_bg, prompt, image_width, image_height... class BGSource (line 396) | class BGSource(Enum): function bg_gallery_selected (line 459) | def bg_gallery_selected(gal, evt: gr.SelectData):