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

gfpgan still downloading some files on first usage #134

Closed
ssube opened this issue Feb 14, 2023 · 0 comments · Fixed by #136
Closed

gfpgan still downloading some files on first usage #134

ssube opened this issue Feb 14, 2023 · 0 comments · Fixed by #136
Labels
status/fixed issues that have been fixed and released type/bug broken features
Milestone

Comments

@ssube
Copy link
Owner

ssube commented Feb 14, 2023

Some part of the GFPGAN code path is still downloading PTH files rather than using the cached ones:

Downloading: "https://github.com/xinntao/facexlib/releases/download/v0.1.0/detection_Resnet50_Final.pth" to /home/ssube/onnx-web/api/gfpgan/weights/detection_Resnet50_Final.pth
                                                                                                                                                                                                      
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 104M/104M [00:02<00:00, 42.6MB/s]
Downloading: "https://github.com/xinntao/facexlib/releases/download/v0.2.2/parsing_parsenet.pth" to /home/ssube/onnx-web/api/gfpgan/weights/parsing_parsenet.pth
                                                                                                                                                                                                      
 11%|█████████████████▊                                                                                                                                          | 9.29M/81.4M [00:00<00:02, 36.1MB/s]
[2023-02-14 00:22:18,782] INFO: werkzeug: 10.2.2.16 - - [14/Feb/2023 00:22:18] "GET /api/ready?output=txt2img_148066626_98ae8818a6b1ad4bacc13bd174a63bef525e0b733a29a2aa0e34b836138df968_1676334097.pn
g HTTP/1.1" 200 -                                                                                  
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 81.4M/81.4M [00:02<00:00, 41.2MB/s]
[2023-02-14 00:22:20,873] DEBUG: onnx_web.server.model_cache: Adding new model to cache: gfpgan                                                                                                       
[2023-02-14 00:22:20,874] INFO: onnx_web.server.model_cache: Removing models from cache, 1 of 4                                                                                                       
@ssube ssube added status/new issues that have not been confirmed yet type/bug broken features labels Feb 14, 2023
@ssube ssube added this to the v0.7 milestone Feb 14, 2023
@ssube ssube added status/progress issues that are in progress and have a branch and removed status/new issues that have not been confirmed yet labels Feb 14, 2023
@ssube ssube mentioned this issue Feb 14, 2023
@ssube ssube added status/fixed issues that have been fixed and released and removed status/progress issues that are in progress and have a branch labels Feb 14, 2023
@ssube ssube closed this as completed Feb 14, 2023
@ssube ssube mentioned this issue Feb 14, 2023
51 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/fixed issues that have been fixed and released type/bug broken features
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant