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

ninja problem #11

Open
poxiao0 opened this issue Jan 14, 2024 · 5 comments
Open

ninja problem #11

poxiao0 opened this issue Jan 14, 2024 · 5 comments

Comments

@poxiao0
Copy link

poxiao0 commented Jan 14, 2024

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.

@quandao10
Copy link
Collaborator

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

@poxiao0
Copy link
Author

poxiao0 commented Jan 14, 2024

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.

@ZXXaaaa
Copy link

ZXXaaaa commented Jun 12, 2024

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

@poxiao0
Copy link
Author

poxiao0 commented Jun 13, 2024

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

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

@ZXXaaaa
Copy link

ZXXaaaa commented Jun 13, 2024

OK, thanks for your answer.

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

3 participants