carla-simulator / leaderboard

CARLA Autonomous Driving leaderboard
MIT License
162 stars 77 forks source link

UnboundLocalError: local variable 'leaderboard_evaluator' referenced before assignment #83

Closed raozhongyu closed 3 years ago

raozhongyu commented 3 years ago

Thanks for your great work. I meet this question of "UnboundLocalError: local variable 'leaderboard_evaluator' referenced before assignment" when followed the "Create Autonomous Agents with the Leaderboard" in https://leaderboard.carla.org/get_started/#21-first-steps-with-the-leaderboard. Can you give some suggestions? Thanks a lot.

raozhongyu commented 3 years ago

Meanwhile, I also meet the error of "AttributeError: 'LeaderboardEvaluator' object has no attribute 'manager' '

Jidenna commented 2 years ago

Were you able to figure this out? I am also getting both errors

Abyss-J commented 1 year ago

@raozhongyu Sorry to bother you, but I also encountered these two problems. Can you tell me how to solve them

fujiawei0724 commented 1 year ago

@Abyss-J @Jidenna @raozhongyu Sorry to bother you, I also meet the same question, what did you do to solve it? Looking forward to your help.

Eyup-S commented 1 year ago

I have encountered this problem several times. Generally closing and reopening the terminal or deleting json files in the result folder solve the problem.