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
The attribute state_dimensions is a list in RBF representation. This list is used as index in phi_nonTerminal method which causes this error
File "/usr/local/lib/python2.7/dist-packages/rlpy/Experiments/Experiment.py", line 350, in run
self.evaluate(total_steps, episode_number, visualize_performance)
File "/usr/local/lib/python2.7/dist-packages/rlpy/Experiments/Experiment.py", line 445, in evaluate
total_steps, visualize=visualize > j)
File "/usr/local/lib/python2.7/dist-packages/rlpy/Experiments/Experiment.py", line 212, in performanceRun
a = self.agent.policy.pi(s, eps_term, p_actions)
File "/usr/local/lib/python2.7/dist-packages/rlpy/Policies/eGreedy.py", line 44, in pi
b_actions = self.representation.bestActions(s, terminal, p_actions)
File "/usr/local/lib/python2.7/dist-packages/rlpy/Representations/Representation.py", line 358, in bestActions
Qs = self.Qs(s, terminal, phi_s)
File "/usr/local/lib/python2.7/dist-packages/rlpy/Representations/Representation.py", line 170, in Qs
phi_s = self.phi(s, terminal)
File "/usr/local/lib/python2.7/dist-packages/rlpy/Representations/Representation.py", line 222, in phi
return self.phi_nonTerminal(s)
File "/usr/local/lib/python2.7/dist-packages/rlpy/Representations/RBF.py", line 112, in phi_nonTerminal
s = s[self.state_dimensions]
TypeError: list indices must be integers, not list
The text was updated successfully, but these errors were encountered:
The attribute
state_dimensions
is a list in RBF representation. This list is used as index inphi_nonTerminal
method which causes this errorThe text was updated successfully, but these errors were encountered: