The parameter 'pretrained' is deprecated since 0.13

#10
by solaleno5 - opened

Hello! Can you please tell me how I can fix the error?:

UserWarning: The parameter 'pretrained' is deprecated since 0.13 and may be removed in the future, please use 'weights' instead.
warnings.warn(
home/user/.local/lib/python3.8/site-packages/torchvision/models/_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=None

Sign up or log in to comment