-
Notifications
You must be signed in to change notification settings - Fork 26
Conversation
…into new_logging
…into new_logging
…into new_logging
A review on this would be nice, since tests are passing now and we can't proceed in many other things without a new logging ;) |
@gedoensmax Tested this and verified it works, I'd like to get a review here to move on with other PRs |
I think we should deprecate old logging keys used by trixi and remove them later on in favor of only the visdom and tensorbaord keywords. 👍 Multiprocessing is fine, we should just make the Users aware of the requirement. I would rather review #102 and afterwards start working on #165 and/or #143 , but I will see if I can make some time. |
That's fine, I'll focus on this PR then. |
So I added docstrings, deprecated the keys as discussed and the only thing missing here is the check inside the tests |
# Conflicts: # delira/logging/base_backend.py
So, I added some basic checks for written tags, there are a few problems though:
|
So, there are Problems with 2 logging functionalities:
The issue with multiple scalars could be solved, by simply iterating over the scalar dict and logging them sequentially, which is not that beautiful but should |
Docstrings look fine! Fixed the text logging: in tensorbaordX, the Logging multiple values at once I think iteration and sequential logging is fine even if not beautiful. If that problem only applies to TensorboardXWriter, we can also only change it there With the graphs it's unfortunate but i can't think of an easy proper solution right now. Same goes for testing. |
No, that's exactly what I was talking about. I changed this in the tensorboard backend and the corresponding tests. |
2 Tests for the scalars are seemingly still failing. Otherwise, except for the removal of trixi and trixi-slim in the requirements it seems good to go! |
Yeah, I messed up during test changing. Fixed this now... Regarding the removal of EDIT: I'd like to do this in a separate PR, as this one is already huge enough. |
First attempt for new logging structure (independent of trixi)