projects
/
folded-ctf.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
automatic commit
[folded-ctf.git]
/
global.h
diff --git
a/global.h
b/global.h
index
a053d3d
..
8a1978f
100644
(file)
--- a/
global.h
+++ b/
global.h
@@
-12,10
+12,18
@@
// You should have received a copy of the GNU General Public License //
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
// //
// You should have received a copy of the GNU General Public License //
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
// //
-// Written by Francois Fleuret, (C) IDIAP //
+// Written by Francois Fleuret //
+// (C) Idiap Research Institute //
+// //
// Contact <francois.fleuret@idiap.ch> for comments & bug reports //
///////////////////////////////////////////////////////////////////////////
// Contact <francois.fleuret@idiap.ch> for comments & bug reports //
///////////////////////////////////////////////////////////////////////////
+/*
+
+ We stuff all the global values in there.
+
+ */
+
#ifndef GLOBAL_H
#define GLOBAL_H
#ifndef GLOBAL_H
#define GLOBAL_H
@@
-28,7
+36,6
@@
using namespace std;
#include "progress_bar.h"
enum { LOSS_EXPONENTIAL,
#include "progress_bar.h"
enum { LOSS_EXPONENTIAL,
- LOSS_EV_REGULARIZED,
LOSS_HINGE,
LOSS_LOGISTIC };
LOSS_HINGE,
LOSS_LOGISTIC };
@@
-43,12
+50,10
@@
public:
char detector_name[buffer_size];
char result_path[buffer_size];
char detector_name[buffer_size];
char result_path[buffer_size];
- char materials_image_numbers[buffer_size];
- char materials_pf_numbers[buffer_size];
-
int loss_type;
int nb_images;
int loss_type;
int nb_images;
+ int material_feature_nb;
int tree_depth_max;
int tree_depth_max;
@@
-73,7
+78,7
@@
public:
int nb_scales_per_power_of_two;
scalar_t min_head_radius;
scalar_t max_head_radius;
int nb_scales_per_power_of_two;
scalar_t min_head_radius;
scalar_t max_head_radius;
- int root_cell_nb_xy_per_
scale
;
+ int root_cell_nb_xy_per_
radius
;
scalar_t pi_feature_window_min_size;
scalar_t pi_feature_window_min_size;