can't read model: number of return field is not correct
来源:互联网 发布:sql数据库设计工具 编辑:程序博客网 时间:2024/06/07 02:31
系统里装的是libsvm3.17,下载的一个场景字符识别程序没有标明用的是哪个版本的libsvm。
运行程序出现“can't read model: number of return field is not correct”。
错误在 “[pl,ac,py]=svmpredict(zeros(size(x,1),1),x,clf{3},'-b 0');”这一行里
之前一直无法解决。在熟悉了解了libsvm之后,发觉问题应该出现model上。
在http://www.csie.ntu.edu.tw/~cjlin/libsvm/oldfiles/上找到libsvm的旧版本(从libsvm3.1才开始支持matlab)。
发现model有两个地方不同,于是安装libsvm3.1成功解决问题。
Libsvm 3.1
Libsvm 3.17
http://www.csie.ntu.edu.tw/~cjlin/libsvm/oldfiles/
1 0
- can't read model: number of return field is not correct
- Can't read dir of '.' (errno: 13)
- return type of 'main' is not `int'
- CvMat执行CvReshape()报错“The matrix is not continuous, thus its number of rows can not be changed”
- can't read property 'style' of undefined(DataTable)
- JTAG error:can not read register while CPU is running
- ORA-27063: number of bytes read/written is incorrect
- Could not read JSON: Can not deserialize instance of java.lang.Integer out of START_OBJECT token
- Could not read JSON: Can not deserialize instance of java.lang.String out of START_OBJECT token
- Could not read JSON: Can not deserialize instance of java.lang.String[] out of VALUE_STRING token
- Could not read JSON: Can not deserialize instance of out of START_ARRAY token
- Could not read document: Can not deserialize instance of java.lang.xxx out of START_OBJECT token
- xsession can't read .profile
- 【OpenCV学习笔记】【异常处理】一(The Matrix is not continuous, thus its number of rows can not be changed)
- Can't perform Create, Update or Delete operations on 'Table(@TableName)' because it is read-only.
- can’t convert between vector values of different size return (__m64) __builtin_ia32_vec_init_v2si
- “(null)” is of a model that is not supported by this version of Xcode. Ple
- read failed: The data couldn’t be read because it isn’t in the correct format.
- 正方体三组相对的面相等
- Go闭包
- 关于上班时的信号差的问题
- java架构师之路:JAVA程序员必看的15本书的电子版下载地址
- 一个C++连接sql的简单实例
- can't read model: number of return field is not correct
- HDU-2089 不要62 数位DP 模板题
- 计算机网络学习笔记——第三章课后题答案详解
- Thinking In Java琐碎知识点摘要(二)
- java中到底有没有指针
- struts2执行流程
- 调用WebService异常。
- C++ c创建txt文件
- 求数组的子数组之和的最大值