Comments (10)
I updated the code. Try again and let me know if there are still some issues.
from transfuser.
Thank you for your quickly reply, but there are still problem.
Problem reading checkpoint. Route id 60 larger than maximum number of routes 32
========= Preparing RouteScenario_0 (repetition 0) =========
> Setting up the agent
routes_town05_short_10_01_02_38_08
> Loading the world
> Running the route
Traceback (most recent call last):
File "/home/harli/transfuser-main/leaderboard/leaderboard/scenarios/scenario_manager.py", line 152, in _tick_scenario
ego_action = self._agent()
File "/home/harli/transfuser-main/leaderboard/leaderboard/autoagents/agent_wrapper.py", line 82, in call
return self._agent()
File "/home/harli/transfuser-main/leaderboard/leaderboard/autoagents/autonomous_agent.py", line 115, in call
control = self.run_step(input_data, timestamp)
File "leaderboard/team_code/auto_pilot.py", line 177, in run_step
self.save(near_node, far_node, near_command, steer, throttle, brake, target_speed, data)
File "/home/harli/transfuser-main/leaderboard/team_code/base_agent.py", line 303, in save
'is_vehicle_present': self.is_vehicle_present,
AttributeError: 'AutoPilot' object has no attribute 'is_vehicle_present'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "leaderboard/leaderboard/leaderboard_evaluator.py", line 477, in main
leaderboard_evaluator.run(arguments)
File "leaderboard/leaderboard/leaderboard_evaluator.py", line 414, in run
self._load_and_run_scenario(args, config)
File "leaderboard/leaderboard/leaderboard_evaluator.py", line 351, in _load_and_run_scenario
self.manager.run_scenario()
File "/home/harli/transfuser-main/leaderboard/leaderboard/scenarios/scenario_manager.py", line 136, in run_scenario
self._tick_scenario(timestamp)
File "/home/harli/transfuser-main/leaderboard/leaderboard/scenarios/scenario_manager.py", line 159, in _tick_scenario
raise AgentError(e)
leaderboard.autoagents.agent_wrapper.AgentError: 'AutoPilot' object has no attribute 'is_vehicle_present'
from transfuser.
Sorry, I think I missed a few things earlier when I pushed the code. I updated the code again.
from transfuser.
Sorry, I think the file you modified has space errors. I fixed them, but there are still errors
Problem reading checkpoint. Route id 60 larger than maximum number of routes 32
========= Preparing RouteScenario_0 (repetition 0) =========
> Setting up the agent
routes_town05_short_10_01_10_46_54
> Loading the world
> Running the route
Traceback (most recent call last):
File "/home/harli/transfuser-main/leaderboard/leaderboard/scenarios/scenario_manager.py", line 152, in _tick_scenario
ego_action = self._agent()
File "/home/harli/transfuser-main/leaderboard/leaderboard/autoagents/agent_wrapper.py", line 82, in call
return self._agent()
File "/home/harli/transfuser-main/leaderboard/leaderboard/autoagents/autonomous_agent.py", line 115, in call
control = self.run_step(input_data, timestamp)
File "leaderboard/team_code/auto_pilot.py", line 177, in run_step
self.save(near_node, far_node, near_command, steer, throttle, brake, target_speed, data)
File "/home/harli/transfuser-main/leaderboard/team_code/base_agent.py", line 307, in save
'should_slow': self.should_slow,
AttributeError: 'AutoPilot' object has no attribute 'should_slow'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "leaderboard/leaderboard/leaderboard_evaluator.py", line 477, in main
leaderboard_evaluator.run(arguments)
File "leaderboard/leaderboard/leaderboard_evaluator.py", line 414, in run
self._load_and_run_scenario(args, config)
File "leaderboard/leaderboard/leaderboard_evaluator.py", line 351, in _load_and_run_scenario
self.manager.run_scenario()
File "/home/harli/transfuser-main/leaderboard/leaderboard/scenarios/scenario_manager.py", line 136, in run_scenario
self._tick_scenario(timestamp)
File "/home/harli/transfuser-main/leaderboard/leaderboard/scenarios/scenario_manager.py", line 159, in _tick_scenario
raise AgentError(e)
leaderboard.autoagents.agent_wrapper.AgentError: 'AutoPilot' object has no attribute 'should_slow'
from transfuser.
Thanks a lot for pointing this out. I just realized that I had updated base_agent.py
at some point but forgot to update auto_pilot.py
. Hopefully, the erros are fixed now.
from transfuser.
Thank you again for your help. The program can run normally, but Carla frame rate is very low. Is that normal?
from transfuser.
Do you mean the CARLA server fps is low or the data generation rate is slow?
from transfuser.
CARLA server fps is low.
from transfuser.
The server is run at 20 fps as per the leaderboard framework. This can be changed in leaderboard_evaluator.py.
from transfuser.
Thank your for your reply. This problem has been solved. I will close this issue.
from transfuser.
Related Issues (20)
- Lane change HOT 2
- eval error HOT 1
- Bad evaluation results after training HOT 6
- trainning data HOT 1
- scenarios HOT 1
- normalize the gps HOT 3
- sensor.opendrive_map
- sensor.opendrive_map HOT 3
- Failed Routes in Data Generation HOT 2
- Question Recreating Dataset HOT 1
- Script for rerunning failed routes HOT 3
- ConvNext Backbone - AttributeError: 'ImageCNN' object has no attribute 'config' HOT 2
- Can't reproduce the same RC on longest6 Benchmark HOT 6
- leaderboard HOT 1
- About the dataset HOT 4
- Cannot load weights in train to finetune HOT 6
- Relationship between image resolution and backbone. HOT 2
- Finetune without `optimizer.pth` HOT 4
- Visualize 2D prediction and BEV prediction during evaluation HOT 2
- The problem of reconstructing the dataset HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from transfuser.