-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathgetParams.m
executable file
·33 lines (27 loc) · 1.41 KB
/
getParams.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
function params = getParams()
%GET_PARAMS Summary of this function goes here
% Detailed explanation goes here
params.vpsDataset = '';
params.features = 'vggJointVpsMirror'; %see cache/features folder to see what features are allowed
params.angleEncoding = 'euler'; %'euler' or 'rot' or 'cos_sin' or 'axisAngle'. 'cos_sin' is highly recommended !
params.optMethod = 'bin'; %'bin' or 'svr' or 'lsq' // don't use 'rf' for now as it breaks down
params.candidateThresh = 0.5; %IoU threshold for candidates to be used to in training. Dont set less than 0.5 as it might assigne same candidate to multiple gts
params.trainValSets = {''}; %Empty String implies Gt
params.testSets = {''}; %CandidatesPool
params.nHypotheses = 1;
params.interpolationMethod = 'cubic'; %cubic works best even though its slightly slow
params.heatMapDims = [24 24]; % [xdim ydim]
params.kpsSuffix = '';
params.rigidKpsDataset = 'p3d'; %'p3d' or 'pascal'
params.kpsNet = 'vggAll';
%params.classInds = [1 2 4 5 6 7 9 14 18 19 20]; %rigid categories
params.classInds = [1 2 4 5 6 7 9 11 14 18 19 20]; %rigid categories
params.torsoKps = [4 7 1 10]; %for pascal person
params.excludeOccluded = false;
params.visMethod = 'maxLocation'; % 'maxCandidate'/'maxLocation'
params.predMethod = 'maxLocation'; % 'maxCandidate'/'maxLocation'
params.heatMapThresh = 0.2; %used for window file generation
params.alpha = 0.1;
params.numKpCands = 1;
params.rigidApkEvalAlpha = 0.1;
end