摘要: archlinux iso文件下载站点这个iso文件需要保证较新,否则其中的比如libcap的验证密钥过时无法在系统里安装软件包。比如2022年10月7日安装0601版本iso无法通过linux等软件包的验证。 制作启动盘。装一个电脑新的arch系统时,重新制作一个启动盘吧。2022年10月7日安装 阅读全文
posted @ 2023-02-26 23:45 园糯 阅读(255) 评论(0) 推荐(0) 编辑
摘要: 项目地址:https://gitee.com/ailemon/ASRT_SpeechRecognition 通过观察evaluate_speech_model.py的代码,知道DataLoader加载asrt_config.json配置项,进而加载数据内容。复制json配置文件,在数据类“dev”下 阅读全文
posted @ 2025-01-19 19:37 园糯 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 文本预处理 with open('C:/Users/tellw/Desktop/假面山庄杀人事件.txt',encoding='utf8') as f: contents=f.read() contents=''.join(contents.split('\n')) import re import 阅读全文
posted @ 2025-01-19 19:13 园糯 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 下载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 阅读全文
posted @ 2025-01-15 22:09 园糯 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 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) 阅读全文
posted @ 2025-01-08 18:02 园糯 阅读(1) 评论(0) 推荐(0) 编辑
摘要: (特典代扣外壳改版本) 一:代扣各触点功能解释(以特典代扣改为例): 各触点编号(下同) 插卡识别————————————(1号脚) 组合/分离————————————(2号脚) 触发变身/必杀————————(3号脚) 功能键——————————————(4号脚) 台词键————————————— 阅读全文
posted @ 2024-12-27 18:17 园糯 阅读(14) 评论(0) 推荐(0) 编辑
摘要: import wave import sys import json from vosk import Model, KaldiRecognizer, SetLogLevel # You can set log level to -1 to disable debug messages SetLog 阅读全文
posted @ 2024-12-26 16:47 园糯 阅读(31) 评论(0) 推荐(0) 编辑
摘要: def download_file(url, filename): """将链接中的数据存储入文件中。 Args: url: 链接。 filename: 文件路径名。 Raises: KeyboardInterrupt: 用户按^C引发异常。 Exception: 发生异常。 """ if os.p 阅读全文
posted @ 2024-12-25 17:42 园糯 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 寻找扬声器声音的可录制接口 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 阅读全文
posted @ 2024-12-22 22:16 园糯 阅读(41) 评论(0) 推荐(0) 编辑
摘要: 2412201542 阅读全文
posted @ 2024-12-20 15:44 园糯 阅读(3) 评论(0) 推荐(0) 编辑
摘要: DIM数据获取页 https://ruisan.blog.jp/b.html 教学原帖 https://ruisan.blog.jp/archives/9756028.html 以上为原文作者所贴,鉴于网络问题,价值不太大 bin数据获取:https://vbevo.wordpress.com/20 阅读全文
posted @ 2024-12-20 15:37 园糯 阅读(9) 评论(0) 推荐(0) 编辑