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 Inference? #17

Open
yimellia opened this issue Nov 22, 2022 · 4 comments
Open

How to Inference? #17

yimellia opened this issue Nov 22, 2022 · 4 comments

Comments

@yimellia
Copy link

What should be put for arguments --content_font and --img_path?
Is this content_font the same directory as the content_font in build_datasets/build_trainset.sh? Should the directory contains the training content words images?
What should be contained in img_path? Am I correct to put some words apart from those in content_font directory with the same font with the images in content_font?

The "charlist" of the content font is empty and also "gen_unis" is empty when I run the inference.sh. Please help.

@tlc121
Copy link
Owner

tlc121 commented Nov 22, 2022

What should be put for arguments --content_font and --img_path? Is this content_font the same directory as the content_font in build_datasets/build_trainset.sh? Should the directory contains the training content words images? What should be contained in img_path? Am I correct to put some words apart from those in content_font directory with the same font with the images in content_font?

The "charlist" of the content font is empty and also "gen_unis" is empty when I run the inference.sh. Please help.

content_font is the same directory you create in training phase. img_path is a directory containing bunch of reference images of a font.

@yimellia
Copy link
Author

What do you mean by reference images of a font? Words of fonts in train_font in build_trainset.sh?
Also, is it normal to have the "charlist" of the content font empty and "gen_unis" empty when I run the inference.sh?

@tlc121
Copy link
Owner

tlc121 commented Nov 23, 2022

What do you mean by reference images of a font? Words of fonts in train_font in build_trainset.sh? Also, is it normal to have the "charlist" of the content font empty and "gen_unis" empty when I run the inference.sh?

img_path is the test font images. gen_unis contains the characters u about to infer. it should not be empty...

@yimellia
Copy link
Author

What does ref_unis refer to? It contains original_meta[target_name]. Are both ref_unis and gen_unis the same?

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