摘要:
archlinux iso文件下载站点这个iso文件需要保证较新,否则其中的比如libcap的验证密钥过时无法在系统里安装软件包。比如2022年10月7日安装0601版本iso无法通过linux等软件包的验证。 制作启动盘。装一个电脑新的arch系统时,重新制作一个启动盘吧。2022年10月7日安装 阅读全文
摘要:
项目地址:https://gitee.com/ailemon/ASRT_SpeechRecognition 通过观察evaluate_speech_model.py的代码,知道DataLoader加载asrt_config.json配置项,进而加载数据内容。复制json配置文件,在数据类“dev”下 阅读全文
摘要:
文本预处理 with open('C:/Users/tellw/Desktop/假面山庄杀人事件.txt',encoding='utf8') as f: contents=f.read() contents=''.join(contents.split('\n')) import re import 阅读全文
摘要:
下载SakuraLLM模型 鉴于显存为6G,下载20241012-Qwen2.5-1.5B-v1.0模型,去https://hf-mirror.com/SakuraLLM/Sakura-1.5B-Qwen2.5-v1.0-GGUF/tree/main下载gguf文件 编译llama.cpp 下载ll 阅读全文
摘要:
import subprocess import os import whisper import zhconv import json def time2ffmpeg_time(ti): h=int(ti//3600) ti%=3600 m=int(ti//60) ti%=60 s=int(ti) 阅读全文
摘要:
(特典代扣外壳改版本) 一:代扣各触点功能解释(以特典代扣改为例): 各触点编号(下同) 插卡识别————————————(1号脚) 组合/分离————————————(2号脚) 触发变身/必杀————————(3号脚) 功能键——————————————(4号脚) 台词键————————————— 阅读全文
摘要:
import wave import sys import json from vosk import Model, KaldiRecognizer, SetLogLevel # You can set log level to -1 to disable debug messages SetLog 阅读全文
摘要:
def download_file(url, filename): """将链接中的数据存储入文件中。 Args: url: 链接。 filename: 文件路径名。 Raises: KeyboardInterrupt: 用户按^C引发异常。 Exception: 发生异常。 """ if os.p 阅读全文
摘要:
寻找扬声器声音的可录制接口 import sounddevice as sd import wave import os devices=sd.query_devices() print(devices) for i in range(len(devices)): wf=wave.open(f'te 阅读全文