shayantaherian / Object_Detection_Carla

Yolov3_Object detection
MIT License
6 stars 2 forks source link

Error while running code #1

Open alaamohamed2 opened 3 years ago

alaamohamed2 commented 3 years ago

I got Error while running code can you help me with it please? Traceback (most recent call last): File "Object_Detection1.py", line 958, in main() File "Object_Detection1.py", line 951, in main game_loop(args) File "Object_Detection1.py", line 859, in game_loop hud = HUD(args.width, args.height) File "Object_Detection1.py", line 377, in init self.help = HelpText(pygame.font.Font(mono, 24), width, height) File "Object_Detection1.py", line 537, in init lines = doc.split('\n') AttributeError: 'NoneType' object has no attribute 'split'

shayantaherian commented 2 years ago

It seems that the input image is None when running the script, meaning that pygame is not running properly, Have you tested the carla properly without using the detection algorithm?