Skip to content

Commit f8f697f

Browse files
[FIX] hardcoded budget
1 parent e4e8d5e commit f8f697f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoPyTorch/evaluation/tae.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def run_wrapper(
199199
)
200200
else:
201201
if run_info.budget == 0:
202-
run_info = run_info._replace(budget=100.0)
202+
run_info = run_info._replace(budget=self.pipeline_config[self.budget_type])
203203
elif run_info.budget <= 0 or run_info.budget > 100:
204204
raise ValueError('Illegal value for budget, must be >0 and <=100, but is %f' %
205205
run_info.budget)

0 commit comments

Comments
 (0)