-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
'LeaderboardEvaluator' object has no attribute 'manager' #65
Comments
I meet the same problem, have you solved this ? |
Not yet. |
Okay. Let me check. |
I am also reproducing this project recently. Maybe we can have more communication and reproduce it together. My email is [email protected]. |
Hi, actually right now I am trying to reproduce the results from this repo: |
I also met the problem that ModuleNotFoundError: No module named 'roach'. I added in the path, but its not work. |
Can you tell me what is your project? I mean basic configuration about your project. |
Have you added the TCP path to PYTHONPATH like this |
Hi,
I got this error when I run sh leaderboard/scripts/data_collection.sh:
init statistics_manager
begin
Traceback (most recent call last):
File "leaderboard/leaderboard/leaderboard_evaluator.py", line 519, in main
leaderboard_evaluator = LeaderboardEvaluator(arguments, statistics_manager)
File "leaderboard/leaderboard/leaderboard_evaluator.py", line 123, in init
self.module_agent = importlib.import_module(module_name)
File "/home/ryzen/miniconda3/envs/TCPagent/lib/python3.7/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "/home/ryzen/TCP/leaderboard/team_code/roach_ap_agent.py", line 17, in
from roach.criteria import run_stop_sign
ModuleNotFoundError: No module named 'roach'
Exception ignored in: <function LeaderboardEvaluator.del at 0x7f1d54cd43b0>
Traceback (most recent call last):
File "leaderboard/leaderboard/leaderboard_evaluator.py", line 150, in del
self._cleanup()
File "leaderboard/leaderboard/leaderboard_evaluator.py", line 162, in _cleanup
if self.manager and self.manager.get_running_status()
AttributeError: 'LeaderboardEvaluator' object has no attribute 'manager'
Traceback (most recent call last):
File "leaderboard/leaderboard/leaderboard_evaluator.py", line 529, in
main()
File "leaderboard/leaderboard/leaderboard_evaluator.py", line 525, in main
del leaderboard_evaluator
UnboundLocalError: local variable 'leaderboard_evaluator' referenced before assignment
And although this is correct, I comment this line and then I got this error:
init statistics_manager
begin
Traceback (most recent call last):
File "leaderboard/leaderboard/leaderboard_evaluator.py", line 519, in main
leaderboard_evaluator = LeaderboardEvaluator(arguments, statistics_manager)
File "leaderboard/leaderboard/leaderboard_evaluator.py", line 123, in init
self.module_agent = importlib.import_module(module_name)
File "/home/ryzen/miniconda3/envs/TCPagent/lib/python3.7/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "/home/ryzen/TCP/leaderboard/team_code/roach_ap_agent.py", line 17, in
from roach.criteria import run_stop_sign
ModuleNotFoundError: No module named 'roach'
Exception ignored in: <function LeaderboardEvaluator.del at 0x7f4ea2923b90>
Traceback (most recent call last):
File "leaderboard/leaderboard/leaderboard_evaluator.py", line 150, in del
self._cleanup()
File "leaderboard/leaderboard/leaderboard_evaluator.py", line 162, in _cleanup
if self.manager and self.manager.get_running_status()
AttributeError: 'LeaderboardEvaluator' object has no attribute 'manager'
How to resolve this now?
The text was updated successfully, but these errors were encountered: