bug: `Task.set_initial_iteration` doesn't affect the server
See original GitHub issueI want to report two problems:
- The docs for the parameter
iteration
of anyLogger.report_*
method are not matching what happens. - Setting the initial iteration doesn’t affect the server.
For instance, if I have a clearml.Task
instance which is being resumed from iteration 100
, the initial iteration (as returned by Task.get_initial_iteration
) is 100
. Lets say I want to report a scalar for iteration 105
by calling Logger.report_scalar
clearml_logger.report_scalar(value, iteration=105)
However, it gets plotted for iteration 205 on the server (i.e. 100 + 105). Hence the docs should say here that iteration
really is an offset to the initial iteration. There would be two ways to do this properly:
- manually calculate the offset
This works for all manual summaries, however not for the automatically done summaries (GPU / CPU / memory utilization; see #440)clearml_logger.report_scalar(value, iteration=105 - clearml_task.get_initial_iteration())
- Initially set the initial iteration statically to
0
, relying on an external recovery of the current iteration. This is broken however. When I do this, my local instance ofclearml_task
gets updated properly. However,
will still cause the server to show that summary value for iteration 205, not 105.clearml_logger.report_scalar(value, iteration=105)
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Filter !=bug and !=task with component != doesnt work
Solved: Hello, i wanted to filter for issues which are not Bugs and not Tasks. Additionally these issues should not have the component...
Read more >Is it a bug or a task when something doesn't work, yet, in ...
I would call this a task. If I understand you correctly, it is meant to enable a new feature, so it is not...
Read more >CSCvu72374 - Active Control Participant-Add ... - Cisco Bug
Symptom: ActiveControl device tries to add the participant to the conference, Cisco Meeting Server should be making an outgoing call to the ...
Read more >MySQL Bugs: #100118: Server doesn't restart because of too ...
Bug #100118, Server doesn't restart because of too many gaps in the mysql.gtid_executed table. Submitted: 6 Jul 2020 5:44, Modified: ...
Read more >Bugs that are fixed in SQL Server 2012 Service Pack 2
This article lists the bugs that are fixed in Microsoft SQL Server 2012 Service ... FIX: File Share subscription doesn't populate the description...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I think this comment is a good summary of the idea already: https://github.com/allegroai/clearml/issues/440#issuecomment-908284422
Agreed! Let’s call it a new feature request 😃 @patzm Could you close this issue and update this feature request issue with the discussed design ?