You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting the training tool, I noticed this logging warning (recently added in #2261):
2023-03-10 18:50:33,179 INFO [ctapipe.ctapipe-train-energy-regressor] (tool.initialize): Loading config from '[PosixPath('/home/mnoethe/Uni/CTA/2023-03-22-dpg-ctapipe/config/train_energy_regressor.yml')]'
2023-03-10 18:50:33,196 WARNING [ctapipe.core.provenance] (provenance._get_current_or_start_activity): No activity has been started yet. Provenance().start_activity(<name>) should be called explicitly.
Investigating, I saw that start_activity is called in Tool.runafter the call to initialize, which loads the config. So the config was assigned to the wrong activity and thus not written to the right activity provenance in the provenance log.
The text was updated successfully, but these errors were encountered:
I believe this can be closed as it was fixed in a previous PR. Running it now, I do not get this message and the config is in the provenance log as expected:
Describe the bug
Starting the training tool, I noticed this logging warning (recently added in #2261):
Investigating, I saw that
start_activity
is called inTool.run
after the call toinitialize
, which loads the config. So the config was assigned to the wrong activity and thus not written to the right activity provenance in the provenance log.The text was updated successfully, but these errors were encountered: