Closed etesami closed 2 years ago
Hi Ehsan. This ("No such file or directory") seems a bit weird, as I think the code logic should work fine, and we have never encountered this. Have you checked why this can happen?
Btw, thanks for your PR. But it can lead to the performance issue, as directly reusing self.model in exception will force the next client to reuse the last client model. Lol.
Hey @fanlai0990, I am unable to find the root cause of this. However, occasionally, I am experiencing this, whenever I run an experiment multiple times. I suspect this is related to cleaning the previous run. I close this issue now and might reopen it if I have more information.
Description
Occasionally, FileNotFoundError is thrown for the
temp_model_path
in theload_global_model
function of theexecutor.py
: https://github.com/SymbioticLab/FedScale/blob/33de86d2a086084b71a5198db3aa5e6cdbfbf624/core/executor.py#L238-L242Environment
OS: Ubuntu 18.03 with bash as the default shell Running on CPU with more than one worker
Error logs
Config file: