Open pevogam opened 2 years ago
Similar SSL verification problems have been popping up for a while now. Unfortunately that is not related to TorchVision but rather caused by issues on the S3 side where we store the weights. It's also something we can reproduce consistently as it depends on the region from which you try to access the weights.
I suspect that if you test this again a few hours later the issue might be resolved. Let me know if that's the case.
The surprising thing is that I don't have this problem on Linux from the same region, only on a Windows machine.
🐛 Describe the bug
When downloading weights data from the PyTorch hub we get the following:
whereby checks of the certificate validity passed and this issue only happens on Windows (tested the same code on Linux without any problem). Downloading the same data file from a browser works fine (don't mind the loaded page, I loaded
download.pytorch.org
at first):Versions
C:>python.exe collect_env.py Microsoft Visual C++ Redistributable is not installed, this may lead to the DLL load failure. It can be downloaded at https://aka.ms/vs/16/release/vc_redist.x64.exe Collecting environment information... PyTorch version: N/A Is debug build: N/A CUDA used to build PyTorch: N/A ROCM used to build PyTorch: N/A
OS: Microsoft Windows 10 Enterprise 2016 LTSB GCC version: Could not collect Clang version: Could not collect CMake version: Could not collect Libc version: N/A
Python version: 3.9.0 (tags/v3.9.0:9cf6752, Oct 5 2020, 15:34:40) [MSC v.1927 64 bit (AMD64)] (64-bit runtime) Python platform: Windows-10-10.0.14393-SP0 Is CUDA available: N/A CUDA runtime version: Could not collect GPU models and configuration: Could not collect Nvidia driver version: Could not collect cuDNN version: Could not collect HIP runtime version: N/A MIOpen runtime version: N/A
Versions of relevant libraries: [pip3] Could not collect [conda] Could not collect
cc @peterjc123 @nbcsm @guyang3532 @maxluk @gunandrose4u @mszhanyi