I'm running a training on a remote server and viewing the progress over the LAN in a web browser but the image is corrupt - it only partially displays in the browser and if I try and save it - the magic number is wrong.

both server and client are Ubuntu 16.04, browser is firefox
This is training with VOC as in README.
Do you use remote server in the Internet or in the your LAN network?
Try to set here 200000 instead of 2000: https://github.com/AlexeyAB/darknet/blob/f7cb538b32d95e99a6751bf312f7c846419389d7/src/image.c#L825
What OpenCV version do you use?
both the server and the client are on the same LAN
opencv 3.2
I will try recompiling with your suggested edit after my current job has finished and report back
this is where it's up to now...


I have made your suggested edit of '200000' and reran - a bit more of the graph is revealed.
After 40 iterations the whole graph mostly appears to show, although with some refreshes the bottom is lost again although the saved image is still corrupt as above. reasonable workaround is to screenshot on the good ones.
@LukeAI
although the saved image is still corrupt as above
Do you mean that automatically saved chart.png is corrupted?
chart.png is not corrupt, just the image saved from the browser.
I added this fix: https://github.com/AlexeyAB/darknet/issues/2348#issuecomment-460356554
@LukeAI
I just added another fix, it should solve this problem.