Skip to content
Snippets Groups Projects
Commit 6c79c21f authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Merge branch 'cleanup_numerical_parameters' into 'master'

Fix numerical parameter type

See merge request !19
parents 4784aaf7 c4bd73dd
No related branches found
No related tags found
1 merge request!19Fix numerical parameter type
Showing
with 64 additions and 64 deletions
...@@ -21,9 +21,9 @@ ...@@ -21,9 +21,9 @@
], ],
"parameters": { "parameters": {
"rate": { "rate": {
"default": "16000.0", "default": 16000.0,
"type": "float64", "type": "float64",
"description": "sampling rate" "description": "sampling rate"
} }
} }
} }
...@@ -21,32 +21,32 @@ ...@@ -21,32 +21,32 @@
], ],
"parameters": { "parameters": {
"crop-height": { "crop-height": {
"default": "80", "default": 80,
"type": "uint32", "type": "uint32",
"description": "height of the resulting cropped image" "description": "height of the resulting cropped image"
}, },
"crop-width": { "crop-width": {
"default": "64", "default": 64,
"type": "uint32", "type": "uint32",
"description": "width of the resulting cropped image" "description": "width of the resulting cropped image"
}, },
"right-eye-y": { "right-eye-y": {
"default": "16", "default": 16,
"type": "uint32", "type": "uint32",
"description": "y-coordinate of the right eye on the cropped image" "description": "y-coordinate of the right eye on the cropped image"
}, },
"right-eye-x": { "right-eye-x": {
"default": "15", "default": 15,
"type": "uint32", "type": "uint32",
"description": "x-coordinate of the right eye on the cropped image" "description": "x-coordinate of the right eye on the cropped image"
}, },
"left-eye-y": { "left-eye-y": {
"default": "16", "default": 16,
"type": "uint32", "type": "uint32",
"description": "y-coordinate of the left eye on the cropped image" "description": "y-coordinate of the left eye on the cropped image"
}, },
"left-eye-x": { "left-eye-x": {
"default": "48", "default": 48,
"type": "uint32", "type": "uint32",
"description": "x-coordinate of the left eye on the cropped image" "description": "x-coordinate of the left eye on the cropped image"
} }
......
...@@ -18,17 +18,17 @@ ...@@ -18,17 +18,17 @@
], ],
"parameters": { "parameters": {
"block-size": { "block-size": {
"default": "12", "default": 12,
"type": "uint32", "type": "uint32",
"description":"Size of the block (in pixels)" "description":"Size of the block (in pixels)"
}, },
"block-overlap": { "block-overlap": {
"default": "11", "default": 11,
"type": "uint32", "type": "uint32",
"description":"Size of the block overlap (in pixels)" "description":"Size of the block overlap (in pixels)"
}, },
"number-of-components": { "number-of-components": {
"default": "45", "default": 45,
"type": "uint32", "type": "uint32",
"description":"Number of the DCT components kept per block (using the zig-zag ordering)" "description":"Number of the DCT components kept per block (using the zig-zag ordering)"
} }
......
...@@ -18,9 +18,9 @@ ...@@ -18,9 +18,9 @@
], ],
"parameters": { "parameters": {
"rate": { "rate": {
"default": "16000.0", "default": 16000.0,
"type": "float64", "type": "float64",
"description": "sampling rate" "description": "sampling rate"
} }
} }
} }
...@@ -18,12 +18,12 @@ ...@@ -18,12 +18,12 @@
], ],
"parameters": { "parameters": {
"number-of-gaussians": { "number-of-gaussians": {
"default": "100", "default": 100,
"type": "uint32", "type": "uint32",
"description":" The number of Gaussian Components" "description":" The number of Gaussian Components"
}, },
"maximum-number-of-iterations": { "maximum-number-of-iterations": {
"default": "10", "default": 10,
"type": "uint32", "type": "uint32",
"description":"The maximum number of iterations for the EM algorithm" "description":"The maximum number of iterations for the EM algorithm"
} }
......
...@@ -18,12 +18,12 @@ ...@@ -18,12 +18,12 @@
], ],
"parameters": { "parameters": {
"number-of-gaussians": { "number-of-gaussians": {
"default": "100", "default": 100,
"type": "uint32", "type": "uint32",
"description":"The number of Gaussian Components" "description":"The number of Gaussian Components"
}, },
"maximum-number-of-iterations": { "maximum-number-of-iterations": {
"default": "10", "default": 10,
"type": "uint32", "type": "uint32",
"description":"The maximum number of iterations for the EM algorithm" "description":"The maximum number of iterations for the EM algorithm"
} }
......
...@@ -25,22 +25,22 @@ ...@@ -25,22 +25,22 @@
], ],
"parameters": { "parameters": {
"isv-training-iterations": { "isv-training-iterations": {
"default": "10", "default": 10,
"type": "uint32", "type": "uint32",
"description": "The maximum number of iterations for the EM algorithm." "description": "The maximum number of iterations for the EM algorithm."
}, },
"relevance-factor": { "relevance-factor": {
"default": "4.0", "default": 4.0,
"type": "float64", "type": "float64",
"description": "The relevance factor used for the client specific shift." "description": "The relevance factor used for the client specific shift."
}, },
"subspace-dimension-of-u": { "subspace-dimension-of-u": {
"default": "50", "default": 50,
"type": "uint32", "type": "uint32",
"description":"The dimension of the U subspace. In the end the U subspace has the size (CM,subspace-dimension-of-u), where C is the number of gaussian components and M is the dimensionality of the feature vector." "description":"The dimension of the U subspace. In the end the U subspace has the size (CM,subspace-dimension-of-u), where C is the number of gaussian components and M is the dimensionality of the feature vector."
}, },
"init-seed": { "init-seed": {
"default": "0", "default": 0,
"type": "uint32", "type": "uint32",
"description":"Seed for the pseudo random number generator" "description":"Seed for the pseudo random number generator"
} }
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
], ],
"parameters": { "parameters": {
"isv-enroll-iterations": { "isv-enroll-iterations": {
"default": "1", "default": 1,
"type": "uint32", "type": "uint32",
"description":"The maximum number of iterations for the EM algorithm." "description":"The maximum number of iterations for the EM algorithm."
} }
......
...@@ -22,42 +22,42 @@ ...@@ -22,42 +22,42 @@
"parameters": { "parameters": {
"crop-height": { "crop-height": {
"description": "The height of the cropped image", "description": "The height of the cropped image",
"default": "80", "default": 80,
"type": "uint32" "type": "uint32"
}, },
"crop-width": { "crop-width": {
"description": "The width of the cropped image", "description": "The width of the cropped image",
"default": "64", "default": 64,
"type": "uint32" "type": "uint32"
}, },
"right-eye-y": { "right-eye-y": {
"description": "The vertical position of the right eye (subject perspective) in the cropped image", "description": "The vertical position of the right eye (subject perspective) in the cropped image",
"default": "16", "default": 16,
"type": "uint32" "type": "uint32"
}, },
"right-eye-x": { "right-eye-x": {
"description": "The horizontal position of the right eye (subject perspective) in the cropped image", "description": "The horizontal position of the right eye (subject perspective) in the cropped image",
"default": "15", "default": 15,
"type": "uint32" "type": "uint32"
}, },
"left-eye-y": { "left-eye-y": {
"description": "The vertical position of the left eye (subject perspective) in the cropped image", "description": "The vertical position of the left eye (subject perspective) in the cropped image",
"default": "16", "default": 16,
"type": "uint32" "type": "uint32"
}, },
"left-eye-x": { "left-eye-x": {
"description": "The horizontal position of the left eye (subject perspective) in the cropped image", "description": "The horizontal position of the left eye (subject perspective) in the cropped image",
"default": "48", "default": 48,
"type": "uint32" "type": "uint32"
}, },
"block-size": { "block-size": {
"description": "The size of the image blocks, from which local histograms should be extracted", "description": "The size of the image blocks, from which local histograms should be extracted",
"default": "12", "default": 12,
"type": "uint32" "type": "uint32"
}, },
"block-overlap": { "block-overlap": {
"description": "The overlap of those block, must be smaller than the block-size", "description": "The overlap of those block, must be smaller than the block-size",
"default": "11", "default": 11,
"type": "uint32" "type": "uint32"
} }
} }
......
...@@ -21,17 +21,17 @@ ...@@ -21,17 +21,17 @@
], ],
"parameters": { "parameters": {
"number-of-hidden-units": { "number-of-hidden-units": {
"default": "10", "default": 10,
"type": "uint32", "type": "uint32",
"description": "the number of hidden uints in the hidden layer. If set to 0, no hidden layer is employed." "description": "the number of hidden uints in the hidden layer. If set to 0, no hidden layer is employed."
}, },
"number-of-iterations": { "number-of-iterations": {
"default": "50", "default": 50,
"type": "uint32", "type": "uint32",
"description": "the number of training iteration (R-prop iterations)" "description": "the number of training iteration (R-prop iterations)"
}, },
"seed": { "seed": {
"default": "0", "default": 0,
"type": "uint32", "type": "uint32",
"description": "the seed of the random number generator used to generate batch of samples" "description": "the seed of the random number generator used to generate batch of samples"
} }
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
], ],
"parameters": { "parameters": {
"number-of-components": { "number-of-components": {
"default": "5", "default": 5,
"type": "uint32", "type": "uint32",
"number-of-components": "the number of dimensions to retain after applying PCA" "number-of-components": "the number of dimensions to retain after applying PCA"
} }
......
...@@ -24,12 +24,12 @@ ...@@ -24,12 +24,12 @@
], ],
"parameters": { "parameters": {
"number-of-pca-components": { "number-of-pca-components": {
"default": "5", "default": 5,
"type": "uint32", "type": "uint32",
"description": "the number of dimensions to retain after applying PCA" "description": "the number of dimensions to retain after applying PCA"
}, },
"number-of-lda-components": { "number-of-lda-components": {
"default": "2", "default": 2,
"type": "uint32", "type": "uint32",
"description": "the number of dimensions to retain after applying LDA" "description": "the number of dimensions to retain after applying LDA"
} }
......
...@@ -18,32 +18,32 @@ ...@@ -18,32 +18,32 @@
], ],
"parameters": { "parameters": {
"sigma0": { "sigma0": {
"default": "1.0", "default": 1.0,
"type": "float64", "type": "float64",
"description": "variance of the first Gaussian filter for the Difference of Gaussian" "description": "variance of the first Gaussian filter for the Difference of Gaussian"
}, },
"sigma1": { "sigma1": {
"default": "2.0", "default": 2.0,
"type": "float64", "type": "float64",
"description": "variance of the second Gaussian filter for the Difference of Gaussian" "description": "variance of the second Gaussian filter for the Difference of Gaussian"
}, },
"gamma": { "gamma": {
"default": "0.2", "default": 0.2,
"type": "float64", "type": "float64",
"description": "exponent for the gamma correction" "description": "exponent for the gamma correction"
}, },
"kernel_size": { "kernel_size": {
"default": "5", "default": 5,
"type": "int64", "type": "int64",
"description": "size of the Gaussian kernels for the Difference of Gaussian" "description": "size of the Gaussian kernels for the Difference of Gaussian"
}, },
"threshold": { "threshold": {
"default": "10.0", "default": 10.0,
"type": "float64", "type": "float64",
"description": "threshold for the contrast equalization" "description": "threshold for the contrast equalization"
}, },
"alpha": { "alpha": {
"default": "0.1", "default": 0.1,
"type": "float64", "type": "float64",
"description": "exponent for the contrast equalization" "description": "exponent for the contrast equalization"
} }
......
...@@ -81,12 +81,12 @@ into account):: ...@@ -81,12 +81,12 @@ into account)::
"description": "The title for this plot" "description": "The title for this plot"
}, },
"xaxis_multiplier": { "xaxis_multiplier": {
"default": "1.0", "default": 1.0,
"type": "float64", "type": "float64",
"description": "The multiplication factor for the X-axis (horizontal)" "description": "The multiplication factor for the X-axis (horizontal)"
}, },
"yaxis_multiplier": { "yaxis_multiplier": {
"default": "1.0", "default": 1.0,
"type": "float64", "type": "float64",
"description": "The multiplication factor for the Y-axis (vertical)" "description": "The multiplication factor for the Y-axis (vertical)"
}, },
......
...@@ -17,22 +17,22 @@ ...@@ -17,22 +17,22 @@
"description": "The label of the Y-axis (vertical)" "description": "The label of the Y-axis (vertical)"
}, },
"xlim-left":{ "xlim-left":{
"default": "0.0", "default": 0.0,
"type": "float64", "type": "float64",
"description": "" "description": ""
}, },
"xlim-right":{ "xlim-right":{
"default": "100.0", "default": 100.0,
"type": "float64", "type": "float64",
"description": "" "description": ""
}, },
"ylim-bottom":{ "ylim-bottom":{
"default": "0.0", "default": 0.0,
"type": "float64", "type": "float64",
"description": "" "description": ""
}, },
"ylim-top":{ "ylim-top":{
"default": "100.0", "default": 100.0,
"type": "float64", "type": "float64",
"description": "" "description": ""
}, },
...@@ -47,22 +47,22 @@ ...@@ -47,22 +47,22 @@
"description": "Controls the title font size" "description": "Controls the title font size"
}, },
"xaxis_multiplier": { "xaxis_multiplier": {
"default": "100.0", "default": 100.0,
"type": "float64", "type": "float64",
"description": "The multiplication factor for the X-axis (horizontal)" "description": "The multiplication factor for the X-axis (horizontal)"
}, },
"yaxis_multiplier": { "yaxis_multiplier": {
"default": "100.0", "default": 100.0,
"type": "float64", "type": "float64",
"description": "The multiplication factor for the Y-axis (vertical)" "description": "The multiplication factor for the Y-axis (vertical)"
}, },
"axis-fontsize": { "axis-fontsize": {
"default": 10, "default": 10,
"type": "uint16", "type": "uint16",
"description": "Controls the axis font size (labels and values)" "description": "Controls the axis font size (labels and values)"
}, },
"legend": { "legend": {
"default": "", "default": "",
"type": "string", "type": "string",
......
...@@ -17,22 +17,22 @@ ...@@ -17,22 +17,22 @@
"description": "The label of the Y-axis (vertical)" "description": "The label of the Y-axis (vertical)"
}, },
"xlim-left":{ "xlim-left":{
"default": "0.0", "default": 0.0,
"type": "float64", "type": "float64",
"description": "" "description": ""
}, },
"xlim-right":{ "xlim-right":{
"default": "100.0", "default": 100.0,
"type": "float64", "type": "float64",
"description": "" "description": ""
}, },
"ylim-bottom":{ "ylim-bottom":{
"default": "0.0", "default": 0.0,
"type": "float64", "type": "float64",
"description": "" "description": ""
}, },
"ylim-top":{ "ylim-top":{
"default": "100.0", "default": 100.0,
"type": "float64", "type": "float64",
"description": "" "description": ""
}, },
...@@ -47,22 +47,22 @@ ...@@ -47,22 +47,22 @@
"description": "Controls the title font size" "description": "Controls the title font size"
}, },
"xaxis_multiplier": { "xaxis_multiplier": {
"default": "100.0", "default": 100.0,
"type": "float64", "type": "float64",
"description": "The multiplication factor for the X-axis (horizontal)" "description": "The multiplication factor for the X-axis (horizontal)"
}, },
"yaxis_multiplier": { "yaxis_multiplier": {
"default": "100.0", "default": 100.0,
"type": "float64", "type": "float64",
"description": "The multiplication factor for the Y-axis (vertical)" "description": "The multiplication factor for the Y-axis (vertical)"
}, },
"axis-fontsize": { "axis-fontsize": {
"default": 10, "default": 10,
"type": "uint16", "type": "uint16",
"description": "Controls the axis font size (labels and values)" "description": "Controls the axis font size (labels and values)"
}, },
"legend": { "legend": {
"default": "", "default": "",
"type": "string", "type": "string",
......
...@@ -22,12 +22,12 @@ ...@@ -22,12 +22,12 @@
"description": "The title for this plot" "description": "The title for this plot"
}, },
"xaxis_multiplier": { "xaxis_multiplier": {
"default": "1.0", "default": 1.0,
"type": "float64", "type": "float64",
"description": "The multiplication factor for the X-axis (horizontal)" "description": "The multiplication factor for the X-axis (horizontal)"
}, },
"yaxis_multiplier": { "yaxis_multiplier": {
"default": "1.0", "default": 1.0,
"type": "float64", "type": "float64",
"description": "The multiplication factor for the Y-axis (vertical)" "description": "The multiplication factor for the Y-axis (vertical)"
}, },
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
], ],
"parameters": { "parameters": {
"offset": { "offset": {
"default": "1", "default": 1,
"type": "int32" "type": "int32"
} }
}, },
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
], ],
"parameters": { "parameters": {
"delay": { "delay": {
"default": "30", "default": 30,
"type": "uint32", "type": "uint32",
"description": "Time to sleep in seconds" "description": "Time to sleep in seconds"
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment