This is the code
T = bob.bio.gmm.algorithm.GMM(number_of_gaussians = 128,
kmeans_training_iterations=25, gmm_training_iterations=25,
training_threshold=0.0005, variance_threshold=0.0005,
update_weights=True, update_means=True, update_variances=True,
relevance_factor=4, gmm_enroll_iterations=1,
responsibility_threshold=0, INIT_SEED=5489)
T.enroll(ceps) #ceps = extracted feature
This is the error :
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/export/home/speakerrec/anaconda3/lib/python3.6/site-packages/bob/bio/gmm/algorithm/GMM.py", line 207, in enroll
[self._check_feature(feature) for feature in feature_arrays]
File "/export/home/speakerrec/anaconda3/lib/python3.6/site-packages/bob/bio/gmm/algorithm/GMM.py", line 207, in <listcomp>
[self._check_feature(feature) for feature in feature_arrays]
File "/export/home/speakerrec/anaconda3/lib/python3.6/site-packages/bob/bio/gmm/algorithm/GMM.py", line 91, in _check_feature
raise ValueError("The given feature is not appropriate")
ValueError: The given feature is not appropriate
when I try to check the feature, the feature is 2-dimensional and float64 :>>> ceps.ndim--
2
>>> ceps.ndim
2
>>> ceps.dtype
dtype('float64')
>>> isinstance(ceps, numpy.ndarray)
True
-- You received this message because you are subscribed to the Google Groups bob-devel group. To post to this group, send email to bob-...@googlegroups.com. To unsubscribe from this group, send email to bob-devel+...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/bob-devel or directly the project website at http://idiap.github.com/bob/
---
You received this message because you are subscribed to the Google Groups "bob-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bob-devel+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Dear Angga,
I have no idea what you are doing and why you are doing this.
Please refer to the documentation of bob.bio.base to start with.
Thanks,
Amir
Dear Angga,
I have no idea what you are doing and why you are doing this.
Please refer to the documentation of bob.bio.base to start with.Thanks,
Amir
On Thu, Nov 23, 2017, 5:37 AM Angga dwi firmanto <anggadwi...@gmail.com> wrote:
Dear Amir,
I am trying to run :
T.enroll([ceps])
and get this error :
Traceback (most recent call last):
File "<stdin>", line 1, in <module>File "/export/home/speakerrec/anaconda3/lib/python3.6/site-packages/bob/bio/gmm/algorithm/GMM.py", line 210, in enroll--
return self.enroll_gmm(array)
File "/export/home/speakerrec/anaconda3/lib/python3.6/site-packages/bob/bio/gmm/algorithm/GMM.py", line 200, in enroll_gmm
gmm = bob.learn.em.GMMMachine(self.ubm)
TypeError: an integer is required (got type NoneType)
is there another missing step ?
Thanks in advance,
Angga
-- You received this message because you are subscribed to the Google Groups bob-devel group. To post to this group, send email to bob-...@googlegroups.com. To unsubscribe from this group, send email to bob-devel+unsubscribe@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/bob-devel or directly the project website at http://idiap.github.com/bob/
---
You received this message because you are subscribed to the Google Groups "bob-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bob-devel+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
-- You received this message because you are subscribed to the Google Groups bob-devel group. To post to this group, send email to bob-...@googlegroups.com. To unsubscribe from this group, send email to bob-devel+unsubscribe@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/bob-devel or directly the project website at http://idiap.github.com/bob/
---
You received this message because you are subscribed to the Google Groups "bob-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bob-devel+unsubscribe@googlegroups.com.
-- You received this message because you are subscribed to the Google Groups bob-devel group. To post to this group, send email to bob-...@googlegroups.com. To unsubscribe from this group, send email to bob-devel+...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/bob-devel or directly the project website at http://idiap.github.com/bob/
---
You received this message because you are subscribed to the Google Groups "bob-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bob-devel+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
-- You received this message because you are subscribed to the Google Groups bob-devel group. To post to this group, send email to bob-...@googlegroups.com. To unsubscribe from this group, send email to bob-devel+...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/bob-devel or directly the project website at http://idiap.github.com/bob/
---
You received this message because you are subscribed to the Google Groups "bob-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bob-devel+...@googlegroups.com.
----Tiago
-- You received this message because you are subscribed to the Google Groups bob-devel group. To post to this group, send email to bob-...@googlegroups.com. To unsubscribe from this group, send email to bob-devel+...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/bob-devel or directly the project website at http://idiap.github.com/bob/
---
You received this message because you are subscribed to the Google Groups "bob-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bob-devel+...@googlegroups.com.
-- You received this message because you are subscribed to the Google Groups bob-devel group. To post to this group, send email to bob-...@googlegroups.com. To unsubscribe from this group, send email to bob-devel+...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/bob-devel or directly the project website at http://idiap.github.com/bob/
---
You received this message because you are subscribed to the Google Groups "bob-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bob-devel+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
-- You received this message because you are subscribed to the Google Groups bob-devel group. To post to this group, send email to bob-...@googlegroups.com. To unsubscribe from this group, send email to bob-devel+...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/bob-devel or directly the project website at http://idiap.github.com/bob/
---
You received this message because you are subscribed to the Google Groups "bob-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bob-devel+...@googlegroups.com.
--Tiago