You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
c++ -pthread -fno-strict-aliasing -g -fwrapv -O2 -Wall -Wdate-time -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -DNDEBUG -D_FORTIFY_SOURCE=2 -I/usr/include/python2.7 -I/usr/local/cuda/include /tmp/asp_cache_ubuntu/2d078836d05987f85c8b136a5ae5a8c7/module.o /tmp/asp_cache_ubuntu/820bc0d22fdd0d4c58e04cfe09a4963e/gpu.o -L/usr/lib -L/usr/local/cuda/lib -L/usr/local/cuda/lib64 -lcuda -lcublas -lcudart -lboost_python -lpython2.7 -lpthread -ldl -lutil -o /tmp/asp_cache_ubuntu/codepy.temp.2d078836d05987f85c8b136a5ae5a8c7.820bc0d22fdd0d4c58e04cfe09a4963e.module.so
No config file specified, using defaul 'diarizer.cfg' file
Speech file spnsp_file not specified, continuing without it...
...Reading in HTK feature file...
INFO: total number of frames read: 11368
...Reading in speech/nonspeech file...
====================== CLUSTERING ON SUBSET ======================
GMM SPECIALIZER: USING CUDA
c++ -pthread -fno-strict-aliasing -g -fwrapv -O2 -Wall -Wdate-time -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -DNDEBUG -D_FORTIFY_SOURCE=2 -I/usr/include/python2.7 -I/home/ubuntu/.local/lib/python2.7/site-packages/numpy/core/include -I/usr/local/cuda/include /tmp/asp_cache_ubuntu/b3946a00f5a557aa059251ee30f8cdbc/module.o /tmp/asp_cache_ubuntu/24e36246626cf2c6839211f268b2aa71/gpu.o -L/usr/lib -L/usr/local/cuda/lib -L/usr/local/cuda/lib64 -lcuda -lcublas -lcudart -lboost_python -lpython2.7 -lpthread -ldl -lutil -o /tmp/asp_cache_ubuntu/codepy.temp.b3946a00f5a557aa059251ee30f8cdbc.24e36246626cf2c6839211f268b2aa71.module.so
Traceback (most recent call last):
File "cluster.py", line 700, in
num_seg_iters, seg_length)
File "cluster.py", line 488, in cluster_use_subset
new_gmm, score = compute_distance_BIC_idx(g1, g2, self.X, indices)
File "build/bdist.linux-x86_64/egg/gmm_specializer/gmm.py", line 885, in compute_distance_BIC_idx
TypeError: unsupported operand type(s) for +: 'float' and 'NoneType'
I am unsure as to how to solve this. Is it a result of me generating the HTK file incorrectly? I did it by installing the HTK Toolkit (http://htk.eng.cam.ac.uk/download.shtml) and used the following config file:
When I run the diarizer example, with the following configurations:
[Diarizer]
basename = test
mfcc_feats = test.htk
output_cluster = test.rttm
gmm_output = test.gmm
em_iterations = 3
initial_clusters = 16
M_mfcc = 5
KL_ntop = 3
num_seg_iters_init = 1
num_seg_iters = 1
seg_length = 250
I get the following result:
c++ -pthread -fno-strict-aliasing -g -fwrapv -O2 -Wall -Wdate-time -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -DNDEBUG -D_FORTIFY_SOURCE=2 -I/usr/include/python2.7 -I/usr/local/cuda/include /tmp/asp_cache_ubuntu/2d078836d05987f85c8b136a5ae5a8c7/module.o /tmp/asp_cache_ubuntu/820bc0d22fdd0d4c58e04cfe09a4963e/gpu.o -L/usr/lib -L/usr/local/cuda/lib -L/usr/local/cuda/lib64 -lcuda -lcublas -lcudart -lboost_python -lpython2.7 -lpthread -ldl -lutil -o /tmp/asp_cache_ubuntu/codepy.temp.2d078836d05987f85c8b136a5ae5a8c7.820bc0d22fdd0d4c58e04cfe09a4963e.module.so
No config file specified, using defaul 'diarizer.cfg' file
Speech file spnsp_file not specified, continuing without it...
...Reading in HTK feature file...
INFO: total number of frames read: 11368
...Reading in speech/nonspeech file...
====================== CLUSTERING ON SUBSET ======================
GMM SPECIALIZER: USING CUDA
c++ -pthread -fno-strict-aliasing -g -fwrapv -O2 -Wall -Wdate-time -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -DNDEBUG -D_FORTIFY_SOURCE=2 -I/usr/include/python2.7 -I/home/ubuntu/.local/lib/python2.7/site-packages/numpy/core/include -I/usr/local/cuda/include /tmp/asp_cache_ubuntu/b3946a00f5a557aa059251ee30f8cdbc/module.o /tmp/asp_cache_ubuntu/24e36246626cf2c6839211f268b2aa71/gpu.o -L/usr/lib -L/usr/local/cuda/lib -L/usr/local/cuda/lib64 -lcuda -lcublas -lcudart -lboost_python -lpython2.7 -lpthread -ldl -lutil -o /tmp/asp_cache_ubuntu/codepy.temp.b3946a00f5a557aa059251ee30f8cdbc.24e36246626cf2c6839211f268b2aa71.module.so
Traceback (most recent call last):
File "cluster.py", line 700, in
num_seg_iters, seg_length)
File "cluster.py", line 488, in cluster_use_subset
new_gmm, score = compute_distance_BIC_idx(g1, g2, self.X, indices)
File "build/bdist.linux-x86_64/egg/gmm_specializer/gmm.py", line 885, in compute_distance_BIC_idx
TypeError: unsupported operand type(s) for +: 'float' and 'NoneType'
I am unsure as to how to solve this. Is it a result of me generating the HTK file incorrectly? I did it by installing the HTK Toolkit (http://htk.eng.cam.ac.uk/download.shtml) and used the following config file:
TARGETKIND = MFCC_0
TARGETRATE = 100000.0
SAVECOMPRESSED = T
SAVEWITHCRC = T
WINDOWSIZE = 250000.0
USEHAMMING = T
PREEMCOEF = 0.97
NUMCHANS = 26
CEPLIFTER = 22
NUMCEPS = 12
ENORMALISE = F
SOURCEKIND = WAVEFORM
SOURCEFORMAT = NOHEAD
SOURCERATE = 1250
Any help would be greatly appreciated!
The text was updated successfully, but these errors were encountered: