![](https://img-blog.csdnimg.cn/20190927151053287.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
caffe
caffe相关内容
慕思侣
一条互联网咸鱼
展开
-
yolov5s模型转caffe
目前我使用的源码为2023年4月6日的master版本,应该对应v7.1或者v8.0版本。主要调用export.py函数进行onnx模型导出,具体执行命令如下。其中设置图像的分辨率为640*640,batch为1。每个版本对应的Assets下有相应的下载链接。3. onnx模型转caffe模型。1.yolov5s模型下载。2.onnx模型导出。原创 2023-04-18 17:25:29 · 313 阅读 · 0 评论 -
ImportError: No module named python.NormlizedMSE
1. 直接使用train.sh启动训练过程,其实也是可以的#!/usr/bin/env shset -e./build/tools/caffe train --solver=/***/adam_solver.prototxt --gpu=1,2,3一般会报错:ImportError: No module named python.NormlizedMSE可能会报错,解决方案...原创 2019-11-01 16:34:36 · 146 阅读 · 0 评论 -
/usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library
参考链接:https://github.com/BVLC/caffe/issues/6359https://github.com/BVLC/caffe/issues/3046原创 2020-08-10 16:49:03 · 3730 阅读 · 0 评论 -
/usr/include/boost/python/detail/wrap_python.hpp:50:23: fatal error: pyconfig.h: No such file or dir
caffe编译报错:/usr/include/boost/python/detail/wrap_python.hpp:50:23: fatal error: pyconfig.h: No such file or directorycompilation terminated.Makefile:582: recipe for target '.build_release/tools/caffe.o' failedmake: *** [.build_release/tools/caffe.o] E原创 2020-08-14 14:53:29 · 3272 阅读 · 0 评论 -
【Caffe】/usr/bin/ld: cannot find -lboost_python3
在编译caffe时,因为在config里面设置的是使用python3,在编译时就报了这个错:/usr/bin/ld: cannot find -lboost_python3意思是找不到这个库。那先去到/usr/lib/x86_64-linux-gnu/下看看有没有python3相关的库,sudo ls -al libboost_python*可以看到,其实是有python3相关的库,只是没有libboost_python3这个软链接,那么就来建立缺少的链接:sudo ln.转载 2021-08-09 15:31:38 · 578 阅读 · 0 评论 -
【caffe】可视化网络的训练过程的loss和accuracy
标题@ 前言:我们在训练网络的时候,网络训练完毕后,需要可视化训练过程中loss和accuracy的变化情况,方便了解整个训练过程模型的优化情况。(之前使用caffe自带的脚本绘制曲线图,出现各种报错,遂采用python脚本来绘制曲线。)1、保存训练过程的log。我们在执行训练指令时,可以通过以下转载 2020-06-28 11:00:32 · 1026 阅读 · 0 评论 -
caffe python接口如何打印某一层权重以及对应输出
查看第一个convolution layers的权重# the parameters are a list of [weights, biases]filters = net.params['conv1'][0].data查看第一个convolution layers对应的输出feat = net.blobs['conv1'].data...原创 2019-05-07 11:01:50 · 1583 阅读 · 0 评论 -
caffe ResNet & DenseNet
ResNetResNet prototxt 链接https://github.com/antingshen/resnet-protofiles其中包含ResNet18,ResNet34,ResNet50,ResNet101以及ResNet152ResNet50,ResNet101以及ResNet152对应的caffe模型链接:https://pan.baidu.com/...原创 2019-05-08 09:53:17 · 327 阅读 · 0 评论 -
caffe跑densenet的错误:Message type "caffe.PoolingParameter" has no field named "ceil_mode".
原 caffe跑densenet的错误:Message type "caffe.PoolingParameter" has no field named "ceil_mode". 2017年12月03日 13:31:00 冬竹子 阅读数:3233 ...转载 2019-05-08 16:37:59 · 699 阅读 · 0 评论 -
caffe编译v100
参考链接:https://github.com/BVLC/caffe/issues/6809原创 2021-09-05 12:27:56 · 93 阅读 · 0 评论