yolov8 face 错误修改
摘要:derronqi/yolov8-face: yolov8 face detection with landmark (github.com) 问题:训练yolov8-lite-s,yolov8-lite-t的时候会出错,Cannot use yolov8-lite-s · Issue #3 · de
阅读全文
posted @
2024-08-07 12:01
WenJXUST
阅读(221)
推荐(0)
stable-diffusion-webui 环境配置
摘要:链接:AUTOMATIC1111/stable-diffusion-webui: Stable Diffusion web UI (github.com) 查看python版本: 安装完python之后,打开工程,配置虚拟环境 下载安装对应的依赖库,其中的torch相关三个库选择与自己cuda相关的
阅读全文
posted @
2024-06-13 14:52
WenJXUST
阅读(371)
推荐(0)
python setup 编译额外的模块
摘要:cd 到相关目录下python setup.py install 有pyx文件运行下面python setup.py build_ext --inplace
阅读全文
posted @
2023-10-16 09:58
WenJXUST
阅读(44)
推荐(0)
onnx文件新增 sub/mul前处理节点
摘要:#更改onnx里的节点参数内容 import onnx model = onnx.load("best20230908sim.onnx") graph = model.graph initializer = graph.initializer node = graph.node for i in r
阅读全文
posted @
2023-09-25 15:15
WenJXUST
阅读(487)
推荐(0)
Ubuntu 16.04 安装python3.6正确顺序(解决ssl错误,pip升级)
摘要:0、下载离线python压缩包Python Source Releases | Python.org, 1、新建root,并进入root权限(sudo passwd root)(su) 2、升级openssl版本 wget https://www.openssl.org/source/openssl
阅读全文
posted @
2023-08-08 10:29
WenJXUST
阅读(556)
推荐(0)
ubuntu 默认python版本切换
摘要:Ubuntu下完美切换Python版,即设置系统默认的python版本(亲测有效)_ubuntu 切换python版本_关彼得的博客-CSDN博客 sudo su update-alternatives --list python update-alternatives: error: no alt
阅读全文
posted @
2023-08-04 09:33
WenJXUST
阅读(694)
推荐(0)
pdf转word github链接 python
摘要:python-fan/pdf2word: 60行代码实现多线程PDF转Word (github.com) 这个的pdf2docx不是最新版的pip 也安装不到最新版的,最新版在下面这个链接可以下载whl文件。 dothinking/pdf2docx: Open source Python libra
阅读全文
posted @
2023-04-20 15:00
WenJXUST
阅读(635)
推荐(0)
yolov5查看训练日志图片和直方图(包括稀疏训练bn直方图)
摘要:参考:midasklr/yolov5prune at v6.0 (github.com) 0、D:\code\codePy\yolov5-6.1\runs\train\exp25文件夹下有 events.out.tfevents.1675823043.DESKTOP-ACC9FL4.52196 类似
阅读全文
posted @
2023-02-10 09:51
WenJXUST
阅读(1789)
推荐(0)
ncnn 加载 bin文件时,出错 报异常 0xC0000094:Integer division by zero。
摘要:这次转yolov8.pt 到 onnx 到 ncnn,调用ncnn,加载bin文件时出错报异常 0xC0000094:Integer division by zero。 解决方式: 导出onnx时,加 device="cpu"
阅读全文
posted @
2023-01-16 14:55
WenJXUST
阅读(614)
推荐(0)
window python 主函数 写 if __name__ == "__main__": 可以避免多进程等错误(训练yolov8时出现的)
摘要:训练yolov8时出现 类似以下错误: RunTimeError: An attempt has been made to start a new process before the current process has finished its bootstrapping phaseThis
阅读全文
posted @
2023-01-15 14:47
WenJXUST
阅读(777)
推荐(0)
export_onnx 单个 多个 输入,包含动态输入
摘要:""" Export ONNX model of MODNet with: input shape: (batch_size, 3, height, width) output shape: (batch_size, 1, height, width) Arguments: --ckpt-path:
阅读全文
posted @
2022-06-01 14:32
WenJXUST
阅读(2106)
推荐(0)
onnx 转 pb 错误记录
摘要:0、版本错误 查看每个版本说明下载安装相关库,类似这种:onnx-tensorflow/support_status_v1_10_0.md at main · onnx/onnx-tensorflow (github.com) 1、RuntimeError: Resize coordinate_tr
阅读全文
posted @
2022-05-13 16:17
WenJXUST
阅读(596)
推荐(0)
onnx 简化压缩 onnxsim 以及op算子错误解决
摘要:pip install onnx-simplifier -i https://mirror.baidu.com/pypi/simple 0、安装如上; 1、用法命令 onnxsim 12345.onnx 12345sim.onnx --input-shape 1,3,512,512 2、出现op错误
阅读全文
posted @
2022-05-13 09:17
WenJXUST
阅读(2804)
推荐(0)
yolo5s kmeans 聚类生成候选框(anchor)
摘要:1、pycharm 打开终端Terminal,输入python,进入python环境; 2、输入:from utils.autoahchor import kmean_anchors ,导入函数kmeans_anchors; 3、输入:kmean_anchors('./data/phone.yaml
阅读全文
posted @
2022-04-25 16:35
WenJXUST
阅读(1211)
推荐(0)
python 输出数字位数对齐
摘要:imgNum = 0 dImgOutPath = outputDataPath +'/' + '%04d'% imgNum +'.jpg' #输出4位数,前面空位补0
阅读全文
posted @
2022-01-14 09:49
WenJXUST
阅读(319)
推荐(0)
更改python pip 镜像源
摘要:修改pip 包里的index.py(**\Lib\site-packages\pip\_internal\models\index.py): 源代码: PyPI = PackageIndex("https://pypi.org/", file_storage_domain="files.python
阅读全文
posted @
2021-12-10 11:12
WenJXUST
阅读(125)
推荐(0)
_nms.pyd 编译出错问题记录(二)
摘要:前面的_nms.pyd 编译通过了,是在 pytorch 0.4.0 的基础上编译的,结果项目后面 出现 不能带 ‘.’ 的错误,还是 跟随作者回退到 pytorch 0.3.0 。 pytorch 0.3.0 中的TH相关函数实现在 TH.dll ,但是没有 TH.lib文件,所以_nms.pyd
阅读全文
posted @
2021-11-25 16:32
WenJXUST
阅读(124)
推荐(0)
_nms.pyd 编译出错问题记录
摘要:python 编译扩展库 _nms.pyd(python build.py )时出现链接错误,如下: nms.obj : error LNK2001: 无法解析的外部符号 __imp_THFloatTensor_data nms.obj : error LNK2001: 无法解析的外部符号 __im
阅读全文
posted @
2021-11-24 11:31
WenJXUST
阅读(339)
推荐(0)
tensorflow whl文件下载网址(贼快)
摘要:一、 tensorflow whl文件下载网址: 1、 https://www.lfd.uci.edu/~gohlke/pythonlibs/ ,网站里有很多python扩展库,但是tensorflow目前最新版本是1.9.0,而我需要的是2.3以上。 2、https://pypi.org/proj
阅读全文
posted @
2021-10-29 17:20
WenJXUST
阅读(7215)
推荐(0)