Open SExpert12 opened 3 weeks ago
Hello, the reason for this error may be that the Argument “host” incorrect. You can change the host from "192.168.0.10" to the "127.0.0.1" which is default address of Carla
Hi, Thanks for your reply. I tried to run this file like this:
python3 train.py --host 127.0.0.1 --port 2000 town Town01 --total_timesteps 1000 --reload_model "" --no_render=="store_false" --fps 15 --num_checkpoints 10 --config 1 usage: train.py [-h] [--host HOST] [--port PORT] [--town TOWN] [--total_timesteps TOTAL_TIMESTEPS] [--reload_model RELOAD_MODEL] [--no_render] [--fps FPS] [--num_checkpoints NUM_CHECKPOINTS] [--config CONFIG] train.py: error: argument --no_render: ignored explicit argument '=store_false'
Where am I making mistake now?
Hi, I am getting error like this? File "train.py", line 46, in
env = CarlaEnv(host=args["host"], port=args["port"], town=args["town"],
File "/home/ryzen/Downloads/RL_SB3_carla-master/agent/env.py", line 113, in init
self.reset()
File "/home/ryzen/Downloads/RL_SB3_carla-master/agent/env.py", line 122, in reset
self.generate_route()
File "/home/ryzen/Downloads/RL_SB3_carla-master/agent/env.py", line 152, in generate_route
self.vehicle.set_simulate_physics(False) # Reset the car's physics
AttributeError: 'CarlaEnv' object has no attribute 'vehicle'
How to resolve this?
Am I making mistake to run the train.py ?