会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Loading
踩坑大王
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
···
11
下一页
2025年2月1日
Mac m4安装homebrew
摘要: 执行命令 /bin/bash -c "$(curl -fsSL https://gitee.com/ineo6/homebrew-install/raw/master/install.sh)"
阅读全文
posted @ 2025-02-01 14:48 踩坑大王
阅读(1329)
评论(0)
推荐(0)
2025年1月23日
flask 使用多线程出现超出上下文的问题
摘要: class GoodsCrawlApi(Resource): def post(self): """ 手动启动爬虫任务 """ # 执行异步爬虫 CrawlService().crawl() return jsonify({ 'code': 0, "message": "success" }) cl
阅读全文
posted @ 2025-01-23 09:20 踩坑大王
阅读(60)
评论(0)
推荐(0)
2025年1月16日
securitySDK.umd.js代码框架
摘要: 
阅读全文
posted @ 2025-01-16 16:36 踩坑大王
阅读(43)
评论(0)
推荐(0)
【逆向】tb解析function(_0x457ace, _0x349832) 即random出处
摘要: function(_0x457ace, _0x349832) { _0x457ace = _0x457ace - 0x18a; var _0x4c6e1a = _0x19971f[_0x457ace]; if (a0_0x457a['pIaRKj'] undefined) { var _0x2a07
阅读全文
posted @ 2025-01-16 15:00 踩坑大王
阅读(59)
评论(0)
推荐(0)
2025年1月2日
celery+flask+数据库一个队列执行多个任务出现死锁
摘要: celery创建一个共享队列rpa,该队列下有一个轮循任务和执行任务 轮循任务会读取redis队列,循环队列并根据任务情况执行任务 轮循间隔为1s,每次轮循都会循环队列的所有任务 启动命令为 celery -A app.celery worker -P gevent -c 1 --loglevel
阅读全文
posted @ 2025-01-02 13:14 踩坑大王
阅读(188)
评论(0)
推荐(0)
2024年12月27日
Failed to build fasttext
摘要: Failed to build fasttext ERROR: Could not build wheels for fasttext, which is required to install pyproject.toml-based projects 解决方法: Using pip instal
阅读全文
posted @ 2024-12-27 10:21 踩坑大王
阅读(292)
评论(0)
推荐(0)
2024年12月26日
表格对话调研过程记录
摘要: 目录调研开源辅助工具excel 问答思路扁平化表头,将多级表头格式化为一级表头数据预处理agent生成代码并执行结果多表格混合问答测评 调研开源辅助工具 TableGPT unparse pandasai create_dataframe_agent excel 问答思路 扁平化表头,将多级表头格式
阅读全文
posted @ 2024-12-26 14:39 踩坑大王
阅读(30)
评论(0)
推荐(0)
Python相关要点
摘要: 概念 Transformer RAG Function Call Agent 模型预训练 ChatGLM LLama pytorch fasttext LSTM 文本挖掘 关系抽取 pipline joint NER NLP 模型压缩 模型量化 模型蒸馏 模型微调 知识图谱 JS逆向
阅读全文
posted @ 2024-12-26 14:38 踩坑大王
阅读(43)
评论(0)
推荐(0)
flask 异步任务celery中运行ipython或python repl出现阻塞
摘要: 问题场景:上传文件 调用上传文件接口,异步任务解析文件,解析中需要执行python代码,此时会出现阻塞 启动celery命令 celery -A app.celery worker -P gevent -c 1 --loglevel INFO -Q nltable 代码: import loggin
阅读全文
posted @ 2024-12-26 11:11 踩坑大王
阅读(60)
评论(0)
推荐(0)
2024年12月5日
requests请求很慢甚至超时问题
摘要: 一台服务器开了代理后,python requests请求最简单的百度网站都要很久 解决方法: import socket import urllib3 def allowed_gai_family(): return socket.AF_INET urllib3.util.connection.al
阅读全文
posted @ 2024-12-05 22:07 踩坑大王
阅读(146)
评论(0)
推荐(0)
python部署funasr非实时识别服务高并发问题
摘要: 部署了一个funasr的中文音频非实时识别的服务接口,出现以下几种情况: 多次请求时接口未响应 音频文件135(1h)时响应很慢 用135M的音频文件请求接口,要一分钟后接口才收到请求 测试用例如下: 1. 单例 asr_example(1 min/2M) 山路.mp3(1.34h/135M) im
阅读全文
posted @ 2024-12-05 21:50 踩坑大王
阅读(665)
评论(0)
推荐(0)
2024年11月27日
TinyTroupe智能体测试
摘要: https://github.com/microsoft/TinyTroupe
阅读全文
posted @ 2024-11-27 09:38 踩坑大王
阅读(52)
评论(0)
推荐(0)
2024年11月26日
开源的文档解析转md测评
摘要: 目录Docling环境安装测试Marker环境安装测试docling、marker对比总结OmniAI开源的zeroxMinerU Docling https://github.com/DS4SD/docling 环境安装 直接使用文档中的 pip install docling 无法使用,因为to
阅读全文
posted @ 2024-11-26 15:05 踩坑大王
阅读(2147)
评论(0)
推荐(0)
CentOS7.9 安装xvfb
摘要: yum install Xvfb 启动 Xvfb :1 -screen 0 1024x768x24 设置环境变量 export DISPLAY=:1 http://www.360doc.com/content/17/0711/21/44420101_670641454.shtml
阅读全文
posted @ 2024-11-26 14:38 踩坑大王
阅读(192)
评论(0)
推荐(0)
2024年11月25日
CentOS7.9无图形桌面安装chromedriver、chrome、drissionpage
摘要: 由于centos7 停止维护,在安装google浏览器就因为版本和下载源的问题走了不少弯路,踩了一些坑。 原操作: sudo wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm yum ins
阅读全文
posted @ 2024-11-25 19:04 踩坑大王
阅读(518)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
11
下一页
公告