mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Remove redundant IPAdapterXL class.
This commit is contained in:
@ -41,6 +41,8 @@ class ImageProjModel(torch.nn.Module):
|
||||
|
||||
|
||||
class IPAdapter:
|
||||
"""IP-Adapter: https://arxiv.org/pdf/2308.06721.pdf"""
|
||||
|
||||
def __init__(self, unet: UNet2DConditionModel, image_encoder_path, ip_ckpt, device, num_tokens=4):
|
||||
self._unet = unet
|
||||
self.device = device
|
||||
@ -129,12 +131,6 @@ class IPAdapter:
|
||||
attn_processor.scale = scale
|
||||
|
||||
|
||||
class IPAdapterXL(IPAdapter):
|
||||
"""SDXL"""
|
||||
|
||||
pass
|
||||
|
||||
|
||||
class IPAdapterPlus(IPAdapter):
|
||||
"""IP-Adapter with fine-grained features"""
|
||||
|
||||
|
Reference in New Issue
Block a user