上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 44 下一页
摘要: C++ iota() 函数与 atoi() 函数, rotate()详解 https://blog.csdn.net/lemonxiaoxiao/article/details/108659831 https://blog.csdn.net/weixin_44378800/article/detai 阅读全文
posted @ 2024-09-14 11:01 michaelchengjl 阅读(73) 评论(0) 推荐(0)
摘要: linux 开头是"-" 或者是“--”的文件名 如何进行文件操作 删除复制移动 执行 复制命令会报错 cp *.* /home/ 因为有个文件名:-zZs0N65xSnO_J7F-7kKIYZLmSRMxDDyeA4463bChwwU3iB3NZgdtttv4461-GTg.jpg 正确的方式: 阅读全文
posted @ 2024-09-03 15:32 michaelchengjl 阅读(281) 评论(0) 推荐(0)
摘要: Pytorch | Pytorch格式 .pt .pth .bin .onnx 详解 https://www.cnblogs.com/zhangxuegold/p/17588049.html 阅读全文
posted @ 2024-09-02 17:10 michaelchengjl 阅读(43) 评论(0) 推荐(0)
摘要: neovim 安装插件,并配置vimconig https://github.com/youngyangyang04/PowerVim 1. vim 安装 参考这里 sudo apt install vim 2. 插件包管理器安装 Vundle是vim的一个插件管理器, 同时它本身也是vim的一个插 阅读全文
posted @ 2024-08-27 09:59 michaelchengjl 阅读(445) 评论(0) 推荐(0)
摘要: cmake 报错 The C++ compiler“/usr/bin/g++-9“is not able to compile a simple test https://www.cnblogs.com/minglee/p/9016306.html https://blog.csdn.net/wei 阅读全文
posted @ 2024-07-26 15:31 michaelchengjl 阅读(142) 评论(0) 推荐(0)
摘要: shell 中设置/取消环境变量 查看:env 设置:export 变量名=变量值 删除:unset 变量名 https://blog.csdn.net/mayue_web/article/details/97023615 https://www.cnblogs.com/guanbin-529/p/ 阅读全文
posted @ 2024-07-25 11:13 michaelchengjl 阅读(138) 评论(0) 推荐(0)
摘要: AttributeError: module ‘numpy‘ has no attribute ‘bool‘解决 1. 降级numpy python -m pip install numpy==1.23.1 2. 点击出错文件, 将np.bool更改为np.bool_ 阅读全文
posted @ 2024-07-19 10:22 michaelchengjl 阅读(552) 评论(0) 推荐(0)
摘要: torch topk 使用 这个函数是用来求tensor中某个dim的前k大或者前k小的值以及对应的index。 用法 torch.topk(input, k, dim=None, largest=True, sorted=True, out=None) -> (Tensor, LongTensor 阅读全文
posted @ 2024-07-15 11:33 michaelchengjl 阅读(914) 评论(0) 推荐(0)
摘要: C++ tuple元组的基本用法 https://blog.csdn.net/sevenjoin/article/details/88420885 阅读全文
posted @ 2024-07-15 11:20 michaelchengjl 阅读(29) 评论(0) 推荐(0)
摘要: PyTorch基本操作 1. torch.allclose是一个PyTorch函数,用于检查两个张量是否在某个容忍度范围内近似相等 torch.allclose是一个PyTorch函数,用于检查两个张量是否在某个容忍度范围内近似相等 torch.allclose(input, other, rtol 阅读全文
posted @ 2024-07-05 14:32 michaelchengjl 阅读(240) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 44 下一页