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

conv_fashion_mnist.py 在Cuda:0 下不能运行,设置-device cpu 才能运行 #557

Open
DayBeha opened this issue Jun 27, 2024 · 1 comment

Comments

@DayBeha
Copy link

DayBeha commented Jun 27, 2024

问题和标题一样, 定位到是Cuda:0 下运行到Conv2d会报段错误,直接退出程序。

cupy                              13.2.0
numpy                             1.22.0
spikingjelly                      0.0.0.0.14
torch                             2.3.1+cu118
torchaudio                        2.3.1+cu118
torchvision                       0.18.1+cu118

显卡是3060 laptop

请问是什么问题?如何解决?

@CheKaiWei
Copy link
Collaborator

测试过是可以运行的,估计是cuda的问题,建议用以下语句来测试cuda能否顺利运行:
torch.cuda.is_available()

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