Giter Site home page Giter Site logo

Comments (8)

jingzhengli avatar jingzhengli commented on July 24, 2024

========= Preparing RouteScenario_33 (repetition 0) ========= > Setting up the agent

Could not set up the required agent: > module 'transfuser' has no attribute 'get_entry_point'

Traceback (most recent call last): File "/home/ljzdisk/ad/transfuser/leaderboard/leaderboard/leaderboard_evaluator_local.py", line 272, in _load_and_run_scenario agent_class_name = getattr(self.module_agent, 'get_entry_point')() AttributeError: module 'transfuser' has no attribute 'get_entry_point' > Registering the route statistics

It is not clearly how to set "export TEAM_AGENT=${WORK_DIR}/team_code_transfuser/submission_agent.py" in local_evaluation.sh
I set to "export TEAM_AGENT=${WORK_DIR}/team_code_transfuser/transfuser.py"

from transfuser.

jingzhengli avatar jingzhengli commented on July 24, 2024

========= Preparing RouteScenario_33 (repetition 0) ========= > Setting up the agent
Could not set up the required agent: > module 'transfuser' has no attribute 'get_entry_point'
Traceback (most recent call last): File "/home/ljzdisk/ad/transfuser/leaderboard/leaderboard/leaderboard_evaluator_local.py", line 272, in _load_and_run_scenario agent_class_name = getattr(self.module_agent, 'get_entry_point')() AttributeError: module 'transfuser' has no attribute 'get_entry_point' > Registering the route statistics

It is not clearly how to set "export TEAM_AGENT=${WORK_DIR}/team_code_transfuser/submission_agent.py" in local_evaluation.sh I set to "export TEAM_AGENT=${WORK_DIR}/team_code_transfuser/transfuser.py"

Then, It doesn't have any error, but report this imformation.

> Registering the global statistics

from transfuser.

Kait0 avatar Kait0 commented on July 24, 2024

what is not clear? You don't need to change this. submission_agent.py is the correct file.
The transfuser.py file only contains the transfuser backbone, there are other files involved.

Registering the global statistics

This can happen if your code crashed before or so. Try deleting the ${WORK_DIR}/results/transfuser_longest6.json file and try again (might reveal the real error).

from transfuser.

jingzhengli avatar jingzhengli commented on July 24, 2024

what is not clear? You don't need to change this. submission_agent.py is the correct file. The transfuser.py file only contains the transfuser backbone, there are other files involved.

Registering the global statistics

This can happen if your code crashed before or so. Try deleting the ${WORK_DIR}/results/transfuser_longest6.json file and try again (might reveal the real error).

Thanks for your reply.
If I use this comment: "export TEAM_AGENT=${WORK_DIR}/team_code_transfuser/submission_agent.py". I will met an error like this:
./leaderboard/scripts/local_evaluation.sh /home/ljzdisk/carla /home/ljzdisk/ad/transfuser
./leaderboard/scripts/local_evaluation.sh: line 38: 69613 Segmentation fault (core dumped) python3 ${LEADERBOARD_ROOT}/leaderboard/leaderboard_evaluator_local.py --scenarios=${SCENARIOS} --routes=${ROUTES} --repetitions=${REPETITIONS} --track=${CHALLENGE_TRACK_CODENAME} --checkpoint=${CHECKPOINT_ENDPOINT} --agent=${TEAM_AGENT} --agent-config=${TEAM_CONFIG} --debug=${DEBUG_CHALLENGE} --resume=${RESUME}

I cannot know where is the error. Thanks again.
I want to know if the error come from the version of carla==0.9.15 that I installed early.

from transfuser.

jingzhengli avatar jingzhengli commented on July 24, 2024

what is not clear? You don't need to change this. submission_agent.py is the correct file. The transfuser.py file only contains the transfuser backbone, there are other files involved.

Registering the global statistics

This can happen if your code crashed before or so. Try deleting the ${WORK_DIR}/results/transfuser_longest6.json file and try again (might reveal the real error).

Thanks for your reply. If I use this comment: "export TEAM_AGENT=${WORK_DIR}/team_code_transfuser/submission_agent.py". I will met an error like this: ./leaderboard/scripts/local_evaluation.sh /home/ljzdisk/carla /home/ljzdisk/ad/transfuser ./leaderboard/scripts/local_evaluation.sh: line 38: 69613 Segmentation fault (core dumped) python3 ${LEADERBOARD_ROOT}/leaderboard/leaderboard_evaluator_local.py --scenarios=${SCENARIOS} --routes=${ROUTES} --repetitions=${REPETITIONS} --track=${CHALLENGE_TRACK_CODENAME} --checkpoint=${CHECKPOINT_ENDPOINT} --agent=${TEAM_AGENT} --agent-config=${TEAM_CONFIG} --debug=${DEBUG_CHALLENGE} --resume=${RESUME} I cannot know where is the error. Thanks again. I want to know if the error come from the version of carla==0.9.15 that I installed early.

Now, I know the error comes form "self.module_agent = importlib.import_module(module_name)" in leaderboard_evaluator_local.py. But I don't know why it happens and how to solve it. Thanks again,

from transfuser.

jingzhengli avatar jingzhengli commented on July 24, 2024

what is not clear? You don't need to change this. submission_agent.py is the correct file. The transfuser.py file only contains the transfuser backbone, there are other files involved.

Registering the global statistics

This can happen if your code crashed before or so. Try deleting the ${WORK_DIR}/results/transfuser_longest6.json file and try again (might reveal the real error).

Thanks for your reply. If I use this comment: "export TEAM_AGENT=${WORK_DIR}/team_code_transfuser/submission_agent.py". I will met an error like this: ./leaderboard/scripts/local_evaluation.sh /home/ljzdisk/carla /home/ljzdisk/ad/transfuser ./leaderboard/scripts/local_evaluation.sh: line 38: 69613 Segmentation fault (core dumped) python3 ${LEADERBOARD_ROOT}/leaderboard/leaderboard_evaluator_local.py --scenarios=${SCENARIOS} --routes=${ROUTES} --repetitions=${REPETITIONS} --track=${CHALLENGE_TRACK_CODENAME} --checkpoint=${CHECKPOINT_ENDPOINT} --agent=${TEAM_AGENT} --agent-config=${TEAM_CONFIG} --debug=${DEBUG_CHALLENGE} --resume=${RESUME} I cannot know where is the error. Thanks again. I want to know if the error come from the version of carla==0.9.15 that I installed early.

Now, I know the error comes form "self.module_agent = importlib.import_module(module_name)" in leaderboard_evaluator_local.py. But I don't know why it happens and how to solve it. Thanks again,

The same error as previous issue "#200".

from transfuser.

Kait0 avatar Kait0 commented on July 24, 2024

This codebase is not compatible with carla 0.9.15 (You need leaderboard 2.0 for that and as far as I know there are no public codebases available for that yet).
You need carla version 0.9.10.1 to run the code.
The setup script will download it for you.

from transfuser.

jingzhengli avatar jingzhengli commented on July 24, 2024

what is not clear? You don't need to change this. submission_agent.py is the correct file. The transfuser.py file only contains the transfuser backbone, there are other files involved.

Registering the global statistics

This can happen if your code crashed before or so. Try deleting the ${WORK_DIR}/results/transfuser_longest6.json file and try again (might reveal the real error).

Thanks for your reply. If I use this comment: "export TEAM_AGENT=${WORK_DIR}/team_code_transfuser/submission_agent.py". I will met an error like this: ./leaderboard/scripts/local_evaluation.sh /home/ljzdisk/carla /home/ljzdisk/ad/transfuser ./leaderboard/scripts/local_evaluation.sh: line 38: 69613 Segmentation fault (core dumped) python3 ${LEADERBOARD_ROOT}/leaderboard/leaderboard_evaluator_local.py --scenarios=${SCENARIOS} --routes=${ROUTES} --repetitions=${REPETITIONS} --track=${CHALLENGE_TRACK_CODENAME} --checkpoint=${CHECKPOINT_ENDPOINT} --agent=${TEAM_AGENT} --agent-config=${TEAM_CONFIG} --debug=${DEBUG_CHALLENGE} --resume=${RESUME} I cannot know where is the error. Thanks again. I want to know if the error come from the version of carla==0.9.15 that I installed early.

Now, I know the error comes form "self.module_agent = importlib.import_module(module_name)" in leaderboard_evaluator_local.py. But I don't know why it happens and how to solve it. Thanks again,

The same error as previous issue "#200".

This codebase is not compatible with carla 0.9.15 (You need leaderboard 2.0 for that and as far as I know there are no public codebases available for that yet). You need carla version 0.9.10.1 to run the code. The setup script will download it for you.

Many thanks.

from transfuser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.