python run.py --with_scratch
Running Stage 1: Overall restoration
initializing the dataloader
model weights loaded
directory of testing image: /data/hjq/Bringing-Old-Photos-Back-to-Life/test_images/old_w_scratch
processing a.png
processing b.png
processing c.png
processing d.png
Traceback (most recent call last):
File "test.py", line 16, in
import cv2
File "/data/hjq/tools/anaconda3/envs/bop/lib/python3.6/site-packages/cv2/init.py", line 181, in
bootstrap()
File "/data/hjq/tools/anaconda3/envs/bop/lib/python3.6/site-packages/cv2/init.py", line 153, in bootstrap
native_module = importlib.import_module("cv2")
File "/data/hjq/tools/anaconda3/envs/bop/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: dlopen: cannot load any more object with static TLS
Finish Stage 1 ...
Running Stage 2: Face Detection
Traceback (most recent call last):
File "detect_all_dlib.py", line 19, in
import cv2
File "/data/hjq/tools/anaconda3/envs/bop/lib/python3.6/site-packages/cv2/init.py", line 181, in
bootstrap()
File "/data/hjq/tools/anaconda3/envs/bop/lib/python3.6/site-packages/cv2/init.py", line 153, in bootstrap
native_module = importlib.import_module("cv2")
File "/data/hjq/tools/anaconda3/envs/bop/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: dlopen: cannot load any more object with static TLS
Finish Stage 2 ...
Running Stage 3: Face Enhancement
dataset [FaceTestDataset] of size 0 was created
The size of the latent vector size is [8,8]
Network [SPADEGenerator] was created. Total number of parameters: 92.1 million. To see the architecture, do print(network).
hi :)
Finish Stage 3 ...
Running Stage 4: Blending
Traceback (most recent call last):
File "align_warp_back_multiple_dlib.py", line 18, in
import cv2
File "/data/hjq/tools/anaconda3/envs/bop/lib/python3.6/site-packages/cv2/init.py", line 181, in
bootstrap()
File "/data/hjq/tools/anaconda3/envs/bop/lib/python3.6/site-packages/cv2/init.py", line 153, in bootstrap
native_module = importlib.import_module("cv2")
File "/data/hjq/tools/anaconda3/envs/bop/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: dlopen: cannot load any more object with static TLS
Finish Stage 4 ...
All the processing is done. Please check the results.
(bop) [root@master1 Bringing-Old-Photos-Back-to-Life]# python run.py --with_scratch
Running Stage 1: Overall restoration
initializing the dataloader
model weights loaded
directory of testing image: /data/hjq/Bringing-Old-Photos-Back-to-Life/test_images/old_w_scratch
processing a.png
processing b.png
processing c.png
processing d.png
Traceback (most recent call last):
File "test.py", line 16, in
import cv2
File "/data/hjq/tools/anaconda3/envs/bop/lib/python3.6/site-packages/cv2/init.py", line 181, in
bootstrap()
File "/data/hjq/tools/anaconda3/envs/bop/lib/python3.6/site-packages/cv2/init.py", line 153, in bootstrap
native_module = importlib.import_module("cv2")
File "/data/hjq/tools/anaconda3/envs/bop/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: dlopen: cannot load any more object with static TLS
Finish Stage 1 ...
Running Stage 2: Face Detection
Traceback (most recent call last):
File "detect_all_dlib.py", line 19, in
import cv2
File "/data/hjq/tools/anaconda3/envs/bop/lib/python3.6/site-packages/cv2/init.py", line 181, in
bootstrap()
File "/data/hjq/tools/anaconda3/envs/bop/lib/python3.6/site-packages/cv2/init.py", line 153, in bootstrap
native_module = importlib.import_module("cv2")
File "/data/hjq/tools/anaconda3/envs/bop/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: dlopen: cannot load any more object with static TLS
Finish Stage 2 ...
Running Stage 3: Face Enhancement
The main GPU is
0
dataset [FaceTestDataset] of size 0 was created
The size of the latent vector size is [8,8]
Network [SPADEGenerator] was created. Total number of parameters: 92.1 million. To see the architecture, do print(network).
hi :)
Finish Stage 3 ...
Running Stage 4: Blending
Traceback (most recent call last):
File "align_warp_back_multiple_dlib.py", line 18, in
import cv2
File "/data/hjq/tools/anaconda3/envs/bop/lib/python3.6/site-packages/cv2/init.py", line 181, in
bootstrap()
File "/data/hjq/tools/anaconda3/envs/bop/lib/python3.6/site-packages/cv2/init.py", line 153, in bootstrap
native_module = importlib.import_module("cv2")
File "/data/hjq/tools/anaconda3/envs/bop/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: dlopen: cannot load any more object with static TLS
Finish Stage 4 ...
All the processing is done. Please check the results.
python run.py --with_scratch Running Stage 1: Overall restoration initializing the dataloader model weights loaded directory of testing image: /data/hjq/Bringing-Old-Photos-Back-to-Life/test_images/old_w_scratch processing a.png processing b.png processing c.png processing d.png Traceback (most recent call last): File "test.py", line 16, in
import cv2
File "/data/hjq/tools/anaconda3/envs/bop/lib/python3.6/site-packages/cv2/init.py", line 181, in
bootstrap()
File "/data/hjq/tools/anaconda3/envs/bop/lib/python3.6/site-packages/cv2/init.py", line 153, in bootstrap
native_module = importlib.import_module("cv2")
File "/data/hjq/tools/anaconda3/envs/bop/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: dlopen: cannot load any more object with static TLS
Finish Stage 1 ...
Running Stage 2: Face Detection Traceback (most recent call last): File "detect_all_dlib.py", line 19, in
import cv2
File "/data/hjq/tools/anaconda3/envs/bop/lib/python3.6/site-packages/cv2/init.py", line 181, in
bootstrap()
File "/data/hjq/tools/anaconda3/envs/bop/lib/python3.6/site-packages/cv2/init.py", line 153, in bootstrap
native_module = importlib.import_module("cv2")
File "/data/hjq/tools/anaconda3/envs/bop/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: dlopen: cannot load any more object with static TLS
Finish Stage 2 ...
Running Stage 3: Face Enhancement dataset [FaceTestDataset] of size 0 was created The size of the latent vector size is [8,8] Network [SPADEGenerator] was created. Total number of parameters: 92.1 million. To see the architecture, do print(network). hi :) Finish Stage 3 ...
Running Stage 4: Blending Traceback (most recent call last): File "align_warp_back_multiple_dlib.py", line 18, in
import cv2
File "/data/hjq/tools/anaconda3/envs/bop/lib/python3.6/site-packages/cv2/init.py", line 181, in
bootstrap()
File "/data/hjq/tools/anaconda3/envs/bop/lib/python3.6/site-packages/cv2/init.py", line 153, in bootstrap
native_module = importlib.import_module("cv2")
File "/data/hjq/tools/anaconda3/envs/bop/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: dlopen: cannot load any more object with static TLS
Finish Stage 4 ...
All the processing is done. Please check the results. (bop) [root@master1 Bringing-Old-Photos-Back-to-Life]# python run.py --with_scratch Running Stage 1: Overall restoration initializing the dataloader model weights loaded directory of testing image: /data/hjq/Bringing-Old-Photos-Back-to-Life/test_images/old_w_scratch processing a.png processing b.png processing c.png processing d.png Traceback (most recent call last): File "test.py", line 16, in
import cv2
File "/data/hjq/tools/anaconda3/envs/bop/lib/python3.6/site-packages/cv2/init.py", line 181, in
bootstrap()
File "/data/hjq/tools/anaconda3/envs/bop/lib/python3.6/site-packages/cv2/init.py", line 153, in bootstrap
native_module = importlib.import_module("cv2")
File "/data/hjq/tools/anaconda3/envs/bop/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: dlopen: cannot load any more object with static TLS
Finish Stage 1 ...
Running Stage 2: Face Detection Traceback (most recent call last): File "detect_all_dlib.py", line 19, in
import cv2
File "/data/hjq/tools/anaconda3/envs/bop/lib/python3.6/site-packages/cv2/init.py", line 181, in
bootstrap()
File "/data/hjq/tools/anaconda3/envs/bop/lib/python3.6/site-packages/cv2/init.py", line 153, in bootstrap
native_module = importlib.import_module("cv2")
File "/data/hjq/tools/anaconda3/envs/bop/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: dlopen: cannot load any more object with static TLS
Finish Stage 2 ...
Running Stage 3: Face Enhancement The main GPU is 0 dataset [FaceTestDataset] of size 0 was created The size of the latent vector size is [8,8] Network [SPADEGenerator] was created. Total number of parameters: 92.1 million. To see the architecture, do print(network). hi :) Finish Stage 3 ...
Running Stage 4: Blending Traceback (most recent call last): File "align_warp_back_multiple_dlib.py", line 18, in
import cv2
File "/data/hjq/tools/anaconda3/envs/bop/lib/python3.6/site-packages/cv2/init.py", line 181, in
bootstrap()
File "/data/hjq/tools/anaconda3/envs/bop/lib/python3.6/site-packages/cv2/init.py", line 153, in bootstrap
native_module = importlib.import_module("cv2")
File "/data/hjq/tools/anaconda3/envs/bop/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: dlopen: cannot load any more object with static TLS
Finish Stage 4 ...
All the processing is done. Please check the results.