idreesshaikh / Autonomous-Driving-in-Carla-using-Deep-Reinforcement-Learning

Deep Reinforcement Learning (PPO) in Autonomous Driving (Carla) [from scratch]
MIT License
241 stars 49 forks source link

Encoder could not be initialized #19

Open tangmida opened 11 months ago

tangmida commented 11 months ago

pygame 2.1.2 (SDL 2.0.18, Python 3.7.15) Hello from the pygame community. https://www.pygame.org/contribute.html Encoder could not be initialized.

Exit

elpidak commented 4 months ago

@tangmida did you solve the issue? i am facing the same problem

leishi23 commented 4 months ago

image

The error is from this script. In my case, it's due to torch.cuda.is_available() returns False, so self.conv_encoder.load() doesn't work. I guess it's because of my torch version(1.13), my CUDA version(11.8) is not compatible with the required python version (3.7)