mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
flake8
This commit is contained in:
parent
a255624984
commit
50a0691514
@ -1,9 +1,7 @@
|
|||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
import dataclasses
|
|
||||||
import inspect
|
|
||||||
from contextlib import nullcontext
|
from contextlib import nullcontext
|
||||||
from dataclasses import dataclass, field
|
from dataclasses import dataclass
|
||||||
from typing import Any, Callable, List, Optional, Union
|
from typing import Any, Callable, List, Optional, Union
|
||||||
|
|
||||||
import einops
|
import einops
|
||||||
|
@ -55,11 +55,11 @@ class PostprocessingSettings:
|
|||||||
class IPAdapterConditioningInfo:
|
class IPAdapterConditioningInfo:
|
||||||
cond_image_prompt_embeds: torch.Tensor
|
cond_image_prompt_embeds: torch.Tensor
|
||||||
"""IP-Adapter image encoder conditioning embeddings.
|
"""IP-Adapter image encoder conditioning embeddings.
|
||||||
Shape: (batch_size, num_tokens, encoding_dim). Typically: (1, 4, 1024) TODO(ryand): confirm
|
Shape: (batch_size, num_tokens, encoding_dim).
|
||||||
"""
|
"""
|
||||||
uncond_image_prompt_embeds: torch.Tensor
|
uncond_image_prompt_embeds: torch.Tensor
|
||||||
"""IP-Adapter image encoding embeddings to use for unconditional generation.
|
"""IP-Adapter image encoding embeddings to use for unconditional generation.
|
||||||
Shape: (batch_size, num_tokens, encoding_dim). Typically: (1, 4, 1024) TODO(ryand): confirm
|
Shape: (batch_size, num_tokens, encoding_dim).
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user