-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add ability to return raw text embedding and mask, conditionally drop…
…ped out
- Loading branch information
1 parent
01425ec
commit 587eaf6
Showing
3 changed files
with
148 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,14 @@ | ||
from classifier_free_guidance_pytorch.classifier_free_guidance_pytorch import NullConditioner, TextConditioner, AttentionTextConditioner | ||
from classifier_free_guidance_pytorch.classifier_free_guidance_pytorch import classifier_free_guidance, classifier_free_guidance_class_decorator | ||
from classifier_free_guidance_pytorch.classifier_free_guidance_pytorch import ( | ||
NullConditioner, | ||
TextConditioner, | ||
AttentionTextConditioner, | ||
TextEmbeddingReturner | ||
) | ||
|
||
from classifier_free_guidance_pytorch.classifier_free_guidance_pytorch import ( | ||
classifier_free_guidance, | ||
classifier_free_guidance_class_decorator | ||
) | ||
|
||
from classifier_free_guidance_pytorch.open_clip import OpenClipAdapter | ||
from classifier_free_guidance_pytorch.t5 import T5Adapter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters