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

Windows runs V1 but meets "time.sleep" problem #558

Open
caokx opened this issue Jun 30, 2024 · 1 comment
Open

Windows runs V1 but meets "time.sleep" problem #558

caokx opened this issue Jun 30, 2024 · 1 comment

Comments

@caokx
Copy link

caokx commented Jun 30, 2024

D:\Python\GFPGAN>set BASICSR_JIT=True

D:\Python\GFPGAN>python inference_gfpgan.py -i in_ -o out_ -v 1 -s 2 --ext jpg --bg_upsampler realesrgan --bg_tile 800
Traceback (most recent call last):
File "D:\Python\GFPGAN\inference_gfpgan.py", line 7, in
from basicsr.utils import imwrite
File "D:\Python\Python39\lib\site-packages\basicsr_init_.py", line 3, in
from .archs import *
File "D:\Python\Python39\lib\site-packages\basicsr\archs_init_.py", line 16, in
arch_modules = [importlib.import_module(f'basicsr.archs.{file_name}') for file_name in arch_filenames]
File "D:\Python\Python39\lib\site-packages\basicsr\archs_init
.py", line 16, in
arch_modules = [importlib.import_module(f'basicsr.archs.{file_name}') for file_name in arch_filenames]
File "D:\Python\Python39\lib\importlib_init
.py", line 127, in import_module
return _bootstrap.gcd_import(name[level:], package, level)
File "D:\Python\Python39\lib\site-packages\basicsr\archs\basicvsrpp_arch.py", line 7, in
from basicsr.archs.arch_util import flow_warp
File "D:\Python\Python39\lib\site-packages\basicsr\archs\arch_util.py", line 13, in
from basicsr.ops.dcn import ModulatedDeformConvPack, modulated_deform_conv
File "D:\Python\Python39\lib\site-packages\basicsr\ops\dcn_init
.py", line 1, in
from .deform_conv import (DeformConv, DeformConvPack, ModulatedDeformConv, ModulatedDeformConvPack, deform_conv,
File "D:\Python\Python39\lib\site-packages\basicsr\ops\dcn\deform_conv.py", line 14, in
deform_conv_ext = load(
File "D:\Python\Python39\lib\site-packages\torch\utils\cpp_extension.py", line 986, in load
return _jit_compile(
File "D:\Python\Python39\lib\site-packages\torch\utils\cpp_extension.py", line 1206, in _jit_compile
baton.wait()
File "D:\Python\Python39\lib\site-packages\torch\utils\file_baton.py", line 48, in wait
time.sleep(self.wait_seconds)
KeyboardInterrupt

@caokx
Copy link
Author

caokx commented Jun 30, 2024

I have run few hours, but it seems that the code doesn't work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant