File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -124,12 +124,12 @@ def print_weights(self, raw_weights: np.ndarray):
124
124
console .print (weights_table )
125
125
126
126
def set_weights (self ):
127
- with self .lock :
128
- current_session = self .session
129
- last_set_weights_session = self .score_manager .last_set_weights_session
130
- if last_set_weights_session == current_session - 1 :
131
- return
132
-
127
+ # with self.lock:
128
+ # current_session = self.session
129
+ # last_set_weights_session = self.score_manager.last_set_weights_session
130
+ # if last_set_weights_session == current_session - 1:
131
+ # return
132
+ current_session = self . session
133
133
scores = self .score_manager .get_scores (current_session - 1 )
134
134
# Calculate the average reward for each uid across non-zero values.
135
135
# Replace any NaN values with 0.
You can’t perform that action at this time.
0 commit comments