
hao's Caffe learning blog
记录Caffe 使用的技巧和方法
xuehaowang
有态度的科研小白,兴趣:计算机视觉,人工智能
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
如何计算caffe模型的参数量params与flops
最近需要比较不同模型的参数量,pytorch可以用一行代码解决,但是Caffe比较麻烦,做个记录~ # Pytorch count = 0 for p in net.parameters(): count += p.data.nelement() 方法1. 通用型 文件calc_params.py import sys sys.path.insert(0, "/home...原创 2020-02-04 22:50:05 · 1249 阅读 · 2 评论 -
Ubuntu 18.04 安装 CAFFE
Ubuntu 18.04可以通过系统内置的预编译版本caffe,直接安装 1. 安装 驱动 查询官网驱动版本号:https://blog.youkuaiyun.com/justforacm/article/details/101438710 sudo add-apt-repository ppa:graphics-drivers/ppa sudo apt-get update sudo apt-g...原创 2019-11-09 23:57:53 · 223 阅读 · 0 评论 -
Caffe: modify the caffe model using matlab
Contact Me: 王雪豪 xuehaowang@buaa.edu.cn For 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 · 309 阅读 · 0 评论