-
Python version (
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
@Niko-k98 hello, thanks for the interest and question! In the case of HE job, what we have assumed is that the clients don't want the server to be able to get anything, that means the server is not fully trusted by the client sites. Server (or aggregator) should just do the aggregation of HE-encrypted model weights (or weights differences) without decrypting the model. So in your case, what you really want should be to save the final global model on the client side. |
Beta Was this translation helpful? Give feedback.
-
I tried rerunning with the following code :
and seem to be able to load the model weights with torch.load, so this code accurately represents the global model? If so thank you for the clarification I used this method prior but wasn't sure if what it was saving was the global model. |
Beta Was this translation helpful? Give feedback.
yes, this will save the global model with best acc metric, if you need both (best and last), you can further do