Browse Source

[FIX] fix typo

pull/1/head
troyyyyy 2 years ago
parent
commit
264bcd0889
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      abl/reasoning/reasoner.py

+ 1
- 1
abl/reasoning/reasoner.py View File

@@ -204,7 +204,7 @@ class ReasonerBase:
if self.use_zoopt:
solution = self.zoopt_get_solution(symbol_num, data_sample, max_revision_num)
revision_idx = np.where(solution != 0)[0]
candidates = self.self.kb.revise_at_idx(data_sample.pred_pseudo_label,
candidates = self.kb.revise_at_idx(data_sample.pred_pseudo_label,
data_sample.Y,
revision_idx)
else:


Loading…
Cancel
Save