![](https://img-blog.csdnimg.cn/20190803122208220.jpeg?x-oss-process=image/resize,m_fixed,h_224,w_224)
hao's Caffe learning blog
记录Caffe 使用的技巧和方法
xuehaowang
有态度的科研小白,兴趣:计算机视觉,人工智能
展开
-
如何计算caffe模型的参数量params与flops
最近需要比较不同模型的参数量,pytorch可以用一行代码解决,但是Caffe比较麻烦,做个记录~# Pytorchcount = 0for p in net.parameters(): count += p.data.nelement() 方法1. 通用型 文件calc_params.pyimport syssys.path.insert(0, "/home...原创 2020-02-04 22:50:05 · 1145 阅读 · 2 评论 -
Ubuntu 18.04 安装 CAFFE
Ubuntu 18.04可以通过系统内置的预编译版本caffe,直接安装1. 安装 驱动查询官网驱动版本号:https://blog.csdn.net/justforacm/article/details/101438710sudo add-apt-repository ppa:graphics-drivers/ppasudo apt-get updatesudo apt-g...原创 2019-11-09 23:57:53 · 168 阅读 · 0 评论 -
Caffe: modify the caffe model using matlab
Contact Me:王雪豪 xuehaowang@buaa.edu.cnFor a flexible operation on the Caffe Model, I public the brief code to modify paras.The common layers, such as Conv layers, have two group paras, i.e. weigh...原创 2019-06-11 13:51:42 · 233 阅读 · 0 评论