-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Size issue with rewards_df #19
Comments
@mjothy Reproductible with python main -d 1 -f oracle4grid/ressources/actions/wcci_test/agg_unitary_actions.json -e some_folder/input_data_test_otherReward -c 0 -as 249524660 -es 508848152 config 'sub-1-6' stops running at timestep=45 |
The problem comes from grid2op Runner (in the post-release version that we are using in Oracle for the moment) To handle this situation, a temporary fix has been set in run_many.py in commit 276fa69 Some harmonisation has been asked in Grid2op, with the following reproductible code |
An issue has been raised in grid2op repo |
In
Oracle4Grid/oracle4grid/core/reward_computation/run_many.py
Line 27 in 1810f2d
Contrary to run.rewards, run.other_rewards does not have the length of rewards_df.shape[0] if the configuration did not run until the end of the scenario.
Changing "for t in range(run.rewards.shape[0])" "for t in range(run.nb_timestep)" is probably not enough as a new issue raises later
The text was updated successfully, but these errors were encountered: