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

输入和输出字符很不像,求问各位大佬还有什么解决方法? #97

Open
ruobing-yang opened this issue Oct 3, 2024 · 1 comment

Comments

@ruobing-yang
Copy link

在运行user_generate.py的时候出现了以下两个提示,但是图片也能正常生成,这两个问题不处理会对生成结果有影响吗?因为我生成的和输入的结果很不像,图1是输入的,图2是输出的。输入是用平板写的,用的很细的笔也关掉了压感影响,结果还是很不像。
_utils.py:208:UserWarning: The parameter 'pretrained' is deprecated since 0.13 and may be removed in the future, please use 'weights' instead.
warnings.warn(msg)
utils.py:223: UserWarning: Arguments other than a weight enum or None for 'weights' are deprecated since 0.13 and may be removed in the future. The current behavior is equivalent to passing weights=ResNet18_Weights.IMAGENET1K_V1. You can also use weights=ResNet18_Weights.DEFAULT to get the most up-to-date weights.
图片1
图片2

@dailenson
Copy link
Owner

尽量使用黑色笔迹的文字作为输入,然后宽度设置一下~

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