FederatedScope icon indicating copy to clipboard operation
FederatedScope copied to clipboard

A discussion about the efficiency of monitor

Open joneswong opened this issue 3 years ago • 0 comments

https://github.com/alibaba/FederatedScope/blob/b716a8c55ef3707aeeeef989d1112c8c1c60e167/federatedscope/core/monitors/monitor.py#L266

Will repeatedly opening a file deteriorate the efficiency? As a vanilla python file stream (v.s. tf SummaryWriter), is it possible to cache the logs without blocking the main thread?

joneswong avatar May 24 '22 09:05 joneswong