Skip to content

Upgrade python and tensorflow and add unittests for main tools#269

Merged
TjarkMiener merged 27 commits intomainfrom
upgrade_python
Jan 26, 2026
Merged

Upgrade python and tensorflow and add unittests for main tools#269
TjarkMiener merged 27 commits intomainfrom
upgrade_python

Conversation

@TjarkMiener
Copy link
Member

@TjarkMiener TjarkMiener commented Dec 17, 2025

Requires dl1dh-#176; CI passed with dl1dh-v0.14.8.


Closes #38

also added tests for mono predict tool

remove flag to use_HDF5_merger component and use it by default

overall clean up and code improvement
uses distinct CTLearn model prefixes for each reco tasks

also train a LST models in conftest

polish tests to test different image mappers and check for subarray and telescope tableloader reading
@TjarkMiener TjarkMiener marked this pull request as ready for review January 22, 2026 14:21
@TjarkMiener TjarkMiener changed the title Upgrade python and tensorflow Upgrade python and tensorflow and add unittests for main tools Jan 22, 2026
Copy link
Collaborator

@rcervinoucm rcervinoucm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything looks clean to me, thanks a lot for the changes Tjark

Copy link
Collaborator

@BastienLacave BastienLacave left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested training at CSCS with docker file for energy and cameradirection on GPU.

@TjarkMiener
Copy link
Member Author

@nietootein can you please review this PR? I'd like to avoid to populate this PR even further so it becomes more difficult to review. Before releasing a new version bumping the backend to keras3 and TF >= v2.16 we can add smaller dedicated PRs. Thanks in advance!

Copy link
Member

@nietootein nietootein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much for this PR, @TjarkMiener ! Unittests and the upgrades were badly needed.

@TjarkMiener TjarkMiener merged commit 0925db7 into main Jan 26, 2026
10 of 14 checks passed
@TjarkMiener TjarkMiener deleted the upgrade_python branch January 26, 2026 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Unit Tests

4 participants