Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to finish Scene Text Editing task using Pix2Pix #1641

Open
keepcoding123 opened this issue Mar 30, 2024 · 0 comments
Open

How to finish Scene Text Editing task using Pix2Pix #1641

keepcoding123 opened this issue Mar 30, 2024 · 0 comments

Comments

@keepcoding123
Copy link

keepcoding123 commented Mar 30, 2024

I want to finish Scene Text Editing task using Pix2Pix, just like this:

Snipaste_2024-03-30_17-46-50

It is a figure from Editing Text in The Wild

The author of this article using Pix2Pix to finish Scene Text Editing, and here is the statement:

Snipaste_2024-03-30_17-48-21

But I don’t quite understand the text in the red area.

I have already prepared style image, target text image, and the target style image, just like the following:

Snipaste_2024-03-30_18-02-17

How should I connect the style image and the target text image in depth, and then feed them into Pix2Pix network?

What I have done is as follows:

1.Put style image in /path/to/data/A/train, /path/to/data/A/val, /path/to/data/A/test

2.Put target style image in /path/to/data/B/train, /path/to/data/B/val, /path/to/data/B/test

3.Run python datasets/combine_A_and_B.py --fold_A /path/to/data/A --fold_B /path/to/data/B --fold_AB /path/to/data

I want to know what to do next.

Can someone help me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant