aifiddle-issues icon indicating copy to clipboard operation
aifiddle-issues copied to clipboard

Training stops when the browser tab changes (loses focus)

Open GuilhermeCaeiro opened this issue 6 years ago • 1 comments

I just realized that, while training, if I switch to another tab to do something else, the training stops. When I switch back, it continues normally. The only thing that continues if the tab loses focus is the time counter.

I think the expected behavior would be to continue the training even if the tab doesn't have the focus.

I'm using: Windows 10 Firefox 64.0.2 (64-bit) Dozens of tabs opened.

GuilhermeCaeiro avatar Jan 15 '19 03:01 GuilhermeCaeiro

Thanks for reporting @GuilhermeCaeiro. This is know behaviour. We could send the training to worker thread but we would loose GPU support. I will be looking for a workaround but for right now, the easy fix is to dedicate a browser to training.

Will keep this open for now for futur users.

m4nuC avatar Jan 16 '19 14:01 m4nuC