raghakot / keras-resnet

Residual networks implementation using Keras-1.0 functional API
Other
1.39k stars 617 forks source link

Training loss reduces sooo slow #46

Closed vodp closed 7 years ago

vodp commented 7 years ago

Using ResnetBuilder.build((1, 32, 32), 1, 'basic_block', [1, 1, 1, 1]) to build my own network for image data of size 32x32 with depth 1, I cannot make the training loss decrease as normally it does. In fact the loss reduces very very slow (two number after decimal point) no matter how big the learning rate is set. I tried both SGD and Adam but do not seem to work. In the meantime, my data used with a simple feed forward convnet run very good. What problem it may happen with resnet arch. if you have any idea?

Edit: my bad. I use the resnet for regression purpose so I need to change activation in the last layer as 'linear'.