zhiweili
commited on
Commit
•
f89544c
1
Parent(s):
2b91726
fix freeze not found
Browse files- enhance_utils.py +1 -0
- requirements.txt +1 -2
enhance_utils.py
CHANGED
@@ -24,6 +24,7 @@ def runcmd(cmd, verbose = False, *args, **kwargs):
|
|
24 |
pass
|
25 |
|
26 |
# os.system("pip freeze")
|
|
|
27 |
if not os.path.exists('GFPGANv1.4.pth'):
|
28 |
# os.system("wget https://github.com/TencentARC/GFPGAN/releases/download/v1.3.0/GFPGANv1.4.pth -P .")
|
29 |
runcmd("wget https://github.com/TencentARC/GFPGAN/releases/download/v1.3.0/GFPGANv1.4.pth -P .")
|
|
|
24 |
pass
|
25 |
|
26 |
# os.system("pip freeze")
|
27 |
+
runcmd("pip freeze")
|
28 |
if not os.path.exists('GFPGANv1.4.pth'):
|
29 |
# os.system("wget https://github.com/TencentARC/GFPGAN/releases/download/v1.3.0/GFPGANv1.4.pth -P .")
|
30 |
runcmd("wget https://github.com/TencentARC/GFPGAN/releases/download/v1.3.0/GFPGANv1.4.pth -P .")
|
requirements.txt
CHANGED
@@ -14,5 +14,4 @@ git+https://github.com/XPixelGroup/BasicSR@master
|
|
14 |
facexlib
|
15 |
realesrgan
|
16 |
controlnet_aux
|
17 |
-
peft
|
18 |
-
freeze
|
|
|
14 |
facexlib
|
15 |
realesrgan
|
16 |
controlnet_aux
|
17 |
+
peft
|
|