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

Cannot download model "'inswapper_128.onnx'" #2294

Open
Southmelon-Allen opened this issue May 9, 2023 · 25 comments
Open

Cannot download model "'inswapper_128.onnx'" #2294

Southmelon-Allen opened this issue May 9, 2023 · 25 comments

Comments

@Southmelon-Allen
Copy link

swapper = insightface.model_zoo.get_model('inswapper_128.onnx', download=True, download_zip=True)

cannot download the model from given url.
RuntimeError: Failed downloading url https://github.com/deepinsight/insightface/releases/download/v0.7/inswapper_128.onnx.zip

@Southmelon-Allen
Copy link
Author

cannot download zip file manually through this link, Github respond "Not Found"

@zhouzhengguang
Copy link

+1

@nttstar
Copy link
Collaborator

nttstar commented May 10, 2023

The swapping demo had been moved to discord bot.

@zhouzhengguang
Copy link

@nttstar
That's awesome! But, I want the inswapper_128.onnx model file to test my photo locally, can you share the model on drive or somewhere? Many thanks!

@nttstar
Copy link
Collaborator

nttstar commented May 10, 2023

The 128 model does not perform as well as the Discord version. At present, there is no reason to upload it again.

@mike-hearn
Copy link
Contributor

there is no reason to upload it again

The ability to run it locally seems like a good reason.

@liyaodong
Copy link

But seems the discord app is down at the moment. In the meantime inswapper_128 is deleted. Seem like no easy way to try the face swap feature by now.

BTW, is the discord version swap model will be public in the future?

Thanks anyway.

@nttstar
Copy link
Collaborator

nttstar commented May 14, 2023

But seems the discord app is down at the moment

No, it's still in service.

BTW, is the discord version swap model will be public in the future?

Not very likely

@YuanBo66668888
Copy link

还有其他办法么? @nttstar

@nttstar
Copy link
Collaborator

nttstar commented May 16, 2023

you can test your image by using the discord service.

@Tylersuard
Copy link

Ok but the discord service only allows 50 commands per day. When the face swapping only works well 1 in 50 times, that's not a lot. I want to run this locally so I can face swap more and get some quality results. How can I do that?

@mike-hearn
Copy link
Contributor

Out of curiosity, is there a commercial goal by privatizing this model? I haven't used the Discord. Do you have to pay for it?

It feels like there must be some ulterior motive surrounding removing the 128x128 model, and refusing to release any larger models.

I'm not opposed to you making money off your work obviously, but I just want to be clear what the rationale is.

@dai-shuo
Copy link

The 128 model does not perform as well as the Discord version. At present, there is no reason to upload it again.

it's reasonable for you guys to close source.
but it'd be nicer to remove the inswapper from the opensourced python package since it's not working anymore.

@CGMikeG
Copy link

CGMikeG commented May 22, 2023

awwww thats painful would be nice if we can get if we can use this locally

@Mayorc1978
Copy link

What is the discord bot we are talking about?

@saurabhaloneai
Copy link

Link : https://drive.google.com/file/d/1krOLgjW2tAPaqV-Bw4YALz0xT5zlb5HF/view { thanks to that reddit guy }

@Fibonacci134
Copy link

Out of curiosity, is there a commercial goal by privatizing this model? I haven't used the Discord. Do you have to pay for it?

It feels like there must be some ulterior motive surrounding removing the 128x128 model, and refusing to release any larger models.

I'm not opposed to you making money off your work obviously, but I just want to be clear what the rationale is.

They basically got greedy, released the model and then pulled it. Expected better from them. Too bad the code and model are out already so they cant really do anything about it now.

@SolessChong
Copy link

SolessChong commented Jul 25, 2023

uld be nice if we can

People have their rights to pull the model. I appreciate what they left opensourced.

Link : https://drive.google.com/file/d/1krOLgjW2tAPaqV-Bw4YALz0xT5zlb5HF/view { thanks to that reddit guy }

And I appreciate this even more.

@wiesbaden6200
Copy link

How can I run this locally?
or how can I forward it to a different address in colab.

"inswapper_128.onnx"

Thanks

@grahamquest
Copy link

uld be nice if we can

People have their rights to pull the model. I appreciate what they left opensourced.

Link : https://drive.google.com/file/d/1krOLgjW2tAPaqV-Bw4YALz0xT5zlb5HF/view { thanks to that reddit guy }

And I appreciate this even more.

Agreed, and VERY MUCH agreed for that 2nd part. Some people are different, some see chaos and misuse in their projects and its fine for them to do whatever they want with it. As for me? I learned to BACK UP files a lot more.

@shandowsoftware
Copy link

并且非常同意第二部分。有些人是不同的,有些人在他们的项目中看到混乱和滥用,他们可以用它做任何他们想做的事情。至于我呢?我学会了更多备份文件。

uld be nice if we can

People have their rights to pull the model. I appreciate what they left opensourced.

Link : https://drive.google.com/file/d/1krOLgjW2tAPaqV-Bw4YALz0xT5zlb5HF/view { thanks to that reddit guy }

And I appreciate this even more.

Agreed, and VERY MUCH agreed for that 2nd part. Some people are different, some see chaos and misuse in their projects and its fine for them to do whatever they want with it. As for me? I learned to BACK UP files a lot more.

Link : https://drive.google.com/file/d/1krOLgjW2tAPaqV-Bw4YALz0xT5zlb5HF/view { thanks to that reddit guy }

this is the real open source,some people are not open enough

@stasha17
Copy link

stasha17 commented Sep 3, 2023

Link : https://drive.google.com/file/d/1krOLgjW2tAPaqV-Bw4YALz0xT5zlb5HF/view { thanks to that reddit guy }

Is there any reason why there are different inswapper_128.onnx files? This one at the google drive is 541mb and the other one I have is 182mb. Is there a difference in the files, and if so, what?

@Maxencehabar
Copy link

How can I run this locally? or how can I forward it to a different address in colab.

"inswapper_128.onnx"

Thanks

Did you get the answer ? I'm trying to do the same thing and I'm having hard times trying.
Thanks!

@Mayorc1978
Copy link

Link : https://drive.google.com/file/d/1krOLgjW2tAPaqV-Bw4YALz0xT5zlb5HF/view { thanks to that reddit guy }

Is there any reason why there are different inswapper_128.onnx files? This one at the google drive is 541mb and the other one I have is 182mb. Is there a difference in the files, and if so, what?

I would like to know as well, I have the 5XX MB version too, where did you get the 182mb version?
Can you share it?
By the way, what is the official version size? If the 182mb version is like a pruned version and works precisely the same it could be better for memory consumption.

@assmdx assmdx mentioned this issue Sep 29, 2023
@Ubermeisters
Copy link

Ubermeisters commented Mar 28, 2024

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