Skip to content
Snippets Groups Projects
Commit c3a14afc authored by Amir Mohammadi's avatar Amir Mohammadi
Browse files

t_model is the same as model (in size)

parent 90f3840f
No related branches found
No related tags found
1 merge request!58You can now specify a minimum file size for saved files
Pipeline #
......@@ -65,10 +65,6 @@ class Algorithm:
The minimum file size of model_file in bytes. If the saved file is smaller
than this, it is assumed to be corrupt and it will be generated again.
min_t_model_file_size : int
The minimum file size of t_model_file in bytes. If the saved file is smaller
than this, it is assumed to be corrupt and it will be generated again.
kwargs : ``key=value`` pairs
A list of keyword arguments to be written in the `__str__` function.
......@@ -102,7 +98,6 @@ class Algorithm:
self.min_projected_file_size = min_projected_file_size
self.min_enroller_file_size = min_enroller_file_size
self.min_model_file_size = min_model_file_size
self.min_t_model_file_size = min_t_model_file_size
self._kwargs = kwargs
self._kwargs.update({'multiple_model_scoring':multiple_model_scoring, 'multiple_probe_scoring':multiple_probe_scoring})
......
......@@ -310,7 +310,7 @@ def enroll(algorithm, extractor, compute_zt_norm, indices = None, groups = ['dev
# Removes old file if required
if not utils.check_file(t_model_file, force,
algorithm.min_t_model_file_size):
algorithm.min_model_file_size):
t_enroll_files = fs.t_enroll_files(t_model_id, group, 'projected' if algorithm.use_projected_features_for_enrollment else 'extracted')
if allow_missing_files:
......
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