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

[tmva] Wrong result when evaluating a TMVA CNN a GPU trained model with BNORM layer on CPU #12589

Open
lmoneta opened this issue Mar 31, 2023 · 0 comments
Assignees

Comments

@lmoneta
Copy link
Member

lmoneta commented Mar 31, 2023

As reported in https://root-forum.cern.ch/t/tmva-read-image-data-for-application-of-a-cnn-model/54181/15
and shown in this notebook example
https://cernbox.cern.ch/s/U7p6sgH7QN4GRlX

A CNN model that is trained on GPU and containing a BNORM layer produces wring results (all 0 or 1) when is evaluated (e.g. using RReader) on CPU.
The evaluation that is done in the Classification macro (in Factory::EvcaluateAllMethods) is performed on GPU.
This happens only when the model contains the BNORM layer.

@lmoneta lmoneta added the bug label Mar 31, 2023
@lmoneta lmoneta self-assigned this Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants