SDT
SDT copied to clipboard
输入和输出字符很不像,求问各位大佬还有什么解决方法?
在运行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.