Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors in launching the conversation mode #63

Open
dennisgu opened this issue Nov 30, 2017 · 0 comments
Open

Errors in launching the conversation mode #63

dennisgu opened this issue Nov 30, 2017 · 0 comments

Comments

@dennisgu
Copy link

dennisgu commented Nov 30, 2017

Hi all,
is there any one ever met this issue with output as below, to run gui.py and, in conversation mode:

python2.7 /root/src/git-repos/asr/speaker-recognition/src/gui/gui.py
No module named bob
Warning: failed to import Bob, will use a slower version of MFCC instead.
Warning: failed to import fast-gmm, use gmm from scikit-learn instead
avatar/ltz.jpg ltz
avatar/zxy.jpg zxy
avatar/doubao.jpg doubao
avatar/wyx.jpg wyx
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:867:(find_matching_chmap) Found no matching channel map
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
Traceback (most recent call last):
File "/root/src/git-repos/asr/speaker-recognition/src/gui/gui.py", line 188, in do_conversation
signal = self.backend.filter(Main.FS, signal)
File "/root/src/git-repos/asr/speaker-recognition/src/gui/interface.py", line 47, in filter
ret, intervals = self.vad.filter(fs, signal)
File "/root/src/git-repos/asr/speaker-recognition/src/gui/filters/VAD.py", line 29, in filter
raise "NoiseFilter Not Initialized"
TypeError: exceptions must be old-style classes or derived from BaseException, not str

exceptions must be old-style classes or derived from BaseException, not str
None label to show

someone who could help me?
thanks in advance.

system configuration:
Ubuntu 16.04, python 2.7 (debugged in PyCharm Community v2017.2.4)
i7 7700K, 16GB
audio: USB headset with mic built in.

@dennisgu dennisgu changed the title error on launching Errors while launching the conversation mode Nov 30, 2017
@dennisgu dennisgu changed the title Errors while launching the conversation mode Errors in launching the conversation mode Nov 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant