【发布时间】:2017-09-28 11:37:48
【问题描述】:
您好,我有行人的 INRIA 数据集图像,我想加载此数据集以使用 svm 进行训练,我正在遵循本教程。 http://fr.mathworks.com/help/vision/examples/digit-classification-using-hog-features.html
在文件夹 /train_64x128_H96 中只有正图像文件夹 /pos 当我在 matlab 中使用此代码时,它会完美加载正文件夹。
trainingPosSet = imageDatastore(posdir, 'IncludeSubfolders', true, 'LabelSource', 'foldernames');
with posdir='train_64x128_H96/pos'; 我的问题是 /neg 给它一个 symbolic 链接,所以当我尝试使用 /neg 目录的相同命令时,我遇到了这个错误
使用 imageDatastore 时出错(第 85 行) 输入文件夹或文件包含非标准文件扩展名。
使用 FileExtensions 名称-值对来包含非标准文件扩展名。
我想知道如何加载负数据集来训练我的 svm 谢谢。
【问题讨论】:
标签: matlab dataset computer-vision svm