上一页 1 2 3 4 5 6 7 ··· 31 下一页
摘要: import cv2 import pygame import threading from queue import Queue class VideoPlayer: def __init__(self, video_path): # 初始化视频参数 self.cap = cv2.VideoCap 阅读全文
posted @ 2025-03-13 16:37 lambertlt 阅读(205) 评论(0) 推荐(0)
摘要: 在本地搭建文档阅读型AI系统,需结合大模型、向量数据库及文档处理工具。以下是具体方案及步骤,综合多篇实践指南整理而成: 一、核心工具选择 本地大模型部署 推荐模型:通义千问(Qwen)或LLaMA系列,支持中文问答且开源免费。 部署工具:使用 Ollama 或 LM Studio 简化安装: Oll 阅读全文
posted @ 2025-03-13 15:02 lambertlt 阅读(1394) 评论(0) 推荐(0)
摘要: // 这是检测的代码 document.addEventListener("visibilitychange", () => { if (document.visibilityState "hidden") { console.log(" 用户离开当前页面"); } else { console.l 阅读全文
posted @ 2025-03-13 09:55 lambertlt 阅读(87) 评论(0) 推荐(0)
摘要: npm create svelte@latest my-svelte-project # 或者使用 yarn: yarn create svelte my-svelte-project npx sv create # 拉取项目文件 npm run dev # 运行项目 基础入门 svelte中文文档 阅读全文
posted @ 2025-02-18 17:36 lambertlt 阅读(47) 评论(0) 推荐(0)
摘要: 项目计划文档:包括项目时间表、里程碑定义、资源分配等,帮助团队成员了解项目进度安排。 需求规格说明书(SRS):详细描述系统的需求,包括功能性需求和非功能性需求(如性能指标、安全要求等),确保所有利益相关者对需求有一致的理解。 设计文档:涵盖系统架构设计、数据库设计、接口设计等内容,为开发者提供实现 阅读全文
posted @ 2025-02-06 11:42 lambertlt 阅读(703) 评论(0) 推荐(0)
摘要: conda create -n voice conda create --name voice python=3.12.9 conda create -n douyin python=3.12.9 conda activate voice conda env remove -n voice cond 阅读全文
posted @ 2025-01-11 01:26 lambertlt 阅读(45) 评论(0) 推荐(0)
摘要: 1 首先要安装brew 2 git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg 3 cd ffmpeg 4 执行脚本 ./configure --prefix=/opt/local 5 编译 sudo make ,需要提权,要不系统目录无法创建文件夹 阅读全文
posted @ 2025-01-08 16:47 lambertlt 阅读(914) 评论(0) 推荐(1)
摘要: 直接在 Mac 上使用 TensorFlow 加速机器学习模型的训练。安装基础 TensorFlow 和 tensorflow-metal PluggableDevice 以在 Mac GPU 上使用 Metal 加速训练 import torch if torch.backends.mps.is_ 阅读全文
posted @ 2024-12-29 11:52 lambertlt 阅读(102) 评论(0) 推荐(0)
摘要: spring boot 2.6.0 mybatis-plus 3.5.9 swagger-ui 3.0.0 openapi-ui 1.8.0 `` idea 创建一个 maven webapp 空项目,手动配置 spring mvc 教程 <dependencies> <!--springMVC坐标 阅读全文
posted @ 2024-12-17 16:25 lambertlt 阅读(44) 评论(0) 推荐(0)
摘要: 补一句,百家号真恶心! function sleep(ms) { return new Promise(resolve => setTimeout(resolve, ms)); } async function executeTasks() { while (1==1){ await sleep(5 阅读全文
posted @ 2024-11-26 16:22 lambertlt 阅读(198) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 31 下一页