FederatedScope
FederatedScope copied to clipboard
A discussion about the efficiency of monitor
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?