bradyz / 2020_CARLA_challenge

"Learning by Cheating" (CoRL 2019) submission for the 2020 CARLA Challenge
181 stars 49 forks source link

Error when running run_evaluation.sh #13

Closed abdallahaymaan closed 4 years ago

abdallahaymaan commented 4 years ago

Traceback (most recent call last): File "/home/abdallahaymaan/2020_CARLA_challenge/leaderboard/leaderboard/leaderboard_evaluator.py", line 26, in import carla ModuleNotFoundError: No module named 'carla'

although the stated exports were done including the CARLA_ROOT

has anyone encountered such issue? any help will be appreciated!

bradyz commented 4 years ago

can you paste the full command you ran?

abdallahaymaan commented 4 years ago

export PORT=2000 export DEBUG_CHALLENGE=0 export REPETITIONS=1 export ROUTES=/home/abdallahaymaan/2020_CARLA_challenge/leaderboard/data/routes_devtest.xml export CHECKPOINT_ENDPOINT=tmp.txt export SCENARIOS=/home/abdallahaymaan/2020_CARLA_challenge/leaderboard/data/all_towns_traffic_scenarios_public.json export CARLA_ROOT=/home/abdallahaymaan/CARLA_0.9.9 conda activate carla.9 then inside the 2020_CARLA_challenge dir ./leaderboard/scripts/run_evaluation.sh

Also i edited the second line in run_evaluation.sh from python ${LEADERBOARD_ROOT}/leaderboard/leaderboard_evaluator.py \ to python /home/abdallahaymaan/2020_CARLA_challenge/leaderboard/leaderboard/leaderboard_evaluator.py \

OUTPUT:

Traceback (most recent call last): File "/home/abdallahaymaan/2020_CARLA_challenge/leaderboard/leaderboard/leaderboard_evaluator.py", line 26, in import carla ModuleNotFoundError: No module named 'carla'

abdallahaymaan commented 4 years ago

what I want to do is to visualize the results of the pretrained model (epoch=24.ckpt) through tables. a route_19.txt was created containing data regarding the results of the run, is visualizing it possible?

bradyz commented 4 years ago

sure thing, the route_19.txt should be in json

I recommend you run exactly the command in the README, not the run_evaluation.sh script directly.