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
I tried to run the test.py script with visualize option python test.py --policy='sail' --circle --model_file=data/output/imitate-event-data-0.50-weight-2.0-horizon-4-temperature-0.20-nboundary-0/policy_net.pth --visualize and got an error below
Traceback (most recent call last):
File "test.py", line 126, in <module>
main()
File "test.py", line 105, in main
action = robot.act(ob)
File "/home/vale/github/mpc-nav/social-nce/crowd_sim/envs/utils/robot.py", line 13, in act
action = self.policy.predict(state)
File "/home/vale/github/mpc-nav/social-nce/crowd_nav/policy/sail.py", line 122, in predict
self.last_state = self.transform(state)
File "/home/vale/github/mpc-nav/social-nce/crowd_nav/policy/sail.py", line 134, in transform
num_human = len(state.human_states)
TypeError: object of type 'ObservableState' has no len()
Can anyone help me with that issue?
The text was updated successfully, but these errors were encountered:
I tried to run the test.py script with visualize option
python test.py --policy='sail' --circle --model_file=data/output/imitate-event-data-0.50-weight-2.0-horizon-4-temperature-0.20-nboundary-0/policy_net.pth --visualize
and got an error belowCan anyone help me with that issue?
The text was updated successfully, but these errors were encountered: