重构fed_run.py,移除冗余函数,传参BUG修复,更新模型权重保存逻辑;新增fed_run.sh脚本以支持分布式训练
This commit is contained in:
2
fed_run.sh
Normal file
2
fed_run.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
GPUS=$1
|
||||
python3 -m torch.distributed.run --nproc_per_node=$GPUS fed_run.py ${@:2}
|
Reference in New Issue
Block a user