Skip to content

Errors in launching the conversation mode #63

@dennisgu

Description

@dennisgu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions