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 run app.py might be issue with dependency #1

Closed
kumarvivek1752 opened this issue Jan 25, 2024 · 4 comments
Closed

unable to run app.py might be issue with dependency #1

kumarvivek1752 opened this issue Jan 25, 2024 · 4 comments

Comments

@kumarvivek1752
Copy link

unable to download https://github.com/deepinsight/insightface/releases/download/v0.7/antelopev2.zip
it also not found on github.
image

my logs:


(.venv) ➜ INSTID git:(main) python app.py
A matching Triton is not available, some optimizations will not be enabled.
Error caught was: No module named 'triton'
download_path: ./models\antelopev2
Downloading ./models\antelopev2.zip from https://github.com/deepinsight/insightface/releases/download/v0.7/antelopev2.zip...
Traceback (most recent call last):
  File "D:\program\INSTID\app.py", line 45, in <module>
    app = FaceAnalysis(name='antelopev2', root='./', providers=['CPUExecutionProvider'])
  File "D:\program\INSTID\.venv\lib\site-packages\insightface\app\face_analysis.py", line 27, in __init__
    self.model_dir = ensure_available('models', name, root=root)
  File "D:\program\INSTID\.venv\lib\site-packages\insightface\utils\storage.py", line 28, in ensure_available
    return download(sub_dir, name, force=False, root=root)
  File "D:\program\INSTID\.venv\lib\site-packages\insightface\utils\storage.py", line 17, in download
    download_file(model_url,
  File "D:\program\INSTID\.venv\lib\site-packages\insightface\utils\download.py", line 73, in download_file
    raise RuntimeError("Failed downloading url %s" % url)
RuntimeError: Failed downloading url https://github.com/deepinsight/insightface/releases/download/v0.7/antelopev2.zip
(.venv) ➜ INSTID git:(main)
@rondlite
Copy link

they at version buffalo and removed antilope ..
https://github.com/deepinsight/insightface/releases

@aitrepreneur
Copy link
Owner

I put antelopev2 files in this repo: https://huggingface.co/Aitrepreneur/models

@kumarvivek1752
Copy link
Author

kumarvivek1752 commented Jan 26, 2024

i fixed this error by manually downloading antelopev2.zip and extract inside the ./models folder

source: deepinsight/insightface#1896 (comment)

@aitrepreneur by the way Image generation took very long time, it takes around 1200 sec to generate a image

my laptop conf:

CPU: 13th Gen Intel(R) Core(TM) i7-13700HX @ 2.304GHz
GPU: NVIDIA GeForce RTX 4060 Laptop GPU 8gb vram
GPU: Intel(R) UHD Graphics
Memory: 8.63 GiB / 15.73 GiB (54%)

is it normal with my laptop? or it should be improved? L'm asking because stable diffusion does not takes this much time to generate a decent image it takes only 1 or 2 min or less

@kyuumeitai
Copy link

It also happened to me @kumarvivek1752 but I check the youtube video and discovered that I haven't git lfs and also miss the step that clones the aitrepreneur's huggingface.

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

4 participants