CIPS icon indicating copy to clipboard operation
CIPS copied to clipboard

I tried to train with your code,but it didn't work.The main progress seems to stay waiting for something to load.

Open xiaoxiaoxiaogu opened this issue 4 years ago • 4 comments

/home/hello/miniconda3/envs/deepsort/bin/python3 /home/hello/桌面/CIPS-main/train.py LMDB_data1024*1024_anime --nproc_per_node=8 --master_port=1234 --n_sample=8 --batch=4 --fid_batch=8 --Generator=CIPSskip --output_dir=skip-[ffhq/churches] --img2dis --num_workers=16 Traceback (most recent call last): File "/home/hello/桌面/CIPS-main/train.py", line 16, in import model File "/home/hello/桌面/CIPS-main/model/init.py", line 1, in from .Discriminators import * File "/home/hello/桌面/CIPS-main/model/Discriminators.py", line 8, in from .blocks import ConvLayer, ResBlock, EqualLinear File "/home/hello/桌面/CIPS-main/model/blocks.py", line 8, in from op import FusedLeakyReLU, fused_leaky_relu, upfirdn2d File "/home/hello/桌面/CIPS-main/op/init.py", line 2, in from .upfirdn2d import upfirdn2d File "/home/hello/桌面/CIPS-main/op/upfirdn2d.py", line 13, in os.path.join(module_path, 'upfirdn2d_kernel.cu'), File "/home/hello/miniconda3/envs/deepsort/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1092, in load keep_intermediates=keep_intermediates) File "/home/hello/miniconda3/envs/deepsort/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1307, in _jit_compile baton.wait() File "/home/hello/miniconda3/envs/deepsort/lib/python3.7/site-packages/torch/utils/file_baton.py", line 42, in wait time.sleep(self.wait_seconds) KeyboardInterrupt

Process finished with exit code 1

xiaoxiaoxiaogu avatar Sep 20 '21 07:09 xiaoxiaoxiaogu

i struggling same error

jaepoong avatar Jul 26 '22 13:07 jaepoong

i struggling same error

123456klk1 avatar Nov 02 '22 11:11 123456klk1

hello ,I meet the same issue. Have you solved it?

vox-1 avatar Mar 25 '23 14:03 vox-1

If anyone sees this, the issue is that it is trying to build cpp code but gets stuck for whatever reason. The solution I found is to find the cache folder for the build and delete it, which fixed the problem for me. You can do this by placing print(build_directory) before baton.wait() in the "cpp_extension.py" file that appears in the error logs.

martober avatar Jan 19 '24 03:01 martober