Walleclipse / Deep_Speaker-speaker_recognition_system

Keras implementation of ‘’Deep Speaker: an End-to-End Neural Speaker Embedding System‘’ (speaker recognition)
245 stars 81 forks source link

如何运行 #40

Closed LittleMaWen closed 5 years ago

LittleMaWen commented 5 years ago

您好,请问运行前是否需要先激活tensorflow环境?然后再运行python train.py?我激活环境运行该文件后,出现以下错误: Using TensorFlow backend. Traceback (most recent call last): File "train.py", line 22, in import select_batch File "/home/dcase/mawen/SW/Deep_Speaker-speaker_recognition_system-master/select_batch.py", line 18, in from pre_process import data_catalog File "/home/dcase/mawen/SW/Deep_Speaker-speaker_recognition_system-master/pre_process.py", line 6, in from python_speech_features import fbank, delta ModuleNotFoundError: No module named 'python_speech_features' 在我conda install python_speech_features后,又出现以下错误: Collecting package metadata: done Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

Current channels:

To search for alternate channels that may provide the conda package you're looking for, navigate to

https://anaconda.org

and use the search bar at the top of the page. 请问该如何解决?

Walleclipse commented 5 years ago

pip install python_speech_features conda 似乎无法安装python_speech_features这个库,需要用 pip install

LittleMaWen commented 5 years ago

谢谢谢谢~我之前激活tensorflow用的是conda activate tensorflow-gpu这个命令,现在直接source activate tensorflow,然后运行train.py就没有出现这个问题了!感谢!另外,想请问,首先python train.py之后,接下来的步骤是怎样呢?train.py是在训练模型嘛?不好意思,我刚接触,不太懂,烦请回复,谢谢您!