diffengine.models.archs
¶ Submodules¶ Package Contents¶ Functions¶
Load IP-Adapter pretrained weights.
Reference to diffusers/loaders/ip_adapter.py. and diffusers/loaders/unet.py.
unet (torch.nn.Module) –
image_projection (torch.nn.Module) –
pretrained_adapter (str) –
subfolder (str) –
weights_name (str) –
None
Process IP-Adapter state dict.
unet (torch.nn.Module) –
image_projection (torch.nn.Module) –
dict
Set IP-Adapter for Unet.
Args:¶unet (nn.Module): The unet to set IP-Adapter.
unet (torch.nn.Module) –
None
Create a PEFT config from a DiffEngine config.
Args:¶config: DiffEngine config.
config (dict) –
peft.PeftConfig
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4