自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

原创 离线安装 E: Failed to fetch http://archive.ubuntu.com/ubuntu/xxxx Connection failed [IP: 91.189.88.152]

E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/f/freeglut/freeglut3-dev_2.8.1-2_amd64.deb Connection failed [IP: 91.189.91.38 80]E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

2022-03-25 15:37:57 2961 5

原创 centos7 安装 nvidia 驱动的常见错误和解决方式

centos7 安装 nvidia 驱动的常见错误和解决方式ERROR: Unable to find the development tool `cc` in your path; ERROR: Unable to find the kernel source tree for the currently running kernel.

2021-12-01 18:35:34 2717

原创 Windows/Mac 通过跳板机连接服务器(1)

mac 通过堡垒机登陆服务器的几种方式vim ~/.ssh/configHost bastion Hostname bastion.jd.com Port 22 User weidong53Host 11.7.159.133 Hostname 11.7.159.133 Port 22 User root ProxyCommand ssh -q -x -W %h:%p bastion此时需要输入两次密码:weidong53@ZBMac-C02G14F5MD .ssh % ssh 11.

2021-11-04 16:28:40 1924

原创 tensorflow--将已有模型的输入改为 base64 images

tensorflow–将已有模型的输入改为 base64 images背景在计算机视觉方向,平时训练得到的网络一般都是图像作为输入,但是如果要部署到服务端事情就会变得不同,一般服务端接收到的图像是经过base64编码之后的数据,那么这就不能直接喂给你的模型,此时有两种解决方案:一、在服务段进行处理,先将base64转为图像再喂给你的模型,这个过程你有权限或者你的服务端同事会写代码都是可以的;二、假如你没有权限,碰巧你的服务端同事也不会写代码,那你只能把含辛茹苦训好的模型改造一番,本文就是在面对这种情况的

2021-09-17 18:57:32 415

原创 Leetcode-209 长度最小的子数组 ----巧用双指针和滑动窗口 [Minimum Size Subarray Sum]

Leetcode-209 [Minimum Size Subarray Sum] 长度最小的子数组题目描述:给定一个含有 n 个正整数的数组 nums 和一个正整数 target ,找出该数组中满足其和 ≥ target 的长度最小的 连续 子数组,并返回其长度。如果不存在符合条件的子数组,返回 0。示例:输入:target = 7, nums = [2,3,1,2,4,3] 输出:2 解释:子数组 [4,3] 是该条件下的长度最小的子数组。题目链接: https://leetcode-cn.co

2021-08-20 19:11:23 65

原创 centos7 安装 colmap 以及 pycolmap

动手安装前需要知道的事:选择正确的版本很重要,能少走很多弯路;遇到问题多看官方文档及 github 上的 issue;colmap 需要的依赖大致上有 cmake、boost、gflag、glog、freeimage、ceres以及其它;本文默认CUDA相关已安装;本文顺序很关键;正式开始:1. Install gcc需要将gcc、g++升级到高一点的版本,理论上支持 c++ 11 即可,这里我选择 version = 5.4;2. install cmake &&

2021-07-27 15:26:54 1519 3

原创 Leetcode-34 在排序数组中查找元素的第一个和最后一个位置 ----二分查找 python3

Leetcode-34 [Find First and Last Position of Element in Sorted Array]在排序数组中查找元素的第一个和最后一个位置CompaniesGiven an array of integers nums sorted in ascending order, find the starting and ending position of a given target value.If target is not found in the ar

2021-07-22 20:36:39 58

原创 Leetcode-7 整数反转 ---- python3 中的 “%“ 和 “//“ 运算 [Reverse Integer]

Leetcode-7 python3 中的 “%” 和 “//” 运算leetcode-7应该很少有比这看起来更简单的题目了吧~~~思路一:转为字符串处理 (这就是我。。。)class Solution: def reverse(self, x: int) -> int: while abs(x)>0 and x % 10 ==0: x //= 10 if x<0: x = '-'+s

2021-04-06 21:23:40 134 1

原创 在Jetson TX2 上测试 Tensorflow、pytorch 模型的推理性能 —— 从入门到tensorrt加速

TX2 Tensorflow Tensorrt Tensorflow/Pytorch InstallTensorrt TestResultTensorflow/Pytorch Installfor Archiconda:https://github.com/Archiconda/build-tools/releasesfor Pytorch:https://forums.developer.nvidia.com/t/pytorch-for-jetson-version-1-7-0-now

2021-02-26 18:01:13 901 1

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除