"...multigpu/git@developer.sourcefind.cn:OpenDAS/dgl.git" did not exist on "1b5c02c16cfd10e84e6b5d2c9f1f11094d82d620"
Unverified Commit d38c50c8 authored by 高佳宝's avatar 高佳宝 Committed by GitHub
Browse files

Update ip_adapter.py (#8882)

update comments of load_ip_adapter function
parent e2559207
...@@ -74,7 +74,7 @@ class IPAdapterMixin: ...@@ -74,7 +74,7 @@ class IPAdapterMixin:
list is passed, it should have the same length as `weight_name`. list is passed, it should have the same length as `weight_name`.
weight_name (`str` or `List[str]`): weight_name (`str` or `List[str]`):
The name of the weight file to load. If a list is passed, it should have the same length as The name of the weight file to load. If a list is passed, it should have the same length as
`weight_name`. `subfolder`.
image_encoder_folder (`str`, *optional*, defaults to `image_encoder`): image_encoder_folder (`str`, *optional*, defaults to `image_encoder`):
The subfolder location of the image encoder within a larger model repository on the Hub or locally. The subfolder location of the image encoder within a larger model repository on the Hub or locally.
Pass `None` to not load the image encoder. If the image encoder is located in a folder inside Pass `None` to not load the image encoder. If the image encoder is located in a folder inside
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment