junhyukoh / caffe-lstm

LSTM implementation on Caffe
Other
493 stars 250 forks source link

Meaning of label in lstm_short example #12

Open aurotripathy opened 8 years ago

aurotripathy commented 8 years ago

My goal is to apply the example, lstm_short, to the latest caffe releases (now that LSTM support is available in caffe)

I understand the data is some kind of periodic signal that we will reconstruct. The clip is a way to mark the beginning of the signal. What is label in this example?

The example (which works well in this branch) is here. https://github.com/junhyukoh/caffe-lstm/blob/master/examples/lstm_sequence/lstm_short.prototxt

junhyukoh commented 8 years ago

In this example, there is no input given to the network, which means that "data" blob is simply filled with zeros. The "label" is the periodic signal that the network has to reconstruct. This is an unusual setting, but it is simple and good enough for debugging implementation.

aurotripathy commented 8 years ago

This makes total sense even though it is slightly non-intuitive ("unusual", as you put it). Thank you very much for clarifying.