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

如何只用cpu跑已经训练好的模型 #5

Open
shuluoshu opened this issue Mar 31, 2016 · 1 comment
Open

如何只用cpu跑已经训练好的模型 #5

shuluoshu opened this issue Mar 31, 2016 · 1 comment

Comments

@shuluoshu
Copy link

前辈你好,小白下载了您offer的caffe_manual,并自己新建了工程拷贝进去,但我编译好了的是cpu_only版本的caffe.exe,我现在只想用您的程序测试一下已经训练好的模型,在main函数里面也改成了 Caffe::set_mode(Caffe::CPU);但是仍然报错,全都是说关于cuda的,如:error C1083: 无法打开包括文件: “cublas_v2.h”: No such file or directory ; IntelliSense: 未定义标识符 "cublasHandle_t" d:\caffe-windows-master\include\caffe\common.hpp 等等

而我根本不要用到cuda,怎么解决呢?万分感谢!

@smudge1307
Copy link

无法包括.h是因为没有把相应的头文件目录设置好。可以交流一下

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