自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(15)
  • 资源 (1)
  • 问答 (1)
  • 收藏
  • 关注

原创 OpenVX编程笔记(一)

1. 基本概念 1.1 OpenVX 应用目标 real time computing on low power platforms high-level abstraction for heterogeneous platforms 2. OpenVX对象 2.1 data objects 数据访问 OpenVX通过map和unmap函数实现可以在CPU memory(host memory)和accelerator memory之间进行数据移动。例如:`vxMapImagePatc..

2022-02-21 16:09:32 1292

原创 OpenVX编程笔记(二)

第一个VX程序 1. example1.c 该例子使用*Immediate模式*,对一幅图像进行fast corner提取。 具体程序功能说明请见*程序*注释。 2. 例子总结 2.1代码结构: 首先生成一幅100x100的image并设置为黑色,然后从中间设置一个60x20的roi设置为白色。 通过immediate mode模式调用VX的fast corner算法获取角点并输出。 2.2使用到的VX对象总结: vxCreateContext() 生成一个vx_context对象..

2022-02-21 16:03:02 1298 1

原创 VMware安装Ubuntu+克隆

VMware安装Ubuntu+克隆 1. 安装 安装过程比较简单,但是注意选择“稍后安装” 建立好虚拟机后插入安装光盘镜像,启动虚拟机就可以正常安装了。 2. 配置静态网络 正常安装结束后,一般是可以上网的,默认使用的NAT模式,虚拟机通过DHCP模式自动分配到虚拟ip地址,但是为了后续开发任务,这里需要为虚拟机配置静态IP。 2.1 取消DHCP功能 首先去除DHCP功能,点击“编辑” >> “虚拟网络编辑器”,打开VMware的虚拟网络编辑器: 选中“VMnet8”,点击右下角“更改设置

2021-04-08 15:57:54 3081 1

原创 Leetcode C++ 递归&回溯

Leetcode C++ 二叉树&递归Leetecode 17 Leetecode 17 17. Letter Combinations of a Phone Number Given a string containing digits from 2-9 inclusive, return all possible letter combinations that the number could represent. Return the answer in any order. A mapp

2021-03-22 10:46:03 352

原创 AP、mAP、F1 Score、PR曲线、ROC曲线

1. 基础概念 混淆矩阵: 通过研究该混淆矩阵,可以构造如下几个指标: (1) Accuracy(准确度): 意义:用于同时衡量分类器对于正负样本的分类正确性。 不足:当测试样本不平衡时,该指标会失去意义。例如:100个样本中负样本占有98个,那么分类器只需将所有样本分为负类即可达到98%的准确度。 公式:accuracy=TP+FNTP+FN+FP+TNaccuracy = \frac{TP + FN}{TP+FN+FP+TN}accuracy=TP+FN+FP+TNTP+FN​ (2) Prece

2021-03-19 11:42:11 3797 1

原创 Leetcode C++ 二叉树&递归

Leetcode C++ 二叉树&递归Leetecode 104 Leetecode 104 104. Maximum Depth of Binary Tree Given the root of a binary tree, return its maximum depth. A binary tree’s maximum depth is the number of nodes along the longest path from the root node down to the fart

2021-03-02 09:51:41 376

原创 Leetcode C++ 队列

Leetcode C++ 队列Leetecode 102 Leetecode 102 102. Binary Tree Level Order Traversal Given a binary tree, return the level order traversal of its nodes’ values. (ie, from left to right, level by level). 思路: 二叉树的宽度优先遍历(BFS问题)。有两种思路,递归和迭代。 递归: 迭代: .

2021-02-04 10:22:28 258

原创 Leetcode C++ 链表

Leetcode 链表Leetecode 206 Leetecode 206 206. Reverse Linked List Reverse a singly linked list. Example: Input: 1->2->3->4->5->NULL Output: 5->4->3->2->1->NULL 思路: 首先设定两个指针,pre和curr,翻转指针就是将curr的next指向pre,但是由于链表是单向的,因此反转后就无法获得

2020-12-04 09:57:35 389 1

原创 C++常用方法记录

C++常用方法记录map & set迭代器判断是否存在字符串分割 map & set 迭代器 判断是否存在 字符串分割 空格分割 对于空格分割的字符串,可以使用istringstream对象进行分割,头文件为#include <sstream>。 istringstream input(str); string temp; while(input >> temp){ cout<<temp<<endl; } 逐行读取文件,并对每行文

2020-11-06 15:52:00 177

原创 Leetcode C++ 查找表(Set & Map)

@[TOC](Leetcode 查找表(Set & Map)) Leetcode 290 290. Word Pattern Given a pattern and a string s, find if s follows the same pattern. Here follow means a full match, such that there is a bijection between a letter in pattern and a non-empty word in s. Ex

2020-11-06 15:42:49 578

原创 Leetcode滑动窗口

Leetcode 滑动窗口Leetcode 3 Leetcode 3 3. Longest Substring Without Repeating Characters Given a string s, find the length of the longest substring without repeating characters. Example 1: Input: s = “abcabcbb” Output: 3 Explanation: The answer is “abc”, with

2020-10-16 10:48:38 277

原创 Leetcode 排序

Leetcode 排序Leetcode 75 Leetcode 75 75. Sort Colors Given an array nums with n objects colored red, white, or blue, sort them in-place so that objects of the same color are adjacent, with the colors in the order red, white, and blue. Here, we will use the

2020-10-13 16:18:46 191

原创 Leetcode题解连接

Leetcode 题解连接 [L125]、[L167]、

2020-10-12 20:52:49 179

原创 Leetcode 对撞指针

Leetcode 对撞指针思路Leetecode 167新的改变功能快捷键合理的创建标题,有助于目录的生成如何改变文本的样式插入链接与图片如何插入一段漂亮的代码片生成一个适合你的列表创建一个表格设定内容居中、居左、居右SmartyPants创建一个自定义列表如何创建一个注脚注释也是必不可少的KaTeX数学公式新的甘特图功能,丰富你的文章UML 图表FLowchart流程图导出与导入导出导入 思路 该类问题特点为最优解由数组上的两个位置A和B对应的值的某种关系构成(如:和为某值)。这类问题可以首先在数组两端分

2020-10-12 19:51:15 279

原创 打造可在SSH远程登录中使用的Vim IDE配置

由于公司需要在远程服务器上进行开发,所以一直希望能有一款可以方便通过SSH远程登陆后使用的Vim配置,虽然网上有很多高手的配置资料,但是很大一部分都是作为本地使用的,而且往往一些功能会出现BUG,或者失灵的情况。所以,经过一段时间的思考,还是决定自行进行Vim的配置,又经过一段时间,现已小有所成,目前将配置文件上传至我的代码库,欢迎试用并提出修改意见! 这个配置中使用了很多插件(可以到VimAw...

2018-09-13 10:22:05 4899

Caffe学习笔记-粗糙版

从头至尾阅读了Caffe全部源码,过程中写了这个笔记,写的比较粗糙,但是包含了Caffe中所有重要部分源码的解析(除python接口、具体Layer层和tools),包括多线程训练部分和datalayer的lmdb数据读取(生产者消费者),以及Caffe中用到的第三方类库API的详细说明。

2018-06-25

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

TA关注的人

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