[09 - PyTorch Model Deployment] Hugging Face URL Error for DEFAULT weights #272
-
Hello Everyone! Today I was trying to deploy the food vision model to Hugging Face, but I come up to a URL Error at hugging face logs that I dont understood. The error was showing me that the download link of PyTorch is not working for the weights = torchvision.models.EfficientNet_B2_Weights.IMAGENET1K_V1 But nothing like that happened when I was coding at Google Colab. Does anyone have an idea of what it could be? Or come with the same error? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hey hey @Bruno-Messias, I'm not what could be happening here. Looks like from the PyTorch documentation that
But this error is only happening to you on Hugging Face not Colab? |
Beta Was this translation helpful? Give feedback.
-
I think I cath the error! Thanks the insigth! The requirements was something different from the course, I was using this as requirement:
But at the course there are created as:
I just changed these requirements and the weights to |
Beta Was this translation helpful? Give feedback.
I think I cath the error! Thanks the insigth!
The requirements was something different from the course, I was using this as requirement:
But at the course there are created as:
I just changed these requirements and the weights to
DEFAULT
and works!