Skip to content

STEP policy synthesis fails for n_max = 200, alpha = 0.01 #36

@HarukiNishimura-TRI

Description

@HarukiNishimura-TRI

The following code fails to generate a step policy:

from sequentialized_barnard_tests import MirroredStepTest, Hypothesis

MirroredStepTest(Hypothesis.P0LessThanP1, n_max=200, alpha=0.01)

The error message is as follows:

STEP Policy Synthesis:  59%|█████▉    | 118/200 [00:05<00:03, 20.97it/s]
Traceback (most recent call last):
  File "~/sequentialized_barnard_tests/sequentialized_barnard_tests/scripts/synthesize_general_step_policy.py", line 547, in <module>
    ) = run_step_policy_synthesis(
  File "~/sequentialized_barnard_tests/sequentialized_barnard_tests/scripts/synthesize_general_step_policy.py", line 343, in run_step_policy_synthesis
    key_weights_rectified[second_feature_counter] = key_weights[
TypeError: 'NoneType' object is not subscriptable

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions