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

[bug] Some insightface analysis model cannot be automatically downloaded? #47

Closed
melMass opened this issue Aug 2, 2023 · 1 comment
Closed

Comments

@melMass
Copy link
Owner

melMass commented Aug 2, 2023

Originally posted by Piscabo August 2, 2023

Error occurred when executing Load Face Analysis Model (mtb):

Failed downloading url https://github.com/deepinsight/insightface/releases/download/v0.7/antelopev2.zip

File "A:\AI_Files\ComfyUI\execution.py", line 144, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "A:\AI_Files\ComfyUI\execution.py", line 74, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "A:\AI_Files\ComfyUI\execution.py", line 67, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "A:\AI_Files\ComfyUI\custom_nodes\comfy_mtb\nodes\faceswap.py", line 56, in load_model
face_analyser = insightface.app.FaceAnalysis(
File "A:\AI_Files\stable-diffusion-webui\venv\lib\site-packages\insightface\app\face_analysis.py", line 27, in __init__
self.model_dir = ensure_available('models', name, root=root)
File "A:\AI_Files\stable-diffusion-webui\venv\lib\site-packages\insightface\utils\storage.py", line 28, in ensure_available
return download(sub_dir, name, force=False, root=root)
File "A:\AI_Files\stable-diffusion-webui\venv\lib\site-packages\insightface\utils\storage.py", line 17, in download
download_file(model_url,
File "A:\AI_Files\stable-diffusion-webui\venv\lib\site-packages\insightface\utils\download.py", line 73, in download_file
raise RuntimeError("Failed downloading url %s" % url)

</details>
@melMass
Copy link
Owner Author

melMass commented Aug 2, 2023

@Piscabo yes this is a known issue in insightface's zoo models they distribute, you can download it elsewhere and place them under models/insightface

More info here #19 (comment)

@melMass melMass closed this as completed Aug 2, 2023
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

1 participant