File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -224,7 +224,7 @@ def evaluate_pred():
224224 min_reasoning_steps = self .max_reasoning_steps
225225
226226 if self .training :
227- min_reasoning_steps = randrange (2 , self . max_reasoning_steps + 1 ) if satisfy_prob (self .min_reasoning_steps_epsilon_prob ) else 1
227+ min_reasoning_steps = randrange (2 , max_reasoning_steps + 1 ) if satisfy_prob (self .min_reasoning_steps_epsilon_prob ) else 1
228228
229229 with context ():
230230 for index in range (max_reasoning_steps * self .lowest_steps_per_reasoning_step - 1 ):
@@ -243,7 +243,7 @@ def evaluate_pred():
243243 is_reasoning_step_boundary = divisible_by (index , self .lowest_steps_per_reasoning_step )
244244 num_reasoning_steps = index // self .lowest_steps_per_reasoning_step
245245
246- if is_reasoning_step_boundary and num_reasoning_steps > min_reasoning_steps :
246+ if is_reasoning_step_boundary and num_reasoning_steps >= min_reasoning_steps :
247247
248248 highest_hidden = hiddens [self .num_networks - 1 ]
249249
Original file line number Diff line number Diff line change 11[project ]
22name = " HRM-pytorch"
3- version = " 0.0.5 "
3+ version = " 0.0.6 "
44description = " The proposal from a Singaporean AGI company"
55authors = [
66 { name = " Phil Wang" , email = " lucidrains@gmail.com" }
You can’t perform that action at this time.
0 commit comments