WaveDiff icon indicating copy to clipboard operation
WaveDiff copied to clipboard

ninja problem

Open poxiao0 opened this issue 2 years ago • 5 comments

When I use the pretrained weights to test the result by a GPU on celeba_256 dataset, it occurs following preblem. I can not solve it, can you give me some advice?

Traceback (most recent call last): File "/home/wbx/anaconda3/envs/wavediff/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1723, in _run_ninja_build env=env) File "/home/wbx/anaconda3/envs/wavediff/lib/python3.7/subprocess.py", line 512, in run output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

poxiao0 avatar Jan 14 '24 07:01 poxiao0

I think you could try pip install ninja. If it is not working, try conda install -c conda-forge cudatoolkit-dev.

quandao10 avatar Jan 14 '24 10:01 quandao10

I think you could try pip install ninja. If it is not working, try conda install -c conda-forge cudatoolkit-dev.

Thank you advice but these two advice are not valid. I can not resolve this problem.

poxiao0 avatar Jan 14 '24 11:01 poxiao0

Hello, I meet the same problem. Have you solved it?

ZXXaaaa avatar Jun 12 '24 13:06 ZXXaaaa

Hello, I meet the same problem. Have you solved it?

Finally,I use the way from stylegan2. I suggest you to see its comments.

poxiao0 avatar Jun 13 '24 02:06 poxiao0

OK, thanks for your answer.

ZXXaaaa avatar Jun 13 '24 02:06 ZXXaaaa