ankanbhunia / Handwriting-Transformers

Handwriting-Transformers (ICCV21)
MIT License
185 stars 42 forks source link

Having problem in loading the pretrained weight in orchvision\models\_utils.py #14

Open Badar-e-Alam opened 1 year ago

Badar-e-Alam commented 1 year ago

warnings. warn( C:\Users\Asus\anaconda3\envs\pytorch\lib\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=ResNet18_Weights.IMAGENET1K_V1. You can also use weights=ResNet18_Weights.DEFAULT to get the most up-to-date weights. warnings.warn(msg)

ankanbhunia commented 1 year ago

It seems that the above message is a warning not an error. Can you please share the full error?