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

Unable to get http://storage.insightface.ai/files/models/buffalo_l.zip #1896

Open
sanidhyaagrawal opened this issue Jan 27, 2022 · 16 comments
Open

Comments

@sanidhyaagrawal
Copy link

sanidhyaagrawal commented Jan 27, 2022

I think http://storage.insightface.ai is down, are there any alternative links for the model from which I can download the model and set it in /root/.insightface/models/ manually?

Code:

from insightface.app import FaceAnalysis
app = FaceAnalysis()

Output:

download_path: /root/.insightface/models/buffalo_l
Downloading /root/.insightface/models/buffalo_l.zip from http://storage.insightface.ai/files/models/buffalo_l.zip...
---------------------------------------------------------------------------
TimeoutError                              Traceback (most recent call last)
/usr/local/lib/python3.7/dist-packages/urllib3/connection.py in _new_conn(self)
    158             conn = connection.create_connection(
--> 159                 (self._dns_host, self.port), self.timeout, **extra_kw)
    160 

23 frames
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

NewConnectionError                        Traceback (most recent call last)
NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fc7b71ce910>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

MaxRetryError                             Traceback (most recent call last)
MaxRetryError: HTTPConnectionPool(host='storage.insightface.ai', port=80): Max retries exceeded with url: /files/models/buffalo_l.zip (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fc7b71ce910>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

ConnectionError                           Traceback (most recent call last)
/usr/local/lib/python3.7/dist-packages/requests/adapters.py in send(self, request, stream, timeout, verify, cert, proxies)
    514                 raise SSLError(e, request=request)
    515 
--> 516             raise ConnectionError(e, request=request)
    517 
    518         except ClosedPoolError as e:

ConnectionError: HTTPConnectionPool(host='storage.insightface.ai', port=80): Max retries exceeded with url: /files/models/buffalo_l.zip (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fc7b71ce910>: Failed to establish a new connection: [Errno 110] Connection timed out'))
@nttstar
Copy link
Collaborator

nttstar commented Jan 27, 2022

bad news, I will check the url soon

@nttstar
Copy link
Collaborator

nttstar commented Jan 27, 2022

The file server donated by my friend is down. We will try to find an alternative server, but not sure.
Before that, we will upload the model files to google driver and baidu driver, please wait.

@sanidhyaagrawal
Copy link
Author

Thank you @nttstar for the great work! I've built a project using this this library and I need it to present it in a couple of days, it would be great if you can share the link! Thank you a lot!

@SthPhoenix
Copy link
Contributor

SthPhoenix commented Jan 27, 2022

Buffalo_l consists of scrfd_10g_bnkps detection and w600k_r50 recognition models.
You can get both models from Google drive links located at my repo

w600k_r50 model is the same as in package, scrfd_10g_bnkps is a bit different - it is converted from original PTH file, but with a bit different configs, though it's fully compatible with latest version of original package.

P.S. though I'm not sure if I have compatible gender/age model and additional alignment model.

@gregordr
Copy link

How about http://storage.insightface.ai/files/models/antelopev2.zip ? I any location I can get that from?

@nttstar
Copy link
Collaborator

nttstar commented Jan 28, 2022

@sanidhyaagrawal @gregordr
Hi please download the following manual model packages and unzip them under ~/.insightface/models/
buffalo_l: https://drive.google.com/file/d/1qXsQJ8ZT42_xSmWIYy85IcidpiZudOCB/view?usp=sharing
buffalo_m: https://drive.google.com/file/d/1net68yNxF33NNV6WP7k56FS6V53tq-64/view?usp=sharing
buffalo_s: https://drive.google.com/file/d/1pKIusApEfoHKDjeBTXYB3yOQ0EtTonNE/view?usp=sharing
buffalo_sc: https://drive.google.com/file/d/19I-MZdctYKmVf3nu5Da3HS6KH5LBfdzG/view?usp=sharing
antelopev2: https://drive.google.com/file/d/18wEUfMNohBJ4K3Ly5wpTejPfDzp-8fI8/view?usp=sharing

@sanazkhalili
Copy link

Hi, thank you very much.

@nttstar
Copy link
Collaborator

nttstar commented Jan 29, 2022

@sanazkhalili pip 0.6 is updated which supports model downloading again, you may check.

@sanazkhalili
Copy link

@nttstar Yes. It is work now. Thanks.

@acakici2020
Copy link

@nttstar Can you upload the person detection files scrfd_person_2.5g.onnx too?

@nttstar
Copy link
Collaborator

nttstar commented Jan 29, 2022

@acakici2020 Done, please update to ver 0.6.2.

@Vargol
Copy link

Vargol commented Jan 28, 2024

HI, trying to download the file using to colab but it's not working Google Drive just sends html files saying it can't virus scan the file and do I really want to download it. Using the download link in that file just gives me the same.

EDIT: Had to use down to get it ! gdown 18wEUfMNohBJ4K3Ly5wpTejPfDzp-8fI8 in the end

And it this day and age you really shouldn't but asking people to download random files of Google drive in formats that can contain executable code.

@nischalmudennavar
Copy link

@nttstar

InvalidProtobuf: [ONNXRuntimeError] : 7 : INVALID_PROTOBUF : Load model from ./models/antelopev2/glintr100.onnx failed:Protobuf parsing failed.

Can you help ? I downloaded from the drive you shared and thank you for that... but i am working on google colab and uploaded the downloaded models and it didnt work ...

@k53247l2
Copy link

k53247l2 commented Feb 2, 2024

嗨,请下载以下手动模型包,并在buffalo_l下解压: https://drive.google.com/file/d/1qXsQJ8ZT42_xSmWIYy85IcidpiZudOCB/view?usp=sharing buffalo_m: https://drive.google.com/file/d/1net68yNxF33NNV6WP7k56FS6V53tq-64/view?usp=sharing buffalo_s: https://drive.google.com/file/d/1pKIusApEfoHKDjeBTXYB3yOQ0EtTonNE/view?usp=sharing buffalo_sc: https://drive.google.com/file/d/19I-MZdctYKmVf3nu5Da3HS6KH5LBfdzG/view?usp=sharing 羚羊2:https://drive.google.com/file/d/18wEUfMNohBJ4K3Ly5wpTejPfDzp-8fI8/view?usp=sharing`~/.insightface/models/`

我已经下载好了,也上传国内的网盘,有需要的自己下载:
链接:https://pan.quark.cn/s/ddcd385cd661
提取码:cgDt

@qwert1887
Copy link

it works,thanks very much

@manumaan
Copy link

Multiple files are repeated in these zip files. (buffalo_*.zip files)

total 333280
-rw-r--r-- 1 root root 1322532 Jan 27 2022 genderage.onnx
-rw-r--r-- 1 root root 5030888 Jan 27 2022 2d106det.onnx
-rw-r--r-- 1 root root 16923827 Jan 27 2022 det_10g.onnx
-rw-r--r-- 1 root root 143607619 Jan 27 2022 1k3d68.onnx
-rw-r--r-- 1 root root 174383860 Jan 27 2022 w600k_r50.onnx
total 319968
-rw-r--r-- 1 root root 1322532 Jan 27 2022 genderage.onnx
-rw-r--r-- 1 root root 5030888 Jan 27 2022 2d106det.onnx
-rw-r--r-- 1 root root 143607619 Jan 27 2022 1k3d68.onnx
-rw-r--r-- 1 root root 174383860 Jan 27 2022 w600k_r50.onnx
-rw-r--r-- 1 root root 3292009 Jan 27 2022 det_2.5g.onnx
total 162220
-rw-r--r-- 1 root root 1322532 Jan 27 2022 genderage.onnx
-rw-r--r-- 1 root root 2524817 Jan 27 2022 det_500m.onnx
-rw-r--r-- 1 root root 5030888 Jan 27 2022 2d106det.onnx
-rw-r--r-- 1 root root 13616099 Jan 27 2022 w600k_mbf.onnx
-rw-r--r-- 1 root root 143607619 Jan 27 2022 1k3d68.onnx
total 15768
-rw-r--r-- 1 root root 2524817 Jan 27 2022 det_500m.onnx
-rw-r--r-- 1 root root 13616099 Jan 27 2022 w600k_mbf.onnx

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