my heart stop beating when the message "check out next video!"
@yevgeniyvovk97883 жыл бұрын
for x, bird in enumerate(birds): birds.pop(x) ... does not do what you want it to do. it will pop every other element. the way to do this is: for bird in list(birds): nets.pop(birds.index(bird)) ge.pop(birds.index(bird)) birds.remove(bird) not hating, I actually learned a lot from your tutorials, including this. so I hope this helps if someone runs into this issue like I did.
@CongNguyen-og3iz2 жыл бұрын
yeah I was thinking about this too. Thanks for the suggestions
@NoPh-md6dp3 жыл бұрын
you did the coding super detail but it is better if you show the result after finishing each period of code by running it. it is not necessary for you but it is for the viewers.
@Luis_Ramos_Grip4 жыл бұрын
Can anyone explain this Error that i keep getting don't know how to fix.. I am running on Windows not a Mac i dont know if that's why i keep getting this issue. NameError: name '__file__' is not defined then it doesnt load the config file at all.
@hacklordmonster87804 жыл бұрын
I get an error says "module 'neat' has no attribute 'defaultGenome'" edit: i did it with lower case d instead of capital D
@investwithmax63454 жыл бұрын
that's was just that ? because i have the same pb with DefaultReproduction
@lexborodai16394 жыл бұрын
I was sure I understand some python and AI topics before I bumped on these tutorials...
@sorzak_kriv81432 жыл бұрын
quick question! i closed my pc after saving the project, turned on the computer the next morning, ran the script and the base didnt show up. can anyone help? thanks! edit: nvm i was being stupid
@bryan1922 жыл бұрын
I don't understand the "config-feedfoward.txt" part at 1:36
@坑爹先生20 күн бұрын
its just a file name
@adamikhsannugroho5 жыл бұрын
What would need to be changed for you to have multiple output instead of one?
@theguyman2323232 жыл бұрын
2 years later, but if you are still having this problem. All you have to do is change the number of outputs in the config file
@mikelee53764 жыл бұрын
Hello and thank you for this amazing tutorial! I have an error: module 'neat' has no attribute 'config'. I am using Spyder and neat-python v0.92. Do you know what this error is, and how to fix it?
@fernandazacche32163 жыл бұрын
me too! i dont know what to do D= did you manage to solve?
@deanbriggs23083 жыл бұрын
Hello I had the same problem as you. Answer: first uninstall neat (pip uninstall neat) next install neat-python (pip install neat-python) there problem solved.
@deanbriggs23083 жыл бұрын
Sorry I didn't see the part about you already having neat-python. My guess is probably the fact that neat and neat-python are both imported as neat. Try checking if neat is installed by uninstalling it.
@vp90415 жыл бұрын
Growing restless for next video everytime
@pizza_t1me5 жыл бұрын
Thank you for regular uploads!
@dan0_0nad764 жыл бұрын
Hello everyone, can anybody please explain me why the main() function Tim calls, doesn't have any actual parameter and still works? Cause i get this error wich I don't know how to fix: main() missing 2 required positional arguments: 'genomes' and 'config'
@elenkorkmaz40754 жыл бұрын
change Defaultgenome with defaultgenome
@SolomonWatkins2Bars2 ай бұрын
I’m having the same issue and changing the genome did not work.
@penneshells54484 жыл бұрын
When you said, running them one at a time would be inefficient, I realised that doing that would actually help with an ai project I am working on, would you mind explaining what modifications or line of code you would need to do that? Thanks!
@fernandostroppa73124 жыл бұрын
Go to the last video. Change the population to 1 (in the txt file). I hope that works for you.
@mathisfun37585 жыл бұрын
Hi tim, im getting this error: Traceback (most recent call last): File "C:/Users/admin/PycharmProjects/Flappy-Bird/flappy-bird.py", line 5, in import neat ModuleNotFoundError: No module named 'neat' What do i do? Also, just wanna say love your teaching style!
@Fonn5 жыл бұрын
you have to install the neat package for python I'm probably too late but still..
@aryanbhatia69925 жыл бұрын
Can you tell in which university you are in ??
@tinatipton32913 жыл бұрын
This is awesome thank you so much, I just had a question about determining genomes that have failed. If you were playing a game where it wasn't easy for a character or agent to die, or that the agent doesn't die, how might you get rid of that genome? Could it be something like done = False, while not done: (whatever the fitness function is) and then if done == True: remove(genome), print(genome_id, fitness)? Of course you'd have something that specifies what the genome is, and have genomes put in a list such as the ge = []. My trouble with this is I don't know if it would altogether get rid of the genome, and therefore you don't have any genomes to evolve and propagate a complex nn. Any help would be appreciated from anyone, thanks again.
@yosuanicolaus2 жыл бұрын
I think you'd have to kill your agent yourself after some time. Say, every 20 seconds, you calculate their fitness and breed the next generation.
@pepik13353 жыл бұрын
I did this project for 2 days and when I start the program, the window does not turn on and the program closes, there are no errors in the project
@snehpatel03593 ай бұрын
Is you call a main() function or not?
@ujjvalw26845 жыл бұрын
Awesome video bud
@yudatriananda35584 жыл бұрын
The pipe and the bird player is too big in ny laptop screen, how to make them smaller:(
@limtis4 жыл бұрын
Is the window too big or the sprites? For the sprites: I guess you should either remove "pygame.transform.scale2x" from your code or just change the resolution of sprites. For the window: from ctypes import windll windll.user32.SetProcessDPIAware() # Removes DPI-Scaling
@yudatriananda35584 жыл бұрын
@@limtis yes i tried it but i still cant see the lower pipe because my laptop screen is too small can you help me
@yudatriananda35584 жыл бұрын
@@limtis i cant see the ground too
@limtis4 жыл бұрын
@@yudatriananda3558 pygame.transform.scale() resize to new resolution scale(Surface, (width, height), DestSurface = None) -> Surface
@yudatriananda35584 жыл бұрын
@@limtis i dont get it what line should i edit😅
@helloperson68232 жыл бұрын
what do you do if it says RuntimeError: 'NEAT' section not found in NEAT configuration file.
@luklucky9516 Жыл бұрын
press strg+s while on the config file. That were 2 hours of my life
@neuron81863 жыл бұрын
how can it possible same code runs on your machine but not on mine
@saiprabhav26644 жыл бұрын
i made a game of snake but i wanted to train it 1 by 1 than a bunch of it so can you plz help..
@aarushanshankar20754 жыл бұрын
my code just doesn't run. Help please?
@sashamuller97434 жыл бұрын
what's your issue
@aarushanshankar20754 жыл бұрын
@@sashamuller9743 When run my code I am getting the following error. Any help is really appreciated. TypeError: 'FeedForwardNetwork' object is not subscriptable My code is this: for _, g in genomes: net = neat.nn.FeedForwardNetwork.create(g, config) nets.append(net)
@FeedFall85 жыл бұрын
Great Videooo!
@urospocek46683 жыл бұрын
Can anyone explain to me why birds.pop(bird) while we loop through birds works fine? Thank you.
@redacted81883 жыл бұрын
he only render birds in the list, so if the bird isnt in the list, once the screen is redrawn it will be gone
@sainco30365 жыл бұрын
thanks.
@emilostergaard81394 жыл бұрын
Does anyone know what font he is using?
@emilostergaard81394 жыл бұрын
Also does someone know what the syntax theme is
@kajam34045 жыл бұрын
I always get the same error, AttributeError: module 'neat' has no attribute 'Config', anyone who can help me?
@LotusP25 жыл бұрын
did you install the correct module? "neat-python", not only "neat
@investwithmax63454 жыл бұрын
@@LotusP2 love you so muchhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
@investwithmax63454 жыл бұрын
@@LotusP2 thank youuu
@75hilmar2 жыл бұрын
Oh ge... 😂🤓
@emenikeanigbogu93684 жыл бұрын
14:11 lmaooooo
@pravachanpatra40122 жыл бұрын
8:15
@deniz59745 жыл бұрын
You Whicg terminal
@TechWithTim5 жыл бұрын
?
@deniz59745 жыл бұрын
which terminal do you use
@eddyjimenez76555 жыл бұрын
You don’t know what a terminal is do you?
@berkankucuklu3775 жыл бұрын
Can I do a AI which plays Flappy Bird in C#?
@mandeepubhi47445 жыл бұрын
You could do probably, but it will be messy.
@amirraza34634 жыл бұрын
Help me in that
@keshavbansal51484 жыл бұрын
While i appreciate you building this project Tim, might i say the code is just really bad, extremely confusing and its just one huge file. You can honestly make your videos a lot more structured if you just use multiple files. It would also help us learners to be able to progress faster.