Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

strange results when run driving #38

Open
Kailiangdong opened this issue Dec 13, 2020 · 2 comments
Open

strange results when run driving #38

Kailiangdong opened this issue Dec 13, 2020 · 2 comments

Comments

@Kailiangdong
Copy link

Hello, I run python3 coiltraine.py --folder sample --gpus 0 -de TestT1_Town01 -vd CoILVal1 --docker carlasim/carla:0.8.4 on master branch to see original performance. The training and validation works well. But when drive in the simulator Carla, the output log is:

Going to communicate
Checkpoint 10000
0 0 0
<carla08.driving_benchmark.experiment.Experiment object at 0x7fd461f3e518>
start index 36 end index 40
start index 39 end index 35

----- Printing results for training weathers (Seen in Training) -----

Percentage of Successful Episodes

VALUES
Weather: Clear Noon
Task: 0 -> 0.0
Average Between Weathers
Task 0 -> 0.0

Average Percentage of Distance to Goal Travelled

VALUES
Weather: Clear Noon
Task: 0 -> -6.953387923663017e-07
Average Between Weathers
Task 0 -> -6.953387923663017e-07

Average Percentage of Distance to Percentage OffRoad

VALUES
Weather: Clear Noon
Task: 0 -> 0.0
Average Between Weathers
Task 0 -> 0.0

All the data is zero. Do anyone meet similar situation? thank you

@Kailiangdong
Copy link
Author

In addition, another output log for driving is:

/home/Documents/code/coiltraine/logger/monitorer.py:120: UserWarning: loadtxt: Empty input file: "<_io.BufferedReader name='logs/sample/coil_icra/drive_TestT1_Town01_csv/control_output.csv'>"
delimiter=",", skiprows=1)
ERROR:root:(127.0.0.1:35865) connection closed
ERROR:root:(127.0.0.1:35865) connection closed
ERROR:root:(127.0.0.1:35865) connection closed
ERROR:root:(127.0.0.1:35865) connection closed
ERROR:root:(127.0.0.1:35865) connection closed
ERROR:root:(127.0.0.1:35865) connection closed
INFO:coil_icra_drive_TestT1_Town01:{'Iterating': {'Checkpoint': 2000, 'Agent': "tensor(-0.0132, device='cuda:0', grad_fn=)"}}
/home/Documents/code/coiltraine/carla08/driving_benchmark/metrics.py:340: RuntimeWarning: invalid value encountered in true_divide
experiment_results_matrix[:, header.index('number_red_lights')]))).tolist()
/home/destiny6303/anaconda3/envs/coiltraine/lib/python3.5/site-packages/skimage/transform/_warps.py:84: UserWarning: The default mode, 'constant', will be changed to 'reflect' in skimage 0.15.
warn("The default mode, 'constant', will be changed to 'reflect' in "
INFO:coil_icra_drive_TestT1_Town01:{'Loading': {'CARLA': '/CarlaUE4/Binaries/Linux/CarlaUE4-windowed-benchmark-fps=10-world-port=39713'}}
INFO:coil_icra_drive_TestT1_Town01:{'Iterating': {'Checkpoint': 4000}}
ERROR:root:(127.0.0.1:39713) connection closed
ERROR:root:(127.0.0.1:39713) connection closed
ERROR:root:(127.0.0.1:39713) connection closed
ERROR:root:(127.0.0.1:39713) connection closed
ERROR:root:(127.0.0.1:39713) connection closed
ERROR:root:(127.0.0.1:39713) connection closed
ERROR:root:(127.0.0.1:39713) connection closed
ERROR:root:(127.0.0.1:39713) connection closed
ERROR:root:(127.0.0.1:39713) connection closed
ERROR:root:(127.0.0.1:39713) connection closed
ERROR:root:(127.0.0.1:39713) connection closed
ERROR:root:(127.0.0.1:39713) connection closed

@newday233
Copy link

-de TestT1_Town01 what is TestT1_Town01 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants