公告板
版本库
filestore
活动
搜索
登录
python
/
FunASR-XL
FUNASR训练
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
1. bug fix:list(mean)和list(var),由于mean和var是numpy,导致写入到文件的格式错误,参考上面的话,大概率是li...
天地
2025-03-19
6e69d784e4814c3dbe35e8f70c6cf4b920c8b20b
[python/FunASR-XL.git]
/
fun_text_processing
/
inverse_text_normalization
/
vi
/
utils.py
1
2
3
4
5
6
7
8
9
10
11
12
13
import os
def get_abs_path(rel_path):
"""
Get absolute path
Args:
rel_path: relative path to this file
Returns absolute path
"""
return os.path.dirname(os.path.abspath(__file__)) + "/" + rel_path