-
Notifications
You must be signed in to change notification settings - Fork 42
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
Remove duplicate addition of callbacks/make optional #384
Comments
@romeokienzler We also have the issue in here that we add this with no choice of disabling (as far as I can tell), but more importantly the 'mode' (e.g. min/max) is not something we can change from here. Min (the default) is OK if we refer to loss, but not if we referred to something different. We also assume that there will always be a "val/loss" item to monitor. For object detection for example, I am monitoring MAP that has to go up.
|
@paolofraccaro @romeokienzler Currently you can overwrite them in the config on the highest level, not in the Trainer. Not sure if you can deactive them (This is also quite annoying for Iterate).
But I agree it is not intuitve and not explained by terratorch afaikt. It might be better to define default callbacks in general (checkpoints, LR montior, rich progress bar) and add them if the use does not overwrite them. |
@romeokienzler @blumenstiel @paolofraccaro Maybe the solution proposed in #454 is the way to solve it. |
in cli_tools.py:
We need to check if it makes sense to have both callbacks added at the same time, also need to remove those if the config already provides those
@paolofraccaro
The text was updated successfully, but these errors were encountered: