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
Currently we use StandardRenderer with no_update=True and it is used in a process that uses tqdm (keras training loop).
The effect is that the first line from ticktock is appended at the end of the line of current tqdm progress.
I can see in https://github.com/victorbenichoux/ticktock/blob/main/ticktock/std.py#L137 there is a new line appended at the end of ticktock output. We would like to add a new line at the beginning as well. WDYT of either including it be default or allowing to customize it by the client?
The text was updated successfully, but these errors were encountered:
Thanks for the feedback. As you can see, I have been struggling quite a bit with the tqdm integration, and I have not quite been able to make it work with updates 😬 .
I am not able to reproduce the behavior you are describing, although I may be doing something wrong. I am testing with the following code:
I am switching between which="in" and which="out" and in both cases, the ticktock lines seem to be correctly generated. In addition, adding a new line at the beginning of each block introduces blank lines. So I figure I must be doing something wrong.
Could you give me more information to reproduce the issue? I am really happy to take any suggestion, and if it turns out that adding a newline fixes it for you, I will add in a way to allow the user to do so 😄 . If you can not provide a simple example, I guess we're on the same time zone so we can probably work something out!
In any event, I do do need to go back and fix the behavior with tqdm. If you want to help out feel free!
Currently we use StandardRenderer with
no_update=True
and it is used in a process that uses tqdm (keras training loop).The effect is that the first line from ticktock is appended at the end of the line of current tqdm progress.
I can see in https://github.com/victorbenichoux/ticktock/blob/main/ticktock/std.py#L137 there is a new line appended at the end of ticktock output. We would like to add a new line at the beginning as well. WDYT of either including it be default or allowing to customize it by the client?
The text was updated successfully, but these errors were encountered: