FederatedScope icon indicating copy to clipboard operation
FederatedScope copied to clipboard

How can i get the output result?

Open junzlovegood opened this issue 1 year ago • 1 comments

I want to obtain the model's predicted output results for each input data (eval result). How should I modify the code?

junzlovegood avatar Mar 12 '24 04:03 junzlovegood

You can get it from trainer.ctx or https://github.com/alibaba/FederatedScope/blob/480b67de851df2fa02b7cc2189f1803d947998d7/federatedscope/core/monitors/metric_calculator.py#L93

rayrayraykk avatar Mar 12 '24 11:03 rayrayraykk