-
Notifications
You must be signed in to change notification settings - Fork 0
/
sharedParameters.m
executable file
·50 lines (38 loc) · 1.39 KB
/
sharedParameters.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
%
%% Parameters
pathRoot = '/media/mateusz/SharedData';
pathTimitRaw = fullfile(pathRoot, 'LDC93S1');
pathTimitSplit = fullfile(pathRoot, 'TIMIT/Audio');
autoencoderFilename = 'autoencoder.mat';
ubmDir = 'ubm';
validDir = 'valid';
testDir = 'test';
adaptDir = 'adapt';
verifyDir = 'verify';
ubmSplit = 0.3;
valSplit = 0.1;
testSplit = 0.6;
adaptTrain = 0.8;
ubmConfigFile = 'ubm.mat';
speakersDir = 'speakers';
resultsDir = 'results';
verifyResultFile = 'verify.mat';
%% Changing
pathFeatures = fullfile(pathRoot, 'TIMIT/Features_AUTOENKODER2');
pathModel = fullfile(pathRoot,'TIMIT/Models_GMM_AUTOENKODER2');
featureType = 'rbm';
adaptAndVerifyDataset = 'test';
%% Create paths
pathAudioUbm = fullfile(pathTimitSplit, ubmDir);
pathAudioVal= fullfile(pathTimitSplit, validDir);
pathAudioTest = fullfile(pathTimitSplit, testDir);
pathFeatureUbm = fullfile(pathFeatures, ubmDir);
pathFeatureVal = fullfile(pathFeatures, validDir);
pathFeatureTest = fullfile(pathFeatures, testDir);
pathAdapt = fullfile(pathFeatures, adaptAndVerifyDataset, adaptDir);
pathVerify = fullfile(pathFeatures, adaptAndVerifyDataset, verifyDir);
pathModelUbm = fullfile(pathModel, ubmConfigFile);
pathModelAdapt = fullfile(pathModel, adaptAndVerifyDataset, speakersDir);
pathModelVerify = fullfile(pathModel, adaptAndVerifyDataset, ...
resultsDir, verifyResultFile);
pathAutoencoder = fullfile(pathFeatures, autoencoderFilename);