Skip to content

Conversation

@lmoneta
Copy link
Member

@lmoneta lmoneta commented Jan 13, 2026

This PR superseeds #19692 fixing the conflicts and add some bug fixes

@guitargeek
Copy link
Contributor

Thanks for the PR! One two things to do before a more detailed review is to merge #15790 and fix the test failures in this PR. But I also have a general question, the same as in #19692 (comment): why not remove the old C++ parser at the same time, so we don't risk code duplication and user confusion?

@github-actions
Copy link

github-actions bot commented Jan 13, 2026

Test Results

    22 files      22 suites   3d 22h 0m 51s ⏱️
 3 823 tests  3 815 ✅ 0 💤  8 ❌
76 882 runs  76 849 ✅ 0 💤 33 ❌

For more details on these failures, see this check.

Results for commit d592d31.

♻️ This comment has been updated with latest results.

PrasannaKasar and others added 8 commits January 14, 2026 11:33
…ers and added tests for them. Imported Keras within the required functions. Created new CMakeLists.txt file for the keras parser. Made changes in the pythonization CMake file to build the keras parser files
…aced import keras_version with get_keras_version and called it in necessary files
… directory. Used import numpy statements within the parser functions to avoid slowing down the import of ROOT.
… Keras3 Sequential

In Keras3 Sequential output of a layer can have a different name than input of the next layer.
Since in sequnrial model each layer has a single input/output use as output names the layer name (which is unique) and set as input name for the next layer
@lmoneta lmoneta force-pushed the tmva_sofie_keras_parser_prasanna branch 2 times, most recently from af08225 to 80a30c0 Compare January 15, 2026 16:48
…d C++ parser

- use new python keras parser for parsing a model into SOFIE.
Since new parser is only Python base, move some tutorials from C++ to Python

Remove also tutorial dependency on TMVA_Higgs_Classification by creating and training a model in tutorial TMVA_SOFIE_Keras_HiggsModel.py

Adapt also RSofieReader for using new Python Keras parser
@lmoneta lmoneta force-pushed the tmva_sofie_keras_parser_prasanna branch from 80a30c0 to 0c9d958 Compare January 15, 2026 17:54
…ndency to test

Fix also an issue in a SOFIE tutorial
@lmoneta lmoneta force-pushed the tmva_sofie_keras_parser_prasanna branch from 0c9d958 to d592d31 Compare January 16, 2026 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants