6 sinat_21190681

尚未进行身份认证

我要认证

暂无相关简介

等级
TA的排名 18w+

对‘cv::VideoCapture::VideoCapture()’未定义的引用

添加opencv_videoio库,打开caffe/cmake/Dependencies.cmake大约72行,改为find_package(OpenCV QUIET COMPONENTS core highgui imgproc imgcodecs videoio)

2018-11-23 17:24:06

conda安装tensorflow

1、创建tensorflow虚拟环境conda create -n tensorflow python=22、查看当前存在哪些虚拟环境conda env list3、激活虚拟环境,进入到tensorflow虚拟环境source activate tensorflow4、安装tensorflow(tensorflow1.8.0 cuda9.0)conda install tens...

2018-10-31 09:45:15

c++11计时:chrono

#include <chrono>std::chrono::high_resolution_clock::time_point t1 = std::chrono::high_resolution_clock::now();某段代码std::chrono::high_resolution_clock::time_point t2 = std::chrono::high_reso...

2018-10-29 20:45:53

cmake设置opencv路径

cmake报错:CMake Error at examples/CMakeLists.txt:4 (find_package):By not providing “FindOpenCV.cmake” in CMAKE_MODULE_PATH this project hasasked CMake to find a package configuration file provided by...

2018-10-29 16:45:02

cmake增加C++11

在CMakeLists.txt中添加一行:add_definitions(-std=c++11)

2018-10-29 16:36:23

../lib/libcaffe.so.1.0.0-rc3:对‘H5LTget_dataset_ndims’未定义的引用

…/lib/libcaffe.so.1.0.0-rc3:对‘H5LTget_dataset_ndims’未定义的引用…/lib/libcaffe.so.1.0.0-rc3:对‘H5LTmake_dataset_double’未定义的引用…/lib/libcaffe.so.1.0.0-rc3:对‘H5LTmake_dataset_int’未定义的引用…/lib/libcaffe.so.1.0....

2018-10-25 19:31:51

no match for 'operator='(operand type are 'std::vector<float>' and 'float'

代码:std::vector&amp;lt;float&amp;gt; predictions[10]; for (int i = 0; i &amp;lt; 10; i++) { predictions[i] = out[i]; }报错:no match for ‘operator=’(operand type are ‘std::vector’ and ‘float’原因:vector pred...

2018-09-18 10:35:12

‘cv::estimateRigidTransform(cv::_InputArray const&, cv::_InputArray const&, bool)’未定义的引用

原因: 函数estimateRigidTransform()在anaconda2/include/opencv2/video/tracking.hpp:250中,判断可能是由于缺少opencv_video库 添加opencv_video库,由于caffe使用cmake编译,打开caffe/cmake/Dependencies.cmake大约72行,改为find_package(OpenCV...

2018-09-14 08:59:40

ncnn编译使用

安装git clone https://github.com/Tencent/ncnncd ncnnmkdir buildcd buildcmake ..make -j编译报错 onnx.proto:383:5: Expected “required”, “optional”, or “repeated”. onnx.proto:383:17: Missing field...

2018-09-14 08:52:30

use_global_stats

BN层中有个参数use_global_stats,它表示是否使用caffe内部的均值和方差。 训练模型的时候,将BN层use_global_stats设置为false;测试的时候设置为true,不然训练的时候会报nan或者模型不收敛。...

2018-09-13 17:50:23

安装nccl

1.安装ncclgit clone https://github.com/NVIDIA/nccl.gitcd nccl打开makefile,修改路径CUDA_HOME ?= /usr/local/cuda-9.0 (cuda路径)PREFIX ?= /home/wangfeng/packages/nccl (安装路径)make install2.编译caffe 打开c...

2018-09-13 17:35:01

cmake编译caffe matlab接口

打开caffe/CMakeLists.txtcaffe_option(BUILD_matlab &quot;Build Matlab wrapper&quot; OFF IF UNIX OR APPLE)改为caffe_option(BUILD_matlab &quot;Build Matlab wrapper&quot; ON IF UNIX OR APPLE)打开caffe/cmake/Modules/FindMat...

2018-09-13 17:27:39

cmake编译caffe

cd caffemkdir buildcd buildcmake .. -DBUILD_SHARED_LIB=ON -DBLAS=open -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXE_LINKER_FLAGS='-static-libstdc++'make install

2018-09-13 17:02:53
勋章 我的勋章
    暂无奖章