Skip to content

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

@shuluoshu

Description

@shuluoshu

前辈你好,小白下载了您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,怎么解决呢?万分感谢!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions