上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 44 下一页
摘要: onnx 算子定义 onnx 1.15.0 onnxruntime 1.16.0 https://github.com/onnx/onnx/blob/v1.15.0/docs/Operators.md#Pow 阅读全文
posted @ 2024-07-04 19:48 michaelchengjl 阅读(72) 评论(0) 推荐(0)
摘要: torch.tensor、numpy.array、list三者之间互相转换 1.1 list 转 numpy ndarray = np.array(list) 1.2 numpy 转 list list = ndarray.tolist() 2.1 list 转 torch.Tensor tenso 阅读全文
posted @ 2024-07-04 17:27 michaelchengjl 阅读(1161) 评论(0) 推荐(0)
摘要: 代码格式化工具clang-format https://blog.csdn.net/itas109/article/details/109211464 https://www.sfysoft.com/2022/05/09/ClangFormat-Reference/index.html 阅读全文
posted @ 2024-07-04 17:10 michaelchengjl 阅读(48) 评论(0) 推荐(0)
摘要: TensorFlow中numpy与tensor数据相互转化(支持tf1.x-tf2.x) TF 1.x版本 有时候解决起来很简单,就是错误比较难找到,所以我推荐的方法为将数据进行显式的转化。 Numpy2Tensor 虽然TensorFlow网络在输入Numpy数据时会自动转换为Tensor来处理, 阅读全文
posted @ 2024-07-04 11:05 michaelchengjl 阅读(371) 评论(0) 推荐(0)
摘要: 离线安装 VS Code Server VSCode提供了两种连接服务器的方法,分别使用Remote - SSH和Remote - Tunnels插件。本文介绍使用Remote - SSH连接服务器。 VS Code 连接服务器 安装 Remote-SSH 插件 点击左侧的扩展按钮(或用 Ctrl+ 阅读全文
posted @ 2024-06-22 22:45 michaelchengjl 阅读(10757) 评论(0) 推荐(2)
摘要: Python将np数组保存成npy文件 import numpy as np np.save("filename.npy",a) b = np.load("filename.npy") https://www.runoob.com/numpy/numpy-io.html https://www.cn 阅读全文
posted @ 2024-06-21 11:16 michaelchengjl 阅读(88) 评论(0) 推荐(0)
摘要: error while loading shared libraries: libpython3.10.so.1.0: cannot open shared object file: No such file 解决方案: find / --name libpython3.10.so.1.0 将找到的 阅读全文
posted @ 2024-05-29 17:40 michaelchengjl 阅读(2628) 评论(0) 推荐(0)
摘要: C++: fatal error: Killed signal terminated program cc1plus 1. 在Linux系统中进行C++编译时,出现如下报错,导致编译中止: C++: fatal error: Killed signal terminated program cc1p 阅读全文
posted @ 2024-05-08 19:26 michaelchengjl 阅读(2951) 评论(0) 推荐(0)
摘要: Linux dmesg命令使用方法详解 一、命令简介 dmesg(display message)命令用于显示开机信息。kernel 会将开机信息存储在 ring buffer 中。您若是开机时来不及查看信息,可利用 dmesg 来查看。开机信息亦保存在/var/log/dmesg中。 二、使用方法 阅读全文
posted @ 2024-03-27 16:14 michaelchengjl 阅读(1265) 评论(0) 推荐(0)
摘要: Ubuntu安装指定版本的docker 1、删除docker相关组件 #卸载旧版本 apt-get autoremove docker docker-ce docker-engine docker.io containerd runc #清空旧版docker占用的内存 sudo apt-get re 阅读全文
posted @ 2024-03-19 14:37 michaelchengjl 阅读(2461) 评论(0) 推荐(0)
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 44 下一页