jeonsworld / ViT-pytorch

Pytorch reimplementation of the Vision Transformer (An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale)
MIT License
1.95k stars 374 forks source link

HTTP Error 403: Forbidden #29

Closed vietvo89 closed 3 years ago

vietvo89 commented 3 years ago

Hi

I tried your notebook but the link is dead I think. I got the error of forbidden.

HTTPError                                 Traceback (most recent call last)
<ipython-input-4-14f159ea9fa3> in <module>
      1 # Test Image
      2 img_url = "https://images.mypetlife.co.kr/content/uploads/2019/04/09192811/welsh-corgi-1581119_960_720.jpg"
----> 3 urlretrieve(img_url, "attention_data/img.jpg")
      4 
      5 # Prepare Model
...
HTTP Error 403: Forbidden
NAMapollon commented 3 years ago

Use this link https://images.mypetlife.co.kr/content/uploads/2019/04/09154046/welsh-corgi-1581119_960_720.jpg This link is more reliable.

vietvo89 commented 3 years ago

Many thanks @NAMapollon