-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Cannot access https://nni.blob.core.windows.net/nashub/darts-v2-5465b0d2.pth for pretrained model #5614
Comments
It appears that the blob access is set to private for some reason. Please try again as I just turned on public access. |
It seems that blob is still not accessible for me, too.
|
Turned on again. Please try again. |
Thank you. I have confirmed that the link is working now. |
Could you close it? @Chenyangzh |
Although I've been periodically checking, it's evident that this issue has not been resolved permantly. To help future viewers who may encounter this issue, I'm currently hosting an ephemeral mirror server for those weights. (Please note that the server may not remain available permanently!) If the MS blob server goes down again, you can use my mirror by utilizing the following code: #
# Before running any NNI script,
# add the following script at the TOP of the Python file.
#
import nni.common.blob_utils
nni.common.blob_utils.NNI_BLOB = 'https://repo.dailylime.kr/mirror/nni' It will monkey-patch the blob url and download weights from my server. |
Thanks @jungin500. I think Microsoft has some security regulations that is preventing us from making the blob public. They might have periodically-run script that closes the public access if the public access is not officially authorized. To make it officially authorized, we might need to go through a tedious review process which none of us are willing to push forward. Given the current bandwidth and financial support on this NNI project, any solution that requires much laboring (either code-work or paperwork), or requires constantly paying a certain amount of money, IS NOT acceptable to us. Our best shot is to find some 3rd-party blob services (that are better to be free) to host these files. It's unfortunate that we have to repeatedly turn on the public access before a workaround is implemented. |
I have the same issue agin. Could you open the access again? @ultmaster |
Could you please open the aceess? Thanks @matluster |
Cannot download pertained models for nni (permission denied) |
I also want to download datrs-v2.I have this question.There is an error |
@flower997 As the error I think It's highly possible that firewall or router is showing you an captive portal page so you can't access other pages, too. (Although the download server is down, this certificate issue shouldn't be happend at all.) In a meantime, the download server is currently down, so I recommend you using my public clone of the weight server. |
Got the same error here: While I can wget other urls |
Same for me. Is there any fix for it? |
Add this at the very beggening of your notebook or py file import nni.common.blob_utils |
Hi, the mirror server appear to be unreachable. Is there a way to download the pre trained models? |
Hello, I've fixed my mirror server. can you access the server? It should be available now. |
Yea, working now thank you! |
我也一样 |
I've uploaded the nasbenchmark and nashub data to my personal Google drive because I was told that the blob was about to be shutdown. For anyone in need, please download it from my Google drive here |
Describe the issue:
Hi, I tried to run official demo darts nas, but met an issue.
Traceback (most recent call last):
File "darts.py", line 74, in
darts_v2_model = DartsSpace.load_searched_model('darts-v2', pretrained=True, download=True)
File "/root/miniconda3/lib/python3.7/site-packages/nni/nas/hub/pytorch/nasnet.py", line 888, in load_searched_model
weight_file = load_pretrained_weight(name, download=download, progress=progress)
File "/root/miniconda3/lib/python3.7/site-packages/nni/nas/hub/pytorch/utils/pretrained.py", line 58, in load_pretrained_weight
load_or_download_file(local_path, url, **kwargs)
File "/root/miniconda3/lib/python3.7/site-packages/nni/common/blob_utils.py", line 85, in load_or_download_file
raise RuntimeError('Invalid hash value (expected "{}", got "{}")'.format(hash_prefix, digest))
RuntimeError: Invalid hash value (expected "5465b0d2", got "ce49989c8f6ef11f2b2192c41c62a8701f3057fd0c25a27cf6b66253b92496ec")
I checked the source code and found that the reason is cannot access pertrained searched model. Any solution?
Environment:
Configuration:
Log message:
How to reproduce it?:
The text was updated successfully, but these errors were encountered: