The evaluate.py file defines the evaluation function for the model.
- Arguments:
config(dict): Configuration dictionary containing the parameters for evaluation.
config = {
"weightsPath": "path/to/weights.hdf5",
"outFileName": "path/to/evaluation_results.csv",
"data_directory_path": "path/to/data/",
"labels_directory_path": "path/to/labels/",
"n_filters": 5,
"pool_size": 3,
"val_batch_size": 500,
"val_file_size": 10
}
evaluate(config)