Skip to content

Commit

Permalink
paths in prepare_opts
Browse files Browse the repository at this point in the history
  • Loading branch information
almazan committed Mar 18, 2014
1 parent 2821d3a commit c1d32e3
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions prepare_opts.m
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
function opts = prepare_opts()

% Adjustable paths
% Select the disk location of your datasets
opts.path_datasets = 'datasets';
% Path where the generated files will be saved
opts.pathData = '~/watts/data';
% Select the dataset
opts.dataset = 'GW';

% Adding all the necessary libraries and paths
addpath('util/');
if ~exist('util/bin','dir')
Expand Down Expand Up @@ -42,10 +50,6 @@
% Set random seed to default
rng('default');

% Select the dataset
opts.dataset = 'GW';

opts.path_datasets = 'datasets';
opts.pathDataset = sprintf('%s/%s/',opts.path_datasets,opts.dataset);
opts.pathImages = sprintf('%s/%s/images/',opts.path_datasets,opts.dataset);
opts.pathDocuments = sprintf('%s/%s/documents/',opts.path_datasets,opts.dataset);
Expand Down Expand Up @@ -176,7 +180,6 @@
opts.tagFeatures = sprintf('%s%s%s%s',tagFeats,tagPCA,tagGMM,tagFold);

% Paths and files
opts.pathData = '~/watts/data';
opts.pathFiles = sprintf('%s/files',opts.pathData);
if ~exist(opts.pathData,'dir')
mkdir(opts.pathData);
Expand Down

0 comments on commit c1d32e3

Please sign in to comment.