Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible in Caffe to calculate number of Operations taking place in an architecture? [duplicate]

Tags:

caffe

I have seen in tensorflow tutorials, they provide some interesting statistics about different architectures, such as number of operations taking place, etc .

This model achieves a peak performance of about 86% accuracy within a few hours of training time on a GPU. Please see below and the code for details. It consists of 1,068,298 learnable parameters and requires about 19.5M multiply-add operations to compute inference on a single image.

How can I achieve something similar using Caffe?
How can compute or compile such interesting statistics myself?
(by the way I'm not talking about tensorboard visualizations, Just statistics such as number of operations and stuff like that)

like image 950
Hossein Avatar asked Nov 09 '22 02:11

Hossein


1 Answers

There is an open issue #2507 in BVLC/caffe github requesting this feature.
You are more than welcome to make a contribution to caffe implementing this feature!

like image 179
Shai Avatar answered Jan 04 '23 01:01

Shai