Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different training results with Keras and EDDL #319

Open
drodagu opened this issue Dec 3, 2021 · 0 comments
Open

Different training results with Keras and EDDL #319

drodagu opened this issue Dec 3, 2021 · 0 comments
Assignees
Labels
bug Something isn't working Hard help wanted Extra attention is needed

Comments

@drodagu
Copy link

drodagu commented Dec 3, 2021

Hi,
I have been doing some tests with a very simple model for regression: 3 dense layers 50 neurons each, 8 inputs and a single output. When I do inference with the same model using Keras and EDDL, the results obtained are different. I'm using EDDL v1.0.3b with CUDNN.

In all the test, the model was initialized in Keras and imported into the EDDL as an ONNX file. The blue dots are the inference results obtained with Keras, while the red dots are the inference results obtained with EDDL.

In the first test, the inference results of Keras were obtained with the model trained using Keras, while for the inference results in EDDL the model was trained in EDDL.

keras_eddl

In the second test, the model was trained with keras.

keras_trained_eddl

And in the last test, the model was trained with EDDL.

keras_eddl_trained

The Y axis correspond to the expected results (Test_Y) and the X axis correspond to the predicted results. In the three test, EDDL has trouble predicting values that are greater than 0.4.

The files used to perform the tests are these: inference_keras_eddl.zip

@salvacarrion salvacarrion added bug Something isn't working Hard help wanted Extra attention is needed labels Dec 7, 2021
@salvacarrion salvacarrion changed the title Different inference results with Keras and EDDL Different training results with Keras and EDDL Mar 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Hard help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants