diffusers
[`Research Project`] Add AnyText: Multilingual Visual Text Generation And Editing
#8998
Merged

[`Research Project`] Add AnyText: Multilingual Visual Text Generation And Editing #8998

a-r-r-o-w merged 130 commits into huggingface:main from mtolgacangoz:Add-AnyText
mtolgacangoz
mtolgacangoz Add initial template
6e8088f6
mtolgacangoz Second template
98c2d6ed
mtolgacangoz feat: Add TextEmbeddingModule to AnyTextPipeline
867bbbfd
mtolgacangoz feat: Add AuxiliaryLatentModule template to AnyTextPipeline
8818372d
mtolgacangoz Merge branch 'main' into Add-AnyText
37c46d8b
mtolgacangoz Add bert tokenizer from the anytext repo for now
64c63ebd
mtolgacangoz feat: Update AnyTextPipeline's modify_prompt method
92f8b792
mtolgacangoz Fill in the `forward` pass of `AuxiliaryLatentModule`
e9c688c0
mtolgacangoz `make style && make quality`
42a41d01
mtolgacangoz `chore: Update bert_tokenizer.py with a TODO comment suggesting the u…
9d50f808
mtolgacangoz Merge branch 'main' into Add-AnyText
22aa69a3
mtolgacangoz Update error handling to raise and logging
5e1e515a
mtolgacangoz Add `create_glyph_lines` function into `TextEmbeddingModule`
2d10f0c2
mtolgacangoz make style
bc197a93
mtolgacangoz Up
e52d8cce
mtolgacangoz Up
8c69d83c
mtolgacangoz Up
4a413aab
mtolgacangoz Up
571608be
mtolgacangoz Merge branch 'main' into Add-AnyText
2b1b50db
mtolgacangoz Remove several comments
a7d025f7
mtolgacangoz refactor: Remove ControlNetConditioningEmbedding and update code acco…
d2c5a65e
mtolgacangoz Merge branch 'main' into Add-AnyText
c1f538c0
mtolgacangoz Up
2607b6b8
mtolgacangoz Up
a9fe4a05
mtolgacangoz up
567f553c
mtolgacangoz refactor: Update AnyTextPipeline to include new optional parameters
a9991d05
mtolgacangoz Merge branch 'main' into Add-AnyText
e69c51e3
mtolgacangoz up
91252e03
mtolgacangoz Merge branch 'main' into Add-AnyText
e54f876f
mtolgacangoz feat: Add OCR model and its components
b9164e3e
mtolgacangoz chore: Update `TextEmbeddingModule` to include OCR model components a…
cd4c9c22
mtolgacangoz chore: Update `AuxiliaryLatentModule` to include VAE model and its de…
0918cbd8
mtolgacangoz `make style`
37ae99fa
mtolgacangoz Merge branch 'main' into Add-AnyText
15fd4df8
mtolgacangoz Merge branch 'main' into Add-AnyText
2e40224a
mtolgacangoz refactor: Update `AnyTextPipeline`'s docstring
b475a3b6
mtolgacangoz Update `AuxiliaryLatentModule` to include info dictionary so that tex…
ea957f08
mtolgacangoz simplify
cc0c6e59
mtolgacangoz `make style`
52fb0b4d
mtolgacangoz Merge branch 'main' into Add-AnyText
187473d8
mtolgacangoz Converting `TextEmbeddingModule` to ordinary `encode_prompt()` function
9dd4ee90
mtolgacangoz Simplify for now
7dbd4bc4
mtolgacangoz `make style`
f4224234
mtolgacangoz Merge branch 'main' into Add-AnyText
62bb2a05
mtolgacangoz Up
84660095
mtolgacangoz feat: Add scripts to convert AnyText controlnet to diffusers
2b4be7a7
mtolgacangoz Merge branch 'main' into Add-AnyText
d4718fd9
mtolgacangoz `make style`
1cdbb55a
mtolgacangoz Fix: Move glyph rendering to `TextEmbeddingModule` from `AuxiliaryLat…
da67ff7b
mtolgacangoz make style
af30f0f6
mtolgacangoz Up
a8dbbe20
mtolgacangoz Merge branch 'main' of github.com:huggingface/diffusers into Add-AnyText
12fca1ce
mtolgacangoz Merge branch 'main' into Add-AnyText
bbfe8f2f
mtolgacangoz Simplify
936c2ff6
mtolgacangoz Merge branch 'main' into Add-AnyText
73d81444
mtolgacangoz Up
cffa0361
mtolgacangoz feat: Add safetensors module for loading model file
8b43bc34
mtolgacangoz
mtolgacangoz Fix device issues
f60a72bf
mtolgacangoz Up
be4a319b
mtolgacangoz Merge branch 'main' into Add-AnyText
18d3f608
mtolgacangoz Up
f7131713
mtolgacangoz merge
da9adbb6
mtolgacangoz Merge branch 'main' into Add-AnyText
fdf0275a
mtolgacangoz refactor: Simplify
f347ff2e
mtolgacangoz refactor: Simplify code for loading models and handling data types
d52e9737
mtolgacangoz `make style`
a3b493f8
mtolgacangoz Merge branch 'main' into Add-AnyText
020074ab
mtolgacangoz refactor: Update to() method in FrozenCLIPEmbedderT3 and TextEmbeddin…
4267c848
mtolgacangoz refactor: Update dtype in embedding_manager.py to match proj.weight
ab512260
mtolgacangoz Merge branch 'main' of github.com:huggingface/diffusers
c961a96c
mtolgacangoz Merge branch 'main' into Add-AnyText
3873d02e
mtolgacangoz Merge branch 'main' of github.com:huggingface/diffusers
5041d400
mtolgacangoz Up
1521e8f5
mtolgacangoz Merge branch 'main' into Add-AnyText
1aa17bbb
mtolgacangoz Merge branch 'main' into Add-AnyText
c13c61d3
a-r-r-o-w
mtolgacangoz
mtolgacangoz Merge branch 'main' into Add-AnyText
1d18f1d7
mtolgacangoz Merge branch 'main' into Add-AnyText
44a3a70a
mtolgacangoz Add attribution and adaptation information to pipeline_anytext.py
56992d11
mtolgacangoz Update usage example
7ad68658
mtolgacangoz Will refactor `controlnet_cond_embedding` initialization
a5edca5d
mtolgacangoz Merge branch 'main' into Add-AnyText
48e88eb9
mtolgacangoz Add `AnyTextControlNetConditioningEmbedding` template
2f42e402
mtolgacangoz Refactor organization
670fef5d
mtolgacangoz style
930c37ad
mtolgacangoz Merge branch 'main' into Add-AnyText
923da7b9
mtolgacangoz style
21c0c35d
mtolgacangoz Move custom blocks from `AuxiliaryLatentModule` to `AnyTextControlNet…
c4db96a3
mtolgacangoz Merge branch 'main' into Add-AnyText
e2e7160c
mtolgacangoz Merge branch 'main' into Add-AnyText
4335ebda
mtolgacangoz Follow one-file policy
6bd0b4cd
mtolgacangoz style
b3f98a77
HuggingFaceDocBuilderDev
github-actions
github-actions github-actions added stale
mtolgacangoz Merge branch 'main' into Add-AnyText
cccf0f48
mtolgacangoz Merge branch 'main' into Add-AnyText
b5856a67
mtolgacangoz Merge branch 'main' into Add-AnyText
b04d015e
github-actions github-actions removed stale
mtolgacangoz Merge branch 'main' into Add-AnyText
67f8839c
mtolgacangoz Merge branch 'main' into Add-AnyText
d75508eb
mtolgacangoz [Docs] Update README and pipeline_anytext.py to use AnyTextControlNet…
75a0f1f6
mtolgacangoz [Docs] Update import statement for AnyTextControlNetModel in pipeline…
d3dcf57f
mtolgacangoz [Fix] Update import path for ControlNetModel, ControlNetOutput in any…
963fac0b
mtolgacangoz Merge branch 'main' of github.com:huggingface/diffusers into Add-AnyText
0c941437
mtolgacangoz Refactor AnyTextControlNet to use configurable conditioning embedding…
2b6f08ba
mtolgacangoz Merge branch 'main' into Add-AnyText
971d6ad8
mtolgacangoz Complete control net conditioning embedding in AnyTextControlNetModel
9c43a652
github-actions
github-actions github-actions added stale
mtolgacangoz Merge branch 'main' into Add-AnyText
d46ac3e8
asomoza
mtolgacangoz
github-actions github-actions removed stale
mtolgacangoz Merge branch 'main' into Add-AnyText
2ffb80b2
mtolgacangoz up
b8ca0d67
mtolgacangoz [FIX] Ensure embeddings use correct device in AnyTextControlNetModel
9657980a
mtolgacangoz up
25ea8be7
mtolgacangoz up
2be7bca1
mtolgacangoz style
0fc4aabe
mtolgacangoz [UPDATE] Revise README and example code for AnyTextPipeline integrati…
5345702d
mtolgacangoz [UPDATE] Update example code in anytext.py to use correct font file a…
5b73a1d9
mtolgacangoz down
7f87755d
mtolgacangoz [UPDATE] Refactor BasicTokenizer usage to a new Checker class for tex…
61693a58
mtolgacangoz update pillow
3b2435fd
mtolgacangoz [UPDATE] Remove commented-out code and unnecessary docstring in anyte…
3ea49c15
mtolgacangoz [REMOVE] Delete frozen_clip_embedder_t3.py as it is in the anytext.py…
299a646d
mtolgacangoz [UPDATE] Replace edict with dict for configuration in anytext.py and …
0d44b5ba
mtolgacangoz 🆙
13b7ecf2
mtolgacangoz style
d5a6e5f0
mtolgacangoz [UPDATE] Revise README.md for clarity, remove unused imports in anyte…
09fdd222
mtolgacangoz Merge branch 'main' into Add-AnyText
f8f5edd0
mtolgacangoz style
9495ddb9
mtolgacangoz mtolgacangoz marked this pull request as ready for review 1 year ago
mtolgacangoz Merge branch 'main' into Add-AnyText
13ab2485
mtolgacangoz
asomoza
a-r-r-o-w
a-r-r-o-w approved these changes on 2025-03-01
a-r-r-o-w a-r-r-o-w requested a review from yiyixuxu yiyixuxu 1 year ago
mtolgacangoz Update examples/research_projects/anytext/README.md
f4abaf21
mtolgacangoz Remove commented-out image preparation code in AnyTextPipeline
8d313bce
mtolgacangoz Remove unnecessary blank line in README.md
d02615f1
mtolgacangoz mtolgacangoz requested a review from a-r-r-o-w a-r-r-o-w 1 year ago
mtolgacangoz Merge branch 'main' into Add-AnyText
52aa9241
mtolgacangoz Merge branch 'main' into Add-AnyText
78447b2f
mtolgacangoz Merge branch 'main' into Add-AnyText
3e3f9724
a-r-r-o-w
a-r-r-o-w approved these changes on 2025-03-10
a-r-r-o-w a-r-r-o-w merged b88fef47 into main 1 year ago
mtolgacangoz
mtolgacangoz mtolgacangoz deleted the Add-AnyText branch 1 year ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone