上一页 1 ··· 3 4 5 6 7 8 下一页
摘要: cn特征 c++实现 vs2015 #include <iostream> #include <opencv2/opencv.hpp> #include <vector> //#include <matio.h> // class cn_feature { public: bool init(std 阅读全文
posted @ 2021-01-18 20:52 快乐码小农 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 假设A为二维矩阵, A(:)/8 得到的一个列向量 img = [8 2*8 3*8;4*8 5*8 6*8]; fprintf('img original: \n'); disp(img); g = img(:)/8; [m,n] = size(g); fprintf('m : %d, n : % 阅读全文
posted @ 2021-01-18 17:55 快乐码小农 阅读(713) 评论(0) 推荐(0) 编辑
摘要: matlab sub2ind利用c语言重写 #include <stdio.h> #include <assert.h> #include <stdlib.h> #include <string.h> #include <time.h> typedef struct _sub2ind_res { u 阅读全文
posted @ 2021-01-18 16:06 快乐码小农 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 注释掉printf、std::cout语句,或者添加fflush(stdout),否则容易导致缓存区阻塞! 一杯茶一包烟,一个bug调一天! 阅读全文
posted @ 2021-01-13 16:13 快乐码小农 阅读(64) 评论(0) 推荐(0) 编辑
摘要: Windows下配置c++版本vot 配置环境: vs2015,matlab2014b, windows版本cmake 1.编译trax, source code为解压后的trax路径 where to build the binaries在trax里面添加build文件夹 点两次Configure 阅读全文
posted @ 2021-01-12 22:16 快乐码小农 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 每次进入一个新的工作空间时,先退出matlab! 阅读全文
posted @ 2021-01-05 19:43 快乐码小农 阅读(79) 评论(0) 推荐(0) 编辑
摘要: 模型简化: python3 -m onnxsim input_onnx_model output_onnx_model 转换完成后,需要注意: 1.图像归一化方式: 如果训练过程中,图像归一化为: preprocess_transform = transforms.Compose([ transfo 阅读全文
posted @ 2020-12-18 18:31 快乐码小农 阅读(824) 评论(0) 推荐(0) 编辑
摘要: siamRPN包含两个分支。 z->exemplar(1,3,127,127), x->instance(1,3,255,255) **branch1:** 对z提取特征fz(AlexNet),并根据f计算分类和回归卷积核 fz shape->(1,256,6,6) 分类cls: fcls(fz)- 阅读全文
posted @ 2020-11-25 17:47 快乐码小农 阅读(288) 评论(0) 推荐(0) 编辑
摘要: linux c语言解压zip格式文件 #include <stdio.h> #include <stdlib.h> int unzipFile(const char* fileName) { char command[256] = {0}; sprintf(command, "unzip %s", 阅读全文
posted @ 2020-11-22 14:16 快乐码小农 阅读(690) 评论(0) 推荐(0) 编辑
摘要: ![](https://img2020.cnblogs.com/blog/2193902/202011/2193902-20201129121543867-835310147.jpg)![](https://img2020.cnblogs.com/blog/2193902/202011/2193902-20201129121549276-5258633.jpg)![](https://img202... 阅读全文
posted @ 2020-11-16 16:24 快乐码小农 阅读(302) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 下一页