Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

合成的图片不遵循具体的输入文本,感觉有点像乱码 #1

@jaycecd

Description

@jaycecd

你好,发现Windows平台使用当前版本的StyleText,依照使用教程中给出的指令:
python3 tools/synth_image.py -c configs/config.yml --style_image examples/style_images/2.jpg --text_corpus PaddleOCR --language en
生成的图片几乎是不可用的:
fake_text:
fake_text
fake_fusion:
fake_fusion
但使用之前集成在paddleOCR(2.5.0.3,cuda 10.2, cudnn 7.6)中的StyleText能够正常生成。
请问这是什么问题?
(pdocr_2.5.0.3) D:\StyleText-new>python tools/synth_image.py -c configs/config.yml --style_image examples/style_images/2.jpg --text_corpus PaddleOCR --language en
[2024/09/23 18:49:52] srnet INFO: load pretrained model from style_text_models/bg_generator
[2024/09/23 18:49:54] srnet INFO: load pretrained model from style_text_models/text_generator
[2024/09/23 18:49:54] srnet INFO: load pretrained model from style_text_models/fusion_generator

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions