Skip to content
Snippets Groups Projects
Commit 69385bb4 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

Use len(array) for more portable code.

parent acd09320
No related branches found
No related tags found
1 merge request!31[gmm] small fixes to make sure the gmm algorithm runs
Pipeline #59331 failed
...@@ -284,7 +284,7 @@ class GMM(BioAlgorithm, BaseEstimator): ...@@ -284,7 +284,7 @@ class GMM(BioAlgorithm, BaseEstimator):
if isinstance(array, da.Array): if isinstance(array, da.Array):
array = array.persist() array = array.persist()
logger.debug("UBM with %d feature vectors", array.shape[0]) logger.debug("UBM with %d feature vectors", len(array))
logger.debug(f"Creating UBM machine with {self.number_of_gaussians} gaussians") logger.debug(f"Creating UBM machine with {self.number_of_gaussians} gaussians")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment