2024年1月24日
摘要: 阅读全文
posted @ 2024-01-24 15:12 WenJXUST 阅读(9) 评论(0) 推荐(0) 编辑
  2023年10月16日
摘要: cd 到相关目录下python setup.py install 有pyx文件运行下面python setup.py build_ext --inplace 阅读全文
posted @ 2023-10-16 09:58 WenJXUST 阅读(7) 评论(0) 推荐(0) 编辑
  2023年9月25日
摘要: #更改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:16 WenJXUST 阅读(216) 评论(0) 推荐(0) 编辑
  2023年9月18日
摘要: ERROR: cannot verify python.org's certificate, issued by 'CN=GlobalSign Atla 解决方式 : 在wget 里加上--no-check-certificate 阅读全文
posted @ 2023-09-18 18:04 WenJXUST 阅读(53) 评论(0) 推荐(0) 编辑
  2023年8月8日
摘要: 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 阅读(267) 评论(0) 推荐(0) 编辑
  2023年8月4日
摘要: Ubuntu下完美切换Python版,即设置系统默认的python版本(亲测有效)_ubuntu 切换python版本_关彼得的博客-CSDN博客 sudo su update-alternatives --list python update-alternatives: error: no alt 阅读全文
posted @ 2023-08-04 09:34 WenJXUST 阅读(255) 评论(0) 推荐(0) 编辑
  2023年7月31日
摘要: E ValueError: Cannot reshape a tensor with 1843200 elements to shape [100,8] (800 elements) for 'Reshape_Reshape_8_32/Reshape_Reshape_8_32' (op: 'Resh 阅读全文
posted @ 2023-07-31 15:01 WenJXUST 阅读(40) 评论(0) 推荐(0) 编辑
  2023年7月26日
摘要: 1、赋值 cv::Mat t33 = (cv::Mat_<float>(1, 3) << 0.0f, 0.0f, 1.0f); 2、链接 cv::vconcat(r1, r2, R);//垂直方向来concat,cols要一致 cv::hconcat(r1, r2, R);//水平方向来concat 阅读全文
posted @ 2023-07-26 10:53 WenJXUST 阅读(4) 评论(0) 推荐(0) 编辑
  2023年7月10日
摘要: ncnn::Option dopt; dopt.num_threads = 4;// ncnn::get_big_cpu_count(); dopt.use_fp16_packed = false; dopt.use_fp16_storage = false; dopt.use_fp16_arith 阅读全文
posted @ 2023-07-10 17:34 WenJXUST 阅读(184) 评论(0) 推荐(0) 编辑
  2023年5月25日
摘要: 因为调用了C代码,加载C代码头文件 ***.h时记得加 extern "C" extern "C" { #include "libavcodec/avcodec.h" #include "libavformat/avformat.h" } 阅读全文
posted @ 2023-05-25 10:48 WenJXUST 阅读(19) 评论(0) 推荐(0) 编辑