Commit bc892135 authored by wangwei990215's avatar wangwei990215
Browse files

Update README.md

parent 7f2c9096
......@@ -118,6 +118,11 @@ python fairseq/train.py manifest/path --save-dir model-save/ --num-workers 6 --f
## 推理
### 对语音文件进行特征提取
首先安装h5py用于读取模型文件
```
pip install h5py
```
```
PYTHONPATH=/path/to/fairseq python examples/wav2vec/wav2vec_featurize.py --input path/to/task/waves --ext flac --output /path/to/output \
--model /model/path/checkpoint_best.pt --split dir1 dir2
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment