- 博客(61)
- 资源 (2)
- 收藏
- 关注
原创 CUDA小白 - NPP(11) 图像处理 Comparison Operations
NPP 图像处理 Comparison Operations
2023-09-21 11:19:36
386
原创 CUDA小白 - NPP(9) 图像处理 Statistical Operations
NPP 图像处理 Statistical Operations
2023-09-14 16:17:51
721
原创 CUDA小白 - NPP(8) 图像处理 Morphological Operations
图像处理 Morphological Operations 腐蚀膨胀操作 NPP
2023-09-13 10:41:09
655
原创 CUDA小白 - NPP(6) 图像处理 Geometry Transforms (2)
NPP 图像处理 Geometry Transform
2023-09-11 13:46:57
490
2
原创 CUDA小白 - NPP(6) 图像处理 Geometry Transforms (1)
NPP 图像处理 Geometry transforms
2023-09-11 10:59:31
699
原创 CUDA小白 - NPP(4) 图像处理 Data Exchange and Initialization(2)
NPP 图像处理 数据处理及初始化 convert transpose swap_channels
2023-09-06 16:56:53
616
原创 CUDA小白 - NPP(4) 图像处理 Data Exchange and Initialization(1)
NPP 图像处理 数据变换及初始化 set copy
2023-09-06 14:49:00
746
原创 CUDA小白 - NPP(3) 图像处理 Color and Sampling Conversion
NPP 图像处理 Color and Sampling Conversion
2023-08-30 16:45:34
943
原创 CUDA小白 - NPP(2) - Arithmetic and Logical Operations(2)
NPP 图像处理 算数和逻辑操作 Logical Operations
2023-08-29 15:50:27
772
原创 CUDA小白 - NPP(2) - Arithmetic and Logical Operations(1)
NPP 图像处理 算数与逻辑操作 Arithmetic and Logical Operations
2023-08-28 14:31:23
813
原创 CUDA初学者-Thrust - Numerics(14)
本人 CUDA小白一枚,要是有什么不对,还望各位大佬指点。本文及后面的几篇将分别从几个方面来大概阐述一下Thrust的一些接口。原来的网址在这里7.Numerics7.1 Complex Numbers 复数template <typename T>struct thrust::complex;typedef see below thrust::complex::value_type;// 复数__host__ __device__thrust::complex::com
2022-05-20 17:11:01
414
原创 CUDA初学者-Thrust - Memory Management(13)
本人 CUDA小白一枚,要是有什么不对,还望各位大佬指点。本文及后面的几篇将分别从几个方面来大概阐述一下Thrust的一些接口。原来的网址在这里6.Memory manage6.1 Allocatorstemplate <typename Upstream>class thrust::device_ptr_memory_resource;/* An allocator which creates new elements in memory accessible by device
2022-05-20 16:47:21
404
原创 CUDA初学者-Thrust - Iterators(12)
本人 CUDA小白一枚,要是有什么不对,还望各位大佬指点。本文及后面的几篇将分别从几个方面来大概阐述一下Thrust的一些接口。原来的网址在这里5. Iterator5.1 Fancy Iterators// 常量指针template <typename Value, typename Incrementable = use_default, typename System = use_default>class thrust::constant_iterator;// 指向一系
2022-05-20 16:35:08
497
原创 CUDA初学者-Thrust - Function Objects(11)
本人 CUDA小白一枚,要是有什么不对,还望各位大佬指点。本文及后面的几篇将分别从几个方面来大概阐述一下Thrust的一些接口。原来的网址在这里PS:里面有一些暂时也没看懂,这边就主要介绍一些比较常用的。4.Function Objects4.1 Arithmetic Operations4.1.1 plus求和template <typename T = void>struct thrust::plus;struct thrust::plus< void >;
2022-05-20 15:35:13
254
原创 CUDA初学者-Thrust - Containers - Host Containers && Containers(10)
本人 CUDA小白一枚,要是有什么不对,还望各位大佬指点。本文及后面的几篇将分别从几个方面来大概阐述一下Thrust的一些接口。原来的网址在这里。2.Container Classes2.1 Host Containerstemplate <typename T, typename Alloc = std::allocator<T>>class thrust::host_vector;template <typename T, typename Alloc>
2022-05-20 15:04:31
180
原创 CUDA初学者-Thrust - Algorithms - Transformations(9)
1.Algorithms1.9 Transformations1.9.1 filltemplate <typename DerivedPolicy, typename ForwardIterator, typename T>__host__ __device__ void thrust::fill( const thrust::detai
2022-05-20 09:40:54
516
原创 CUDA初学者-Thrust - Algorithms - Sorting(8)
本人 CUDA小白一枚,要是有什么不对,还望各位大佬指点。本文及后面的几篇将分别从几个方面来大概阐述一下Thrust的一些接口。原来的网址在这里。1.Algorithms1.8 Sorting1.8.1 sorttemplate <typename DerivedPolicy, typename RandomAccessIterator>__host__ __device__ void thrust::sort( const thrust::detail::execution_po
2022-05-19 17:47:08
497
原创 CUDA初学者-Thrust - Algorithms - Set Operations(7)
set_differencetemplate <typename DerivedPolicy, typename InputIterator1, typename InputIterator2, typename OutputIterator>__host__ __de
2022-05-19 09:42:28
229
原创 CUDA初学者-Thrust - Algorithms - Searching(6)
本人 CUDA小白一枚,要是有什么不对,还望各位大佬指点。本文及后面的几篇将分别从几个方面来大概阐述一下Thrust的一些接口。原来的网址在这里。1.Algorithms1.6 Searching1.6.1 findtemplate <typename DerivedPolicy, typename InputIterator, typename T>__host__ __device__ InputIterator thrust::find( const thrust::deta
2022-05-18 18:02:39
260
原创 CUDA初学者-Thrust - Algorithms - Reordering(5)
1.Algorithms1.5 Partitioning1.5.1 partitiontemplate <typename DerivedPolicy, typename ForwardIterator, typename Predicate>__host__ __device__ ForwardIterator thrust::parti
2022-05-18 09:25:23
421
原创 CUDA初学者-Thrust - Algorithms - Reductions(4)
本人 CUDA小白一枚,要是有什么不对,还望各位大佬指点。本文及后面的几篇将分别从几个方面来大概阐述一下Thrust的一些接口。原来的网址在这里。1.Algorithms1.4 Reductions1.4.1 reducetemplate<typename DerviedPolicy, typename InputIterator> __host__ __device__ thrust::iterator_traits< InputIterator >::value_ty
2022-05-16 08:51:19
545
原创 CUDA初学者-Thrust - Algorithms - Prefix Sums(3)
1.Algorithms1.2 Prefix Sums1.2.1 inclusive_scan_by_keytemplate <typename DerivedPolicy, typename InputIterator1, typename InputIterator2, typename OutputIterator>__host__
2022-05-13 09:26:31
706
原创 CUDA初学者-Thrust - Algorithms - Merging(2)
1.Algorithms1.2 Merging1.2.1 megetemplate<typename DerivedPolicy, typename InputIterator1, typename InputIterator2, typename OutputIterator>__host__ __device__ OutputItera
2022-05-09 08:50:37
208
原创 CUDA初学者-Thrust - Algorithms - Copying(1)
本人 CUDA小白一枚,要是有什么不对,还望各位大佬指点。Thrust是一种C++的并行算法库,thrust的接口大大提高了工作的效率,同时还实现了GPU和多核CPU之间的性能的可移植性。本文及后面的几篇将分别从几个方面来大概阐述一下Thrust的一些接口。原来的网址在这里。1.Algorithms2.Container Classes3.Containers4.Function Objects5.Iterators6.Memory Management7.Numerics8.Paral
2022-05-07 16:12:28
535
原创 19.10.11 TF Serving部署tensorflow模型
最近一直在接触模型的部署,因此稍微了解了一下TF serving 的tensorflow模型的部署。https://medium.freecodecamp.org/how-to-deploy-tensorflow-models-to-production-using-tf-serving-4b4b78d41700主要包含了四个部分的东西 servable、loader、source、mana...
2019-10-11 16:10:09
242
原创 19.7.31今日所遇python函数
1 time.strftime(显示的格式) 获取时间例:import timestart_time = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())2 os.walk(DIR) 用于通过在目录树中游走输出在目录中的文件名常见的用法有for root, dirs, files in os.walk(".", topdown...
2019-07-31 16:27:51
151
原创 19.7.30 json文件的生成与解析
最近接到了一个小任务,虽然任务的难度不高,但还是学到了点知识。主要的就是json文件的生成与解析。首先为什么要生成json文件呢,主要是为了后面解析的时候需要json文件来进行分析。所以进入正题:json文件的生成主要用到的函数就是json.dump(),该函数时将python个数的文件转换为json格式的。下面给出一个例子:import urllibfrom urllib.reques...
2019-07-30 17:21:26
301
原创 19.7.26 tesorflow将ckpt文件保存为pb文件的两种方法
tensorflow中有两种可以将训练好的模型保存为.pb文件的模型。大家都知道一个训练好的tensorflow会产生四种文件:checkpoint:用于保存模型的checkpoint路径以及所有或部分迭代一定次数之后的checkpoints文件.meta文件:保存了所有变量、操作、集合等(Graph).index文件.data-****-of-****文件:与 .index 文件合在一...
2019-07-26 15:11:48
477
原创 19.7.26 VS Code配置python, tensorfow,opencv
今天是个好日子啊,到了一周的结束,但是工作完成不了还是挺难受的。幸好,终于把VSCode的tensorflow和opencv配置好了。还好今天翻到了《手把手教你用Anaconda+VSCode配置tensorflow开发环境》,才发现利用Anaconda来安装VSCode以及对应的python, tensorflow和opencv是真的方便。基本上按照他的教程来一遍就没什么大问题。有一点建议就...
2019-07-26 14:02:24
529
原创 18.7.17 Towards Pose Invariant Face Recognition in the Wild小感
最近再读一篇文章《Towards Pose Invariant Face Recognition in the Wild》。在人脸识别中,影响准确率的一个比较重要的因素是姿态的多样性。放眼目前的人脸识别技术,有两种方法为主流方向,一种是直接提取不同姿态的人脸特征,另一种就是再提取特征之前,现将人脸摆正。本文则认为,可以将两种方法联合起来使用,最终二者相互影响,实现准确率的提升。本文提出了一种P...
2018-07-17 10:09:15
2073
原创 18.7.12 Pose-Robust Face Recognition via Deep Residual Equivariant Mapping 小感
论文链接:Pose-Robust Face Recognition via Deep Residual Equivariant Mapping本文主要解决的问题是人脸识别中常见的一个难点:姿态问题。近些年来,人脸识别问题在深度学习的基础下得到了飞速的发展。但是大部分的人脸识别模型在处理侧脸样本的时候有存在不足。一个最主要的原因是正脸和侧脸样本个数的极度不平衡。同样的,在人脸姿态变化比较多样...
2018-07-12 14:31:53
1602
6
原创 18.7.9 Dynamic Feature Learning for Partial Face Recognition 小感
最近读了一篇关于部分人脸识别的文章,来自于CVPR2018的。论文链接《Dynamic Feature Learning for Partial Face Recognition》。部分人脸识别(Partial Face Recogntion)在很多的领域是个比较重要的工作。但是大部分的研究都不能实现一个任意尺寸的人脸图片的识别问题。本文主要采用全卷积网络(FCN)加上稀疏表示分类(SRC)的...
2018-07-09 14:16:15
1598
2
原创 18.4.9 Range Loss for Deep Face Recognition with Long-tail 小感
最近读了一篇《Range Loss for Deep Face Recognition with Long-tail》,是继centerloss,A-softmax loss之后的有一篇对loss进行的工作,即提出了range loss。其中caffe中定义的range loss的层定义已经在github上上传了(传送门)。首先,作者提出了现在数据库中普遍存在的问题,就是数据存在长尾分布的情况...
2018-04-09 10:18:30
3084
1
原创 18.3.20 MFC 遇到函数模板已经定义, 多次初始化之类的问题
近期在弄MFC的东西,在其中遇到了一些问题,比如在配置完VS2013的caffe接口之后,项目里面的caffe_layer_registry文件(用来注册caffe层)总是报错,按照晚上的说法,将layer_factory.hpp里面的CHECK_EQ(registry.count(type), 0) << "Layer type " << type <...
2018-03-20 10:54:20
1434
原创 17.11.15 centerloss使用的时候需要注意的一些点
在接触了centerloss这么久之后,总结了一些需要注意容易出错的点: 1. 在使用之前应该对caffe重新编译一下。记得,当初刚接触caffe不是很久的时候,对最最最最最初级的方法还不是很了解,傻乎乎的直接拿过来就用,一直报错,很是难受。后来再大神的指点下,把caffe重新编译了一下。。。 2. 如果将centerloss要用的自己的caffe网络中的话,在已经编译的基础上,需要做的就是在原
2017-11-15 10:58:02
1420
原创 17.6.5 如何用python爬虫百度图片里面可加关键词的搜索结果
好久没有发博客了,可能是最近一段时间不怎么想学习。这样不好不好!! 前一小段时间主要在弄的一件事情就是自己在整理一个caricature的库,但是做这种漫画的人脸识别的数据库现有的并不多,如果公开的话也只是少部分,并且已经公开的数据库都比较小。所以为了下一个小阶段的学习,自己整理了一个小的caricature dataset。所以简单的保存图片已经不能满足于我,所以就找了爬虫来爬图片。由于cari
2017-06-05 14:46:24
628
原创 17.5.8 生成模型(Generative model)和判别模型(Discriminative model)的区别
在有些文章里面常常会提到生成模型(Generative model)和判别模型(Discriminative model)。那么这两种模型到底有什么区别呢?举个简单的例子,对于下面的一组数据。 对于图中给定的四个位置的数据可以清楚的看出两者的概率存在一定的差异。对于上面的p(x,y)其实是求得对于一个新输入的x,计算分别属于四个位置的概率,运用这种想法的模型是生成模型。对于下面的p(x|y)其
2017-05-08 10:17:48
677
原创 17.5.8 韦伯局部描述符(Weber's Local Descriptor)
在大多的据不描述符中,Gabor小波和LBP是常见的两种。本文将主要介绍另外一种纹理的描述算子WLD(Weber’s Local Descriptor),主要由两部分组成:差励(differential excitation)和方向(orientation),这是一种简单高效的、鲁棒的纹理描述符。该方法发源于韦伯定理,他认为一个刺激的变化和原刺激本身的比值是一个固定的常数,当一个变化是比这种原始的刺
2017-05-08 09:53:12
4261
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人