Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InceptionV4 pretrained weights link is dead #1065

Open
An-u-rag opened this issue Feb 19, 2025 · 1 comment
Open

InceptionV4 pretrained weights link is dead #1065

An-u-rag opened this issue Feb 19, 2025 · 1 comment

Comments

@An-u-rag
Copy link

The imagenet pretrained weights download link shows Service Unavailable.

File "D:\AIBenchmarking\aivision\AIWorkbench\tasks\semantic_segmentation\utils.py", line 83, in load_model model = smp.UnetPlusPlus( File "C:\Users\user3dm\anaconda3\envs\torchT\lib\site-packages\segmentation_models_pytorch\base\hub_mixin.py", line 147, in wrapper return func(self, *args, **kwargs) File "C:\Users\user3dm\anaconda3\envs\torchT\lib\site-packages\segmentation_models_pytorch\decoders\unetplusplus\model.py", line 81, in __init__ self.encoder = get_encoder( File "C:\Users\user3dm\anaconda3\envs\torchT\lib\site-packages\segmentation_models_pytorch\encoders\__init__.py", line 86, in get_encoder encoder.load_state_dict(model_zoo.load_url(settings["url"])) File "C:\Users\user3dm\anaconda3\envs\torchT\lib\site-packages\torch\hub.py", line 746, in load_state_dict_from_url download_url_to_file(url, cached_file, hash_prefix, progress=progress) File "C:\Users\user3dm\anaconda3\envs\torchT\lib\site-packages\torch\hub.py", line 611, in download_url_to_file u = urlopen(req) File "C:\Users\user3dm\anaconda3\envs\torchT\lib\urllib\request.py", line 214, in urlopen return opener.open(url, data, timeout) File "C:\Users\user3dm\anaconda3\envs\torchT\lib\urllib\request.py", line 523, in open response = meth(req, response) File "C:\Users\user3dm\anaconda3\envs\torchT\lib\urllib\request.py", line 632, in http_response response = self.parent.error( File "C:\Users\user3dm\anaconda3\envs\torchT\lib\urllib\request.py", line 555, in error result = self._call_chain(*args) File "C:\Users\user3dm\anaconda3\envs\torchT\lib\urllib\request.py", line 494, in _call_chain result = func(*args) File "C:\Users\user3dm\anaconda3\envs\torchT\lib\urllib\request.py", line 747, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "C:\Users\user3dm\anaconda3\envs\torchT\lib\urllib\request.py", line 523, in open response = meth(req, response) File "C:\Users\user3dm\anaconda3\envs\torchT\lib\urllib\request.py", line 632, in http_response response = self.parent.error( File "C:\Users\user3dm\anaconda3\envs\torchT\lib\urllib\request.py", line 561, in error return self._call_chain(*args) File "C:\Users\user3dm\anaconda3\envs\torchT\lib\urllib\request.py", line 494, in _call_chain result = func(*args) File "C:\Users\user3dm\anaconda3\envs\torchT\lib\urllib\request.py", line 641, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 503: Service Unavailable

@qubvel
Copy link
Collaborator

qubvel commented Feb 19, 2025

Hey, please try to install latest version from source, there should be no problem

pip install -U git+https://github.com/qubvel-org/segmentation_models.pytorch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants