Sentdex / Carla-RL

Reinforcement Learning codebase for self-driving car in Carla
MIT License
364 stars 98 forks source link

terminate called after throwing an instance of 'std::runtime_error' #10

Closed abdallahaymaan closed 4 years ago

abdallahaymaan commented 4 years ago

the code seems like starting with printing the following: Starting... Waiting for Carla... Calculating weights size... Starting trainer... Starting agents... Ready

it also print some empty stats then it throws this error terminate called after throwing an instance of 'std::runtime_error' what(): trying to operate on a destroyed actor; an actor's function was called, but the actor is already destroyed. Aborted (core dumped)

can anyone help with a possible solution please? I am using cuda version 10.0 cudnn = 7.4.2 Tensorflow-gpu = 1.14 Gpu nvidia GeForce GTX 1050 Thanks in advance

abdallahaymaan commented 4 years ago

The error occurs when npcs value in settings.py is greater than 0 am running carla version 0.9.9

abdallahaymaan commented 4 years ago

The problem was with cuda 10.0 as it unistalled the suitable nvidia driver and installed another one which was incompatible with my GPU.