会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
荒唐了年少
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
···
26
下一页
2022年6月30日
go get超时问题
摘要: 在使用百度云的云服务器时,通过go get获取github上的外部库时,出现超时错误,下面时我尝试过的可以解决此问题的一个方式 https://www.nap6.com/qykj/202104/17710.html go env -w GO111MODULE=on go env -w GOPROXY
阅读全文
posted @ 2022-06-30 19:36 荒唐了年少
阅读(72)
评论(0)
推荐(0)
2022年6月21日
brpc的安装---20220620可用
摘要: 参考文档: 官方文档:https://github.com/apache/incubator-brpc/blob/master/docs/cn/getting_started.md https://developer.aliyun.com/article/939759 环境配置:centos 安装步
阅读全文
posted @ 2022-06-21 17:39 荒唐了年少
阅读(384)
评论(0)
推荐(0)
2022年6月20日
VimForCpp离线安装
摘要: VimForCpp--一键式vim环境安装包 对于可以正常访问公网的机器,直接使用项目提供的安装脚本即可。项目地址:https://gitee.com/HGtz2222/VimForCpp 下面是如何在无法连接外网的机器安装 安装步骤 根据项目地址将源码压缩包下载,传到不能连接外网的机器 根据安装脚
阅读全文
posted @ 2022-06-20 14:21 荒唐了年少
阅读(400)
评论(0)
推荐(0)
2022年6月17日
tmux和zsh的个性化配置-----针对无法连接外网的机器
摘要: 记录一下最近在一个不能连接外网的机器配置tmux和zsh开发环境,如果你也有这样的需求,下文应该会有所帮助 升级tmux和zsh到最新版本 针对一些插件和配置都需要将tmux和zsh升级到高于某个版本,而一般可能会遇到自己yum安装后的版本不符合要求 tmux升级 我是参考这篇文章https://b
阅读全文
posted @ 2022-06-17 16:23 荒唐了年少
阅读(336)
评论(0)
推荐(0)
2022年6月16日
记录一个vim配置
摘要: set encoding=utf-8 set fileencodings=utf-8 set termencoding=utf-8 let mapleader=',' let g:solarized_termcolors=256 syntax on set background=dark set c
阅读全文
posted @ 2022-06-16 13:41 荒唐了年少
阅读(36)
评论(0)
推荐(0)
2022年4月13日
cmake链接pthread的示例
摘要: CMakeLists.txt示例 cmake_minimum_required(VERSION 2.8) SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x") #SET(CMAKE_CXX_STANDARD 11) #SET(CMAKE_C_COM
阅读全文
posted @ 2022-04-13 15:17 荒唐了年少
阅读(3394)
评论(1)
推荐(0)
2021年10月31日
克隆远程分支到本地,并创建新分支
摘要: 克隆远程分支 git clone git@... 查看当前所在分支 git branch 切换到需要克隆的分支 git checkout branch_name 创建新分支并切换到新分支 git checkout -b new_branch_name 切换到指定分支,切换完可以用git branch
阅读全文
posted @ 2021-10-31 20:11 荒唐了年少
阅读(376)
评论(0)
推荐(0)
加载并运行onnx格式的model,并获取模型运行过程中的每一层输出
摘要: 运行model,获得模型最终输出结果 """ 测试onnx文件,获取浮点模型输出 wangmaolin-1029 """ import onnxruntime import pdb import cv2 import numpy as np def test_seg(seg): print(seg.
阅读全文
posted @ 2021-10-31 20:09 荒唐了年少
阅读(3814)
评论(0)
推荐(0)
计算两张图的余弦相似度
摘要: # 结果余弦相似度对比 import numpy as np import pdb def count_difference(groundtruth, inputs): statistical_method = { 'cosine_similarity': lambda X1, X2: np.sum
阅读全文
posted @ 2021-10-31 20:08 荒唐了年少
阅读(517)
评论(0)
推荐(0)
绘制heatmap
摘要: """ 输出热力图 fixedpoint_21.2/test_server/toHeatMap.py wangmaolin-1029 """ import cv2 import matplotlib.pyplot as plt import pdb import numpy as np if __n
阅读全文
posted @ 2021-10-31 20:07 荒唐了年少
阅读(87)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
26
下一页
公告