Open whitenight1985 opened 1 year ago
I met this problem too. I tried to re-install the torch by whl, but that not works. Python 3.9
Running Stage 1: Overall restoration
Traceback (most recent call last):
File "test.py", line 6, in
Running Stage 2: Face Detection
Traceback (most recent call last):
File "detect_all_dlib.py", line 4, in
...
Have you solved the problem? I met the same one.
root@master:/usr/local/ai/Bringing-Old-Photos-Back-to-Life# python run.py --input_folder /usr/local/ai/Bringing-Old-Photos-Back-to-Life/input_folder --output_folder /usr/local/ai/Bringing-Old-Photos-Back-to-Life/output_folder --GPU 0
Running Stage 1: Overall restoration
Traceback (most recent call last):
File "test.py", line 6, in
Running Stage 2: Face Detection
Traceback (most recent call last):
File "detect_all_dlib.py", line 4, in
Running Stage 3: Face Enhancement
Traceback (most recent call last):
File "test_face.py", line 7, in
Running Stage 4: Blending
Traceback (most recent call last):
File "align_warp_back_multiple_dlib.py", line 4, in
All the processing is done. Please check the results. root@master:/usr/local/ai/Bringing-Old-Photos-Back-to-Life#
Having the same problem any ideas how to fix this, tried installing torch several times but no use
with pip list
I can see its installed
Changing python
in line #55 in the run.py to python3
worked for me. But, sadly I don't have an NVIDIA GPU in my Laptop.
┌──(root㉿kali)-[/home/kirisawa/Bringing-Old-Photos-Back-to-Life] └─# python3 run.py
from torch.autograd import Variable
ModuleNotFoundError: No module named 'torch'
Traceback (most recent call last):
File "/home/kirisawa/Bringing-Old-Photos-Back-to-Life/run.py", line 102, in
for x in os.listdir(stage_1_results):
FileNotFoundError: [Errno 2] No such file or directory: '/home/kirisawa/Bringing-Old-Photos-Back-to-Life/output/stage_1_restore_output/restored_image'
Running Stage 1: Overall restoration Traceback (most recent call last): File "/home/kirisawa/Bringing-Old-Photos-Back-to-Life/Global/test.py", line 6, in
I've run the requirements .txt but I'm still having problems.😭😭