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

Cuda not available with pytorch #2

Open
UmerAhs opened this issue Oct 26, 2023 · 2 comments
Open

Cuda not available with pytorch #2

UmerAhs opened this issue Oct 26, 2023 · 2 comments

Comments

@UmerAhs
Copy link

UmerAhs commented Oct 26, 2023

Hi,hope you are doing well.
I am facing an issue torch.cuda.is_available()=False
torch.cuda.device_count()=0
while the cuda is installed when I check availability it appears true.Pytorch is also installed correctly with all the other modules in my env so I didn't find what the problem exactly is????

@Yuqian-He
Copy link
Owner

Hey, sorry for the delay.
This error is related to cuda indeed. Did you install all the packages in your env or did you just use my env? Could you double-check if the under your python env that cuda is available?

@UmerAhs
Copy link
Author

UmerAhs commented Nov 13, 2023

Hello, hope you are doing well.
I'm facing an issue that when I'm running facial Details.py an error occurrs,

Error: ModuleNotFoundError: file F:\Maya2022\Python37\lib\site-packages\shiboken2\files.dir\shibokensupport_feature_.py line 142: No module named 'torch'

But I have installed all packages torch,numpy etc.
Due to this bridge.py doesn't work showing File not found error. But when I'm running it using anaconda prompt by giving the complete path of the model with facial details.py it's working, creating the result folder.Now when I run bridge.py it's finding the exact file.
I doesn't exactly find what the problem is.Kindly can you just have a look?

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

2 participants