keras-team / keras

Deep Learning for humans
http://keras.io/
Apache License 2.0
61.93k stars 19.45k forks source link

model output inconsistent on tensorflow and theano backends #18866

Closed cheyennee closed 10 months ago

cheyennee commented 10 months ago

model.zip problem I trained a model on both TensorFlow and Theano backends, saving the outputs of all layers for comparison. The outputs of the second layer and beyond differ between the two implementations. Attached you will find the model file (tensorflow.h5), dataset directory (containing data and ground truth), weight directory (containing weights for all layers), and layer outputs directory. version keras: 2.3.1 tensorflow: 2.0.0 theano: 1.0.4 python: 3.6

fchollet commented 10 months ago

Thanks for the report. The Theano backend has been deprecated since 2019 and we do not process Theano related issues. I suggest you upgrade to Keras 3.