Closed haarburger closed 8 years ago
Hey,
I'm not super familiar with Keras, but here are few questions:
1) Seems like you added an additional layer with 40 units before 100+10+20 in skflow?
2) You should specify the same optimizer with optimizer='Adagrad'
as parameter to skflow.TensorFlowEstimator
. Right now you seems to be using SGD.
3) What is loss function in the Keras? skflow for regression (n_classes=0) uses mean squared error.
4) How does loss differences look, e.g after 10k/20k steps with the same optimizer and # layers?
Thanks a lot! You spotted the problem in question 1, where I incorrectly added the number of units in my input layer to hidden_units.
I'm trying to port a simple DNN that I wrote in Keras as follows
My skflow version looks like this:
My DNN has four outputs and I am using the same data in both implementations. However, the results are still very different and I'm wondering why. Are the two implementations equivalent in their topology? What could have gone wrong?