caffe2 icon indicating copy to clipboard operation
caffe2 copied to clipboard

CNN Class [CNNModelHelper] misleading name.

Open cbalint13 opened this issue 9 years ago • 5 comments

Hi,

Would not be better to rename CNNModelHelper to simply NNModelHelper, whithout the C part meaning "convolutional" ? It's misleading to have it with "convolutional" since it holds more than just convolution layers e.g. LSTM and others.

  • The docs: http://caffe2.ai/docs/cnn.html

Thanks !

BTW, caffe2 looks owesome, true masterpiece !

cbalint13 avatar Apr 20 '17 08:04 cbalint13

Hi cbalint13,

Thanks for pointing out that. In fact, we totally agree with you on CNNModelHelper being misleading in naming. As you can see, CNNModelHelper now contains parameters, net protobuf and helper functions all in 1 class. It is a big model, with helper functions, and definitely not just CNN.

So, to make Caffe2 more flexible, we about to release a new change in API very soon. In this change, we will separate the concept of building operators from a model. We will introduce a new python module containing all helper functions to build ops(name not decided yet, maybe you can help us with that). At the same time, the ModelHelperBase and CNNModelHelper will be renamed. They will only contains net define and and parameters.

Hope this change will solve your concern. And please stay in touch with Caffe2 :)

Thanks

harouwu avatar Apr 20 '17 23:04 harouwu

How soon? Do you have a planned release cycle or roadmap? For example, TensorFlow release every 1.5 months or so.

futurely avatar Apr 25 '17 04:04 futurely

Hi @futurely , Caffe2 is on a daily base sync. You will always have the latest version :)

harouwu avatar Apr 25 '17 05:04 harouwu

new resnet building with brew https://github.com/caffe2/caffe2/commit/b0c463b644b958e30e4949d69ec5596004754a42 brew module in MNIST tutorial https://github.com/caffe2/caffe2/commit/6e560ee47eaa021539db9e4b20895bc1a6afc18c

futurely avatar May 17 '17 12:05 futurely

@harouwu,

Thank you for clarifications!
Now we have Brew module: https://caffe2.ai/docs/brew.html

cbalint13 avatar Jul 23 '17 12:07 cbalint13