- 博客(12)
- 收藏
- 关注
原创 python print函数进行格式化输出
在字符串前添加字母"f",然后用花括号{}表示占位符,可以直接在花括号中填入变量名或表达式。在Python中,可以使用print函数进行格式化输出。在字符串中使用{}作为占位符,然后调用format方法,按顺序传入要插入的值。字符串占位符:%s:用于字符串类型的数据。浮点数占位符:%f:用于浮点数类型的数据。整数占位符:%d:用于整数类型的数据。
2023-07-19 15:38:21
2321
原创 使用vits训练数据集出现RuntimeError: “fill_cuda“ not implemented for ‘ComplexHalf‘
将配置文件.json中的"fp16_run": true 改为"fp16_run": false。
2023-07-05 12:05:17
1045
2
原创 ModuleNotFoundError: No module named ‘textgrids‘
pip install praat-textgrids
2023-07-03 18:30:14
204
1
原创 判断字符串的语种,如果一个字符串中只含有中文返回1,只含有英文返回2,含有中文和英文返回3
【代码】判断字符串的语种,如果一个字符串中只含有中文返回1,只含有英文返回2,含有中文和英文返回3。
2023-06-30 10:27:14
166
1
原创 tensorboard使用方法和打开网址一片空白的解决方法
1、tensorboard --logdir event.文件所在路径。2、新开一个terminal。
2023-06-29 17:02:07
725
1
原创 使用g2p时安装依赖关系
在使用g2p时安装依赖关系 nltk.downloader averaged_perceptron_tagger。运行 python -m nltk.downloader averaged_perceptron_tagger。
2023-06-29 14:59:25
487
2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人