Skip to content
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

TypeError: StatisticsManager.__init__() missing 2 required positional arguments: 'endpoint' and 'debug_endpoint' #119

Open
TikaToka opened this issue Feb 12, 2025 · 2 comments

Comments

@TikaToka
Copy link

Hello team. Thank you for you work!.

I am trying to reproduce the evaluation, but I am having trouble resolving issue below:

(garage_2) hslim@hslim:~/workspace/LMDrive$ ./leaderboard/scripts/run_evaluation.sh
bash: carla/CarlaUE4.sh: No such file or directory
leaderboard/leaderboard/leaderboard_evaluator.py
/home/hslim/workspace/LMDrive/leaderboard/leaderboard/leaderboard_evaluator.py:19: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
  from distutils.version import LooseVersion
Traceback (most recent call last):
  File "/home/hslim/workspace/LMDrive/leaderboard/leaderboard/leaderboard_evaluator.py", line 492, in <module>
    main()
  File "/home/hslim/workspace/LMDrive/leaderboard/leaderboard/leaderboard_evaluator.py", line 479, in main
    statistics_manager = StatisticsManager()
TypeError: StatisticsManager.__init__() missing 2 required positional arguments: 'endpoint' and 'debug_endpoint'

Would you mind give me a help how to solve this?
Thank you in advance!

@deepcs233
Copy link
Collaborator

Hi!

bash: carla/CarlaUE4.sh: No such file or directory

It shows that you did not install the Carla simulator correctly. Can you install it and try again?

@TikaToka
Copy link
Author

TikaToka commented Feb 12, 2025

Thank you for your response.
At the moment, I was using external Carla simulator, so there was an error like that (I've started carla simulator manually)

Currently, I've also followed to setup carla as readme, and the error you mentioned is disappeared (carla pops up well). However, statisticalmanager error still persist.

Hi!

bash: carla/CarlaUE4.sh: No such file or directory

It shows that you did not install the Carla simulator correctly. Can you install it and try again?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants