You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when running runner.py, got following error message:Traceback (most recent call last):
File "/Users/wenyuhuang/PycharmProjects/aima-based-irl-master/runner.py", line 202, in
main()
File "/Users/wenyuhuang/PycharmProjects/aima-based-irl-master/runner.py", line 94, in main
run_multiple_birl(birl, expert_mdp, expert_trace, number_of_iterations)
File "/Users/wenyuhuang/PycharmProjects/aima-based-irl-master/runner.py", line 130, in run_multiple_birl
plot_errors(policy_error, reward_error, directory_name, birl, i, expert_mdp, mdp)
File "/Users/wenyuhuang/PycharmProjects/aima-based-irl-master/runner.py", line 114, in plot_errors
ax2.plot(range(birl.birl_iteration), policy_error, 'ro')
File "/Users/wenyuhuang/PycharmProjects/aima-based-irl-master/venv/lib/python3.6/site-packages/matplotlib/axes/_axes.py", line 1646, in plot
lines = [*self._get_lines(*args, data=data, **kwargs)]
File "/Users/wenyuhuang/PycharmProjects/aima-based-irl-master/venv/lib/python3.6/site-packages/matplotlib/axes/_base.py", line 216, in call
yield from self._plot_args(this, kwargs)
File "/Users/wenyuhuang/PycharmProjects/aima-based-irl-master/venv/lib/python3.6/site-packages/matplotlib/axes/_base.py", line 342, in _plot_args
raise ValueError(f"x and y must have same first dimension, but "
ValueError: x and y must have same first dimension, but have shapes (2,) and (1,)
The text was updated successfully, but these errors were encountered:
when running runner.py, got following error message:Traceback (most recent call last):
File "/Users/wenyuhuang/PycharmProjects/aima-based-irl-master/runner.py", line 202, in
main()
File "/Users/wenyuhuang/PycharmProjects/aima-based-irl-master/runner.py", line 94, in main
run_multiple_birl(birl, expert_mdp, expert_trace, number_of_iterations)
File "/Users/wenyuhuang/PycharmProjects/aima-based-irl-master/runner.py", line 130, in run_multiple_birl
plot_errors(policy_error, reward_error, directory_name, birl, i, expert_mdp, mdp)
File "/Users/wenyuhuang/PycharmProjects/aima-based-irl-master/runner.py", line 114, in plot_errors
ax2.plot(range(birl.birl_iteration), policy_error, 'ro')
File "/Users/wenyuhuang/PycharmProjects/aima-based-irl-master/venv/lib/python3.6/site-packages/matplotlib/axes/_axes.py", line 1646, in plot
lines = [*self._get_lines(*args, data=data, **kwargs)]
File "/Users/wenyuhuang/PycharmProjects/aima-based-irl-master/venv/lib/python3.6/site-packages/matplotlib/axes/_base.py", line 216, in call
yield from self._plot_args(this, kwargs)
File "/Users/wenyuhuang/PycharmProjects/aima-based-irl-master/venv/lib/python3.6/site-packages/matplotlib/axes/_base.py", line 342, in _plot_args
raise ValueError(f"x and y must have same first dimension, but "
ValueError: x and y must have same first dimension, but have shapes (2,) and (1,)
The text was updated successfully, but these errors were encountered: