Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

49 lines (43 sloc) 1.131 kb
function clean(varargin)
% CLEAN Clean installed resources and cached data.
% CLEAN() Clean all installed files by install script.
%
% CLEAN('OptionName',OptionValue) Specify additional options.
%
% Function accepts following options:
%
% Datasets:: false
% Clean all datasets.
%
% Cache:: false
% Delete all cached data.
% Authors: Karel Lenc
% AUTORIGHTS
import helpers.*;
opts.datasets = false;
opts.cache = false;
opts = vl_argparse(opts,varargin);
noInstArgs = {'AutoInstall',false};
installers = {...
VlFeatInstaller(),...
Installer(), ...
benchmarks.RepeatabilityBenchmark(noInstArgs{:}),...
benchmarks.IjcvOriginalBenchmark(noInstArgs{:}),...
benchmarks.helpers.Installer()...
};
if ~ismember(computer,{'PCWIN','PCWIN64'})
installers = [installers ...
{YaelInstaller(),benchmarks.RetrievalBenchmark(noInstArgs{:})}];
end
if opts.datasets
installers = [installers,{...
datasets.VggRetrievalDataset(noInstArgs{:}),...
datasets.VggAffineDataset(noInstArgs{:})}];
end
for installer=installers
installer{:}.clean();
end
if opts.cache
DataCache.deleteAllCachedData();
end
end
Jump to Line
Something went wrong with that request. Please try again.