FedVision icon indicating copy to clipboard operation
FedVision copied to clipboard

train result?

Open xiaoToby opened this issue 2 years ago • 2 comments

I started "sh examples/paddle_mnist/run.sh 127.0.0.1:10002" I am sure the training is started, but how to know the situation that the training is finished. And if it is finished, how to check the training result, and show "训练效果”?

xiaoToby avatar Jan 15 '24 09:01 xiaoToby

@dylan-fan @hainingzhang @sagewe @jaysontree

xiaoToby avatar Jan 15 '24 09:01 xiaoToby

not sure if ur training is executed properly... I tested with this one "https://github.com/tianmiantech/WeFe/tree/main/VisualFL". it has same architect with a web api trigger. after my training finnished, there should be some folder similar to this

# ls -l trainer_0/ | awk '{print $NF}'
algorithm_config.json
checkpoint  # the .pdmodel is saved there 
config.json
feed_names
feeds
main_program
model
recv_program
send_program
startup_program
stderr
stdout
strategy
target_names
trainer.log  # training log is here
vdl_log  # can use visualdl to visualize training process

btw i gave up this approach already. because i found the trained model gave wrong predicts, although the loss was decreasing during trainning.

jaysontree avatar Jan 23 '24 09:01 jaysontree