DeepLearnToolbox icon indicating copy to clipboard operation
DeepLearnToolbox copied to clipboard

CNN questions and discussion

Open mawady opened this issue 10 years ago • 2 comments

Hii

I'm using this code in my masters thesis and have some points to discuss:

  • Learning rate: initial is too high (1 as default) and doesn't decrease by epochs
  • i changed the code [images attached] in some how to deal with multi-channel data (RGB, satellite,... ) but i'm not sure about it
  • in cnnnumgradcheck.m file, the commented code of sampling layer can be implemented in proper way or it's not important at all

Thanks for your time, Mohamed Elawady Heriot-Watt University

cnntrain2 cnnff1 cnnsetup1 cnntrain1

mawady avatar Apr 25 '14 13:04 mawady

Using global variables is a bad practice. What you should do is to inspect the input shape, and come up with choosing correct batchsize and numberOfChannels from the input data.

taygunk avatar May 15 '14 13:05 taygunk

Thanks @taygunk for your reply

the presented code is just quick modification for original modification ... i already organized my implementation using some coding standards! :+1:

my problem is not selecting batch size or number of channels but the way i modify the code to accept N-dimensional data (not technical aspect), reason of not using adaptive learning rate, and status of cnnnumgradcheck.m (not called by any m-file!)

I already met some former PhD students of hinton (Ruslan & Volod) last week and already discussed my conceptual ambiguity and got quite reasonable answers for selecting CNN parameters :)

mawady avatar May 15 '14 14:05 mawady