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: build stopped #8

Open
WitchDD opened this issue Dec 27, 2021 · 5 comments
Open

ninja: build stopped #8

WitchDD opened this issue Dec 27, 2021 · 5 comments

Comments

@WitchDD
Copy link

WitchDD commented Dec 27, 2021

I ran this code

bash scripts/train_photosketch_horse_riders.sh

There is an error.
Is there a solution?

/home/a/GANSketching/training/networks/op/fused_bias_act.cpp:13:5: note: in expansion of macro ‘CHECK_CUDA’ CHECK_CUDA(input); ^ ninja: build stopped: subcommand failed.
python 3.6
ninja 1.10.2.3
CUDA 8.0

@PeterWang512
Copy link
Owner

Can you try updating CUDA to 9 or 10 and see if it works?
According to the stylegan2 repo I'm using (https://github.com/rosinality/stylegan2-pytorch), CUDA 10 is preferred.

@WitchDD
Copy link
Author

WitchDD commented Dec 27, 2021

I was able to move it a little.
appreciate!

But there is one problem.
I get an error saying that the version of pytorch is old.
Please tell me the version you are using.

I'm using now
torch 1.5.1 + cu101
torchvision 0.6.1 + cu101

@PeterWang512
Copy link
Owner

I'm using torch 1.7.1

@Miao-kristoff
Copy link

I ran this code

bash scripts/train_photosketch_horse_riders.sh

There is an error. Is there a solution?

/home/a/GANSketching/training/networks/op/fused_bias_act.cpp:13:5: note: in expansion of macro ‘CHECK_CUDA’ CHECK_CUDA(input); ^ ninja: build stopped: subcommand failed. python 3.6 ninja 1.10.2.3 CUDA 8.0

How to solve this eventually?

@PeterWang512
Copy link
Owner

Can you try updating to CUDA 9 or 10 and see if it works?

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