You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
在运行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.
The text was updated successfully, but these errors were encountered:
在运行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 passingweights=ResNet18_Weights.IMAGENET1K_V1
. You can also useweights=ResNet18_Weights.DEFAULT
to get the most up-to-date weights.The text was updated successfully, but these errors were encountered: