milakov / nnForge

Convolutional neural networks C++ framework with CPU and GPU (CUDA) backends
http://nnforge.org
177 stars 44 forks source link

initializing with random weights #7

Closed gonzaloiglesiasiglesias closed 10 years ago

gonzaloiglesiasiglesias commented 10 years ago

Hi Max,

I want to initialize my neural networks with random weights in a range defined by the user. How are they initialized currently? I think i will need to do some modifications. Could you give me a hint to where to start? Thank you.

milakov commented 10 years ago

Hi,

It is in https://github.com/milakov/nnForge/blob/master/nnforge/convolution_layer.cpp in convolution_layer::randomize_data function

gonzaloiglesiasiglesias commented 10 years ago

Thanks for such a quick reply!