我已经使用了vlfeat工具箱和vl_sift,很多次都没有问题。我决定在Matlab R2009a和ubuntu 14.04中使用它。这是我在运行 vl_setup() 时遇到的错误
??? XML-file failed validation against schema located in:
/home/tonystark/Matlab_prg/sys/namespace/info/v1/info.xsd
XML-file name:
/home/tonystark/freelancing/Content_based_image_retrieval/code/new_code/vlfeat-0.9.18/toolbox/info.xml
To retest the XML-file against the schema, call the following java method:
com.mathworks.xml.XMLValidator.validate(...
'/home/tonystark/freelancing/Content_based_image_retrieval/code/new_code/vlfeat-0.9.18/toolbox/info.xml',...
'/home/tonystark/Matlab_prg/sys/namespace/info/v1/info.xsd', true)
Errors:
org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found
starting with element 'help_contents_icon'. One of '{product_name_ends_with_type,
help_addon, preference_panel, dialogpref_registrar, project_plugin, state_item, list}'
is expected.
但是当我再次运行相同的代码时,错误不会出现并且代码vl_setup编译,但没有显示输出
当我运行这个示例代码时
clc;
close all;
clear all;
I1 = imread('/home/tonystark/freelancing/Content_based_image_retrieval/Dataset/all_souls_000140.jpg');
I2 = imread('/home/tonystark/freelancing/Content_based_image_retrieval/Dataset/all_souls_000146.jpg');
[f1 d1] = vl_sift(single(rgb2gray(I1)));
[f2 d2] = vl_sift(single(rgb2gray(I2)));
matlab 在终端上崩溃并出现以下错误
*** invalid %N$ use detected ***
Aborted (core dumped)
我被困在这里很长一段时间没有任何具体的方向。如果有人能指出我正确的方向或解决这个问题,那将有很大帮助!非常感谢您的帮助。
更新 1
vlfeat 的自述文件说它需要 matlab 2009b min,工具箱才能工作。这可能是一个原因吗?