neuralnine / ai-car-simulation Goto Github PK
View Code? Open in Web Editor NEWA simple self-driving AI car game, which uses NEAT.
A simple self-driving AI car game, which uses NEAT.
AttributeError Traceback (most recent call last)
in
3 # Load Config
4 config_path = "./config.txt"
----> 5 config = neat.config.Config(neat.DefaultGenome,
6 neat.DefaultReproduction,
7 neat.DefaultSpeciesSet,
AttributeError: module 'neat' has no attribute 'config'
even though i adjusted the width and height the issues remains the same.I want to control the height and width of the img inside the pygame window not the window itself
Hello, I got this error:
****** Running generation 0 ******
Traceback (most recent call last):
File "C:\Users\Dom\Downloads\ai-car\newcar.py", line 261, in <module>
population.run(run_simulation, 1000)
File "C:\Users\Dom\AppData\Local\Programs\Python\Python39\lib\site-packages\neat\population.py", line 89, in run
fitness_function(list(iteritems(self.population)), self.config)
File "C:\Users\Dom\Downloads\ai-car\newcar.py", line 173, in run_simulation
cars.append(Car())
File "C:\Users\Dom\Downloads\ai-car\newcar.py", line 30, in __init__
self.sprite = pygame.image.load('car.png').convert() # Convert Speeds Up A Lot
FileNotFoundError: No such file or directory.
i would to know the versions of the modules yoou have used for the self simulation ai car,and guidance on how to run this code properly, can you add a requirment.txt file for convient use
all works but it give me a black screen and point me to these lines plz this is very important for me man note i am using arch linux as a daily driver arcolinux is my distro
File "/home/moon/Desktop/Python/ai-car-simulation-master/newcar.py", line 261, in
population.run(run_simulation, 1000000)
File "/home/moon/.local/lib/python3.9/site-packages/neat/population.py", line 89, in run
fitness_function(list(iteritems(self.population)), self.config)
File "/home/moon/Desktop/Python/ai-car-simulation-master/newcar.py", line 165, in run_simulation
screen = pygame.display.set_mode((WIDTH, HEIGHT), pygame.FULLSCREEN)
Traceback:
https://mystb.in/TrioExpiresNiagara.sql
I am running it on the new M1 macbooks, if that changes anything, does this only work on windows?
When I run, it opens the car map with the cars, but it's too big, I can see only few things.
pygame 1.9.6
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
File "newcar.py", line 248, in
config = neat.config.Config(neat.DefaultGenome,
AttributeError: module 'neat' has no attribute 'config'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.