- 博客(91)
- 资源 (78)
- 问答 (1)
- 收藏
- 关注
原创 std::map只修改不用加锁
std::map创建并初始化之后,不会再有任何的insert和delete键值对的操作。仅有的操作就是不同的线程会访问不同的key,对key对应的value进行修改,请问这种情况下,是否需要加锁?不需要加锁...
2018-03-31 22:43:58 4414
原创 c++ 烫烫烫烫烫烫烫烫烫
经过一段时间跟踪,终于发现原因了,定义个char数组,不赋值,直接打印,就会出现char revBuf[1504];printf("%s\n", revBuf);网上一些其他的解释:https://blog.csdn.net/laciqs/article/details/7716321在VC中特别是缓冲区溢出后,常常会出现一堆烫烫烫烫烫,它们是从哪来的呢?原来,VC在Debug模式下会使用CCh来...
2018-03-30 20:02:27 13598 1
转载 逻辑回归原理(python代码实现)
原文: https://blog.csdn.net/csqazwsxedc/article/details/69690655Logistic Regression Classifier逻辑回归主要思想就是用最大似然概率方法构建出方程,为最大化方程,利用牛顿梯度上升求解方程参数。优点:计算代价不高,易于理解和实现。缺点:容易欠拟合,分类精度可能不高。使用数据类型:数值型和标称型数据。介绍逻辑回归之前...
2018-03-30 18:04:30 2555
转载 物体检测 迁移学习、IOU、NMS理解
1. 迁移学习迁移学习也即所谓的有监督预训练(Supervised pre-training),我们通常把它称之为迁移学习。比如你已经有一大堆标注好的人脸年龄分类的图片数据,训练了一个CNN,用于人脸的年龄识别。然后当你遇到新的项目任务是:人脸性别识别,那么这个时候你可以利用已经训练好的年龄识别CNN模型,去掉最后一层,然后其它的网络层参数就直接复制过来,继续进行训练。这就是所谓的迁移学习,说的简...
2018-03-30 17:58:55 2550
转载 线性回归最小二乘法和梯度下降法-详细
原文: https://blog.csdn.net/y990041769/article/details/69567838问题描述首先我们定义问题,线性回归要解决的问题就是根据给出的数据学习出一个线性模型。 例如我们最常说的身高和体重的关系,以及房屋面积和房价的关系,这里给出一个瑞典汽车保险数据集 数据集 可以直接复制出来用 两列分别表示 索赔要求数量 对所有索赔的总赔付,以千瑞典克朗计 数据前...
2018-03-30 17:49:01 2836
原创 yolov3 get_next_batch 异常
0x00007FFCFC98C387 (vcruntime140.dll)处(位于 darknet.exe 中)引发的异常: 0xC0000005: 读取位置 0x0000000000000000 时发生访问冲突。如有适用于此异常的处理程序,该程序便可安全地继续运行。get_next_batch(d, batch, i*batch, X, y);原因:图片路径不对...
2018-03-29 17:45:32 3160 2
原创 darknet: ./src/cuda.c:36: check_error: Assertion `0' failed.
0 CUDA Error: unknown errordarknet: ./src/cuda.c:36: check_error: Assertion `0' failed.已放弃 (核心已转储)解决方法,加sudo权限:加一个sudo
2018-03-29 10:57:36 8519 3
原创 C语言获取当前工作路径
目前做C语言程序都在windows下进行,目前就windows下获取当前目录的方法进行一个总结。第一种方法:_getcwd()[cpp] view plain copychar* _getcwd( char *buffer, int maxlen ); // 功 能 : 获得当前工作目录. // 头文件 : #include <direct.h> // 返回值 : 成功返回指向...
2018-03-28 20:33:13 12581
原创 c++ char **argv 赋值 argv默认参数
int main(int argc, char **argv){ //test_resize("data/bad.jpg"); //test_box(); //test_convolutional_layer(); if(argc < 2){ fprintf(stderr, "usage: %s <function>\n", argv[0])...
2018-03-28 20:25:20 9311
原创 极大似然估计
极大似然估计,通俗理解来说,就是利用已知的样本结果信息,反推最具有可能(最大概率)导致这些样本结果出现的模型参数值!换句话说,极大似然估计提供了一种给定观察数据来评估模型参数的方法,即:“模型已定,参数未知”。可能有小伙伴就要说了,还是有点抽象呀。我们这样想,一当模型满足某个分布,它的参数值我通过极大似然估计法求出来的话。比如正态分布中公式如下:如果我通过极大似然估计,得到模型中参数 和 的值,...
2018-03-28 18:13:16 2440
原创 YOLOV3+window10+cuda8.0+cudnn6.0安装过程
YOLOV3+window10+cuda8.0+cudnn6.0安装过程MSVS 2015, CUDA 8.0 and OpenCV 3.0以上版本,1、下载YOLOV3源码(github有人已经搭好的直接用) https://github.com/AlexeyAB/darknet 把opencv拷贝到目录: C:\opencv_3.0\opencv\build\include & C:\...
2018-03-28 15:32:19 4122 1
原创 MXNet 安装 Windows
pip install mxnet-cu100cpu版:pip install mxnetimport mxnetprint(mxnet.__version__)print(mxnet.__path__)
2018-03-28 10:24:27 3163
原创 PyCUDA+Threading = Invalid Handles on kernel invocations
PyCUDA+Threading = Invalid Handles on kernel invocationsThe reason is context affinity. Every CUDA function instance is tied to a context, and they are not portable (the same applies to memory allocat...
2018-03-26 22:26:52 2471
原创 Python Multiprocessing with PyCUDA
Python Multiprocessing with PyCUDA参考:https://stackoverflow.com/questions/5904872/python-multiprocessing-with-pycudaYou need to get all your bananas lined up on the CUDA side of things first, then thin...
2018-03-26 22:26:17 3213
转载 pycuda write complex numbers — errors:class “cuComplex” has no member “i”
参考:https://stackoverflow.com/questions/8857063/cuda-pycuda-how-to-write-complex-numbers-errorsclass-cucomplex-has-no#include <pycuda-complex.hpp>template<typename T>__global__ void kern...
2018-03-26 22:24:56 2503
原创 concealing 706 DC, 706 AC, 706 MV errors in P frame
arm cpu性能不足,做这种高强度的编码有些勉为其难,把码率和压缩比降低了看看,不行只能用更好的cpu了。error while decoding MB 0 16, bytestream 2344我自己测试的,故意丢数据就会出现这个异常...
2018-03-24 11:21:28 6225
原创 fatal error: nsync_cv.h: No such file or directory
fatal error: nsync_cv.h: No such file or directory解决方法:https://github.com/tensorflow/tensorflow/issues/12482/* Copyright 2015 The TensorFlow Authors. All Rights Reserved.Licensed under the Apache Lice...
2018-03-23 15:08:11 2796 1
原创 A single input file is required for a non-link phase when an outputfile is specified
A single input file is required for a non-link phase when an outputfile is specified这里面多了一个 /nvcc -std=c++11 -c -o psroi_pooling_op.cu.o psroi_pooling_op_gpu.cu.cc -I D:\ProgramData\Miniconda3\envs\py...
2018-03-23 13:20:19 6038
原创 python str与bytes转换
# bytes object b = b"example" # str object s = "example" # str to bytes bytes(s, encoding = "utf8") # bytes to str str(b, encoding = "utf-8") # an alternative method # str to...
2018-03-21 09:48:06 7451
原创 Check failed: status == CUDNN_STATUS_SUCCESS (4 vs. 0) CUDNN_STATUS_INTERNAL_ERROR
pycharm调用cuda时报错:Check failed: status == CUDNN_STATUS_SUCCESS (4 vs. 0) CUDNN_STATUS_INTERNAL_ERROR解决方法:加sudo 执行如果是pycharm启动,则:sudo ./pycharm.sh
2018-03-20 13:50:54 4684 5
原创 ubuntu 修改卷标
查看磁盘卷标sudo blkidsudo fdisk -lsudo umount /dev/sd**sudo ntfslabel /dev/sd×× diskname
2018-03-19 19:27:08 4463
原创 'utf-8' codec can't decode byte 0xd5 in position 0: invalid continuation byte
pip install cupy时报错:site-packages\pip\compat\__init__.py 'utf-8' codec can't decode byte 0xd5 in position 0: invalid continuation byteD:\ProgramData\Miniconda3\envs\python3.6\Lib\site-packages\pip\com...
2018-03-19 16:04:06 7779 1
转载 Corrupt JPEG data: 2 extraneous bytes before marker 0x
Corrupt JPEG data: 2 extraneous bytes before marker 0x
2018-03-19 10:26:25 30215
转载 caffe中各层的作用
caffe中各层的作用:关于caffe中的solver:cafffe中的sover的方法都有:Stochastic Gradient Descent (type: "SGD"),AdaDelta (type: "AdaDelta"),Adaptive Gradient (type: "AdaGrad"),Adam (type: "Adam"),Nesterov’s Accelerated Grad...
2018-03-18 15:42:12 2669
原创 a bytes-like object is required, not 'str' pickle.loads pickle.dumps
a bytes-like object is required, not 'str' pickle.loads pickle.dumpspickle可以序列化任何简单对象。解决方法:pickle.loads(eval(perm))
2018-03-16 18:45:46 2610
原创 bash ImportError: No module named tensorflow
mash.sh#!/usr/bin/env bashTF_INC=$(python -c 'import tensorflow as tf; print(tf.sysconfig.get_include())')echo $TF_INCsudo bash mash.shTraceback (most recent call last): File "<string>", lin...
2018-03-15 23:39:47 2655
转载 区域推荐网络RPN
Region Proposal NetworkRPN的实现方式:在conv5-3的卷积feature map上用一个n*n的滑窗(论文中作者选用了n=3,即3*3的滑窗)生成一个长度为256(对应于ZF网络)或512(对应于VGG网络)维长度的全连接特征.然后在这个256维或512维的特征后产生两个分支的全连接层:(1)reg-layer,用于预测proposal的中心锚点对应的proposal的...
2018-03-14 23:39:30 2953
转载 Caffe源码中Solver文件分析
参考:https://www.2cto.com/kf/201703/615653.htmlCaffe源码中Solver文件分析 Caffe源码中Solver文件分析:Caffe源码中有一些重要的头文件,这里介绍下include/caffe/solver.hpp文件的内容:1.include文件::此文件的介绍可以参考:https://...
2018-03-14 22:59:38 2679
原创 Caffe学习系列(8):solver优化方法
Caffe学习系列(8):solver优化方法上文提到,到目前为止,caffe总共提供了六种优化方法:Stochastic Gradient Descent (type: "SGD"),AdaDelta (type: "AdaDelta"),Adaptive Gradient (type: "AdaGrad"),Adam (type: "Adam"),Nesterov’s Accelerated ...
2018-03-14 22:53:07 2451
原创 Selective search data not found at
Selective search data not found atTraceback (most recent call last): File "/home/sbd/project/pvanet/pvanet_modified/tools/test_net.py", line 90, in <module> test_net(net, imdb, max_per_image...
2018-03-14 21:11:45 3205 1
原创 undefined symbol: _Py_ZeroStruct
undefined symbol: _Py_ZeroStruct解决:是因为没有在eavs下编译,source activate python3.6python setup_linux.py build_ext --inplacemake
2018-03-14 16:12:26 6103
原创 initialization of _caffe raised unreported exception
initialization of _caffe raised unreported exceptionRuntimeError: module compiled against API version 0xc but this version of numpy is 0xaTraceback (most recent call last): File "/home/sbd/project/pv...
2018-03-14 14:45:13 5543 2
原创 Ubuntu创建新用户并增加管理员权限
$是普通管员,#是系统管理员,在Ubuntu下,root用户默认是没有密码的,因此也就无法使用(据说是为了安全)。想用root的话,得给root用户设置一个密码:sudo passwd root然后登录时用户名输入root,再输入密码就行了。ubuntu建用户最好用adduser,虽然adduser和useradd是一样的在别的linux糸统下,但是我在ubuntu下用useradd时,并没有创建...
2018-03-14 13:50:35 2910
转载 git submodule 删除及更新URL
git submodule 删除及更新URL 转载 2016年03月08日 10:27:21 ...
2018-03-14 00:12:15 8757
原创 libstdc++.so.6: version `GLIBCXX_3.4.21' not found
libstdc++.so.6: version `GLIBCXX_3.4.21' not found/home/sbd/.conda/envs/python3.6/libsudo rm -f libstdc++.so.6sudo ln -s libstdc++.so.6.0.19 libstdc++.so.6.0.21 && sudo ldconfig
2018-03-13 20:36:54 2771
BIWI vocaset模板
2024-04-25
rknn yolov5 rtsp
2024-04-21
问财选股导出excel pythony源代码
2024-04-21
自研lstm多目标跟踪,DanceTrack验证集精度98%
2024-04-18
强大好用的人体关键点标注工具
2024-04-18
pyopengl windows x64 whl安装包
2024-02-17
mmpose 预测转json标注
2024-01-25
3d-nms cuda代码
2024-01-07
MobileViT v3 pytorch代码
2023-12-31
OpenPCDet ingroup-inds库 windows编译
2023-12-27
Ultra-Fast-Lane-Detection-v2 pytorch版
2023-10-20
insightface/alignment 人脸关键点的pytorch版本
2023-04-29
yolov5 face onnx推理代码
2023-03-26
yolov7 分割 tensorrt 推理源代码
2023-02-23
labelme-5.1.1
2023-01-27
3DDFA-V2.5-opencv-yolov5face
2022-12-25
tensorrt c++ 推理项目
2022-07-03
yolov5各个版本 tensorrt cfg文件
2022-02-16
coco2017转xml格式,精选人体数据集
2022-01-13
Yolov5_DeepSort_bytetrack
2021-11-20
yolov5 代码版 芒果检测 带训练权重,可以直接用
2021-11-16
旋转目标检测标签转换为yolov5格式
2021-11-13
yolov5-face_align.rar
2021-09-01
256_256_resfcn256_weight.index
2021-08-21
yolov5代码版,带预训练,测试脚本,可训练
2021-08-21
神经网络改进的几个思考
2022-04-09
TA创建的收藏夹 TA关注的收藏夹
TA关注的人