代码拉取完成,页面将自动刷新
warning('off','all');
rootDatasets = '/Users/ignaciorlando/Documents/_vessels';
rootResults = '/Users/ignaciorlando/Documents/_vessels/results';
% Datasets names
datasetsNames = {...
'DRIVE' ...
};
thereAreLabelsInTheTestData = 0;
% Flag indicating if the value of C is going to be tuned according to the
% validation set
learnC = 0;
% CRF versions that are going to be evaluated
crfVersions = {'fully-connected'};
% C values
cValue = 10^0;
% For each of the data sets
results = cell(length(datasetsNames), length(crfVersions));
for experiment = 1 : length(datasetsNames)
% For each version of the CRF
for crfver = 1 : length(crfVersions)
% Get the configuration
[config] = getConfiguration_GenericDataset(datasetsNames{experiment}, ... % data set name
fullfile(rootDatasets, datasetsNames{experiment}), ... % data set folder
fullfile(rootResults, datasetsNames{experiment}), ... % results folder
learnC, ... % learn C?
crfVersions{crfver}, ... % crf version
cValue ... % default C value
);
config.thereAreLabelsInTheTestData = thereAreLabelsInTheTestData(experiment);
% Run vessel segmentation!
results{experiment,crfver} = runVesselSegmentation(config);
end
end
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。