Closed
Description
openedon Sep 18, 2020
Hi, thank you for this amazing work.
Unfortunately, I have run into 2 issues while trying to run this on Windows 10 Anaconda Prompt
my input
python run.py --input_folder input --output_folder output --GPU 0 --with_scratch
the error
Running Stage 1: Overall restoration
initializing the dataloader
model weights loaded
directory of testing image: input
Traceback (most recent call last):
File "detection.py", line 151, in <module>
main(config)
File "detection.py", line 85, in main
imagelist = os.listdir(config.test_path)
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'input'
You are using NL + Res
Traceback (most recent call last):
File "test.py", line 110, in <module>
input_loader = os.listdir(opt.test_input)
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'output\\stage_1_restore_output\\masks\\input'
Finish Stage 1 ...
Running Stage 2: Face Detection
Traceback (most recent call last):
File "detect_all_dlib.py", line 24, in <module>
import dlib
File "E:\Anaconda3\envs\restore\lib\site-packages\dlib\__init__.py", line 19, in <module>
from _dlib_pybind11 import *
ImportError: DLL load failed: The specified module could not be found.
Finish Stage 2 ...
Running Stage 3: Face Enhancement
The main GPU is
0
Traceback (most recent call last):
File "test_face.py", line 15, in <module>
dataloader = data.create_dataloader(opt)
File "G:\Bringing-Old-Photos-Back-to-Life\Face_Enhancement\data\__init__.py", line 13, in create_dataloader
instance.initialize(opt)
File "G:\Bringing-Old-Photos-Back-to-Life\Face_Enhancement\data\face_dataset.py", line 29, in initialize
image_list = os.listdir(image_path)
FileNotFoundError: [WinError 3] The system cannot find the path specified: './datasets/cityscapes/output\\stage_2_detection_output'
Finish Stage 3 ...
Running Stage 4: Blending
Traceback (most recent call last):
File "align_warp_back_multiple_dlib.py", line 23, in <module>
import dlib
File "E:\Anaconda3\envs\restore\lib\site-packages\dlib\__init__.py", line 19, in <module>
from _dlib_pybind11 import *
ImportError: DLL load failed: The specified module could not be found.
Finish Stage 4 ...
All the processing is done. Please check the results.
The output folder is empty
I already have CUDA 10.2 and cudnn64_7.dll in PATH, but the dlib error still pops up.
And I have no idea how to solve the backslashes issue.
How can I solve this?
Thank you!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
No labels