CMU-TBD / SocNavBench

A Grounded Simulation Testing Framework for Evaluating Social Navigation: https://arxiv.org/abs/2103.00047
MIT License
34 stars 6 forks source link

package assertionerror #24

Open devYurim opened 2 years ago

devYurim commented 2 years ago

I tried to install the package as a guide and test sacardl model. The following assertionerror occurred. (cardl) ailab@aliab:/home/ailab-yurim/cardl/SocNavBench$ PYTHONPATH='.' python3 joystick/joystick_client.py --algo "Sacadrl" Traceback (most recent call last): File "joystick/joystick_client.py", line 11, in <module> from sacadrl.joystick_sacadrl import JoystickSACADRL File "/home/ailab-yurim/cardl/SocNavBench/joystick/sacadrl/joystick_sacadrl.py", line 16, in <module> from gym_collision_avoidance.envs.agent import Agent File "/home/ailab/anaconda3/envs/cardl/lib/python3.7/site-packages/gym_collision_avoidance/envs/__init__.py", line 17, in <module> assert(callable(config_class)) AssertionError

The package was installed as below.

image

The file is located in the directory below. SocNavBench> joystick > 'gym-collision-avoidance'

How to solve it?

ajdroid commented 2 years ago

Hi, have you installed the baselines from this repository? If so, can you try one of the other baselines to see if that one works? Do the unit tests for socnav work as outlined in the README?