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

where/ what is font_dir #4

Open
nisargshah1999 opened this issue Dec 29, 2023 · 3 comments
Open

where/ what is font_dir #4

nisargshah1999 opened this issue Dec 29, 2023 · 3 comments

Comments

@nisargshah1999
Copy link

In text_cfg.yaml, line 11 requires, font_dir
where is it and what should be included in it
Would be great if you could share details

Thanks

@ecnuljzhang
Copy link
Owner

You can download some true type font to the font dir. I'll show you mine.
For example, in English font dir, I got:
image
In Chinese font dir, I got:
image

@nisargshah1999
Copy link
Author

nisargshah1999 commented Dec 30, 2023

Thanks for sharing the detailed response,
Also, to replicate results or understand your prompting methods, on what to write it at
Line 11 "inference:
prompts_path: "./prompts.txt" # path of prompts"
can you share your prompt.txt or sample prompt.txt..
what to write, does '[...]' as shown in the figure need to be there?
Thanks

@ecnuljzhang
Copy link
Owner

In our paper, it is shown that the input is divided into text input and prompt input. This implies that the prompt is preferably devoid of the text's content and should solely encompass a description of the scene. For instance, "a welcome sign of an international conference." It's crucial to note that the prompt should include predefined keywords, such as "sign," "billboard," and so on. For specifics, please refer to the Experimental Settings subsection in our paper."

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

2 participants