ThrunGroup / FastForest

7 stars 0 forks source link

Bugs with `./repro_script.sh` #210

Closed motiwari closed 2 years ago

motiwari commented 2 years ago
Running comparison for: ERFC
Traceback (most recent call last):
  File "/Users/motiwari/Desktop/FastForest/experiments/budget_exps/compare_budgets.py", line 761, in <module>
    main()
  File "/Users/motiwari/Desktop/FastForest/experiments/budget_exps/compare_budgets.py", line 641, in main
    compare_budgets(
  File "/Users/motiwari/Desktop/FastForest/experiments/budget_exps/compare_budgets.py", line 442, in compare_budgets
    our_model.fit()
  File "/Users/motiwari/Desktop/FastForest/data_structures/forest_base.py", line 282, in fit
    tree.fit()
  File "/Users/motiwari/Desktop/FastForest/data_structures/tree_base.py", line 262, in fit
    reduction = leaf.calculate_best_split(self.remaining_budget)
  File "/Users/motiwari/Desktop/FastForest/data_structures/node.py", line 125, in calculate_best_split
    results = solve_mab(
  File "/Users/motiwari/Desktop/FastForest/utils/solvers.py", line 313, in solve_mab
    candidates = np.array(list(itertools.product(range(F), range(B))))
TypeError: 'NoneType' object cannot be interpreted as an integer
motiwari commented 2 years ago

I can't reproduce this error. Looking at the relevant lines, it's also not clear how this error could have been thrown.