Skip to content

Processing logic of controller #2075

Closed Answered by SYangster
jingyunc asked this question in Q&A
Discussion options

You must be logged in to vote

2: Currently, in InTimeAccumulateWeightedAggregrator, the accept() function is used to obtain the results from the clients (swarm_client_ctl.py 149). Here you have the right idea of getting the model weights from the dxo. This current accept() function receives the shareable and extracts the dxo, however right now it stores the accepted dxo in self.dxo_aggregrators. In your case you would want to store the dxo in a new data structure in the aggregator that can be accessed when you want to do the validation step.

3: For where to execute the validate task, we would want to do this in the controller, not the aggregator (component), as controllers are responsible for sending tasks and receivi…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@jingyunc
Comment options

@SYangster
Comment options

@jingyunc
Comment options

@SYangster
Comment options

Answer selected by jingyunc
@jingyunc
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants