Do we need controller.compile?
Opened this issue · 2 comments
Hi Florian,
Thanks for your great code! I have a question though:
Do we really need this line of code (line 81):
controller.compile(loss='binary_crossentropy', optimizer=sgd, metrics = ['binary_accuracy'], sample_weight_mode="temporal")
from https://github.com/flomlo/ntm_keras/blob/master/main.py ?
I don't really think we need this. If we do need this, it would really confuse me. We already specify (line 43):
model.compile(loss='binary_crossentropy', optimizer=sgd, metrics = ['binary_accuracy'], sample_weight_mode="temporal")
from https://github.com/flomlo/ntm_keras/blob/master/model_ntm.py
controller is just a part of the NTM, and we should specific the ``compile" part only at NTM model. Am I correct?
I hope I made my question clear. Again, thanks a lot for your great work!
Best,
Cuong
Thanks Florian for your quick response!
I don't know what your master thesis is about. But given your deep understanding of this advanced topic, I know the thesis is really awesome! :-P
Good luck!
Best,
Cuong.