1 #ifndef MTF_RG_PARAMS_H 2 #define MTF_RG_PARAMS_H 7 #define RG_MAX_ITERS 10 8 #define RG_EPSILON 0.01 9 #define RG_N_SAMPLES 1000 11 #define RG_CONFIG_FILE "Config/nn.cfg" 12 #define RG_ADDITIVE_UPDATE 1 13 #define RG_SHOW_SAMPLES 1 14 #define RG_ADD_POINTS 0 15 #define RG_REMOVE_POINTS 0 16 #define RG_LOAD_INDEX 0 17 #define RG_SAVE_INDEX 0 18 #define RG_INDEX_FILE_TEMPLATE "nn_saved_index" 19 #define RG_DEBUG_MODE false 29 typedef std::vector<double> vectord;
30 typedef std::vector<vectord> vectorvd;
49 std::string saved_index_dir;
58 char *solver_file, *train_file, *mean_file;
62 RegNetParams(
int _max_iters,
int _n_samples,
double _epsilon,
63 const vectorvd &_ssm_sigma, vectorvd _ssm_mean,
64 vectord _pix_sigma,
bool _additive_update,
int _show_samples,
65 int _add_points,
int _remove_points,
bool load_index,
66 bool _save_index, std::string _saved_index_dir,
67 bool _debug_mode,
int _n_epochs,
int _bs,
68 bool _preproc,
char *_solver_f,
char *_train_f,
69 char *_mean_f,
bool _debug,
bool _pretrained);
Definition: RegNetParams.h:33
int n_samples
maximum iterations of the NN algorithm to run for each frame
Definition: RegNetParams.h:35
Definition: RegNetParams.h:32
vectorvd ssm_sigma
maximum L2 norm of the state update vector at which to stop the iterations
Definition: RegNetParams.h:38
bool debug_mode
decides whether logging data will be printed for debugging purposes; only matters if logging is enabl...
Definition: RegNetParams.h:53