Building the Flappy Bird A.I. without LIBRARIES | Genetic Algorithm | Python/PyCharm

  Рет қаралды 6,852

Max Rohowsky (Max on Tech)

Max Rohowsky (Max on Tech)

Күн бұрын

Пікірлер: 33
@MaxRohowsky
@MaxRohowsky Жыл бұрын
Just to be clear: While I did use Pygame to build the game, the AI is coded entirely from scratch without any additional ML or AI libraries.
@LIGHTBULBCODING
@LIGHTBULBCODING 5 ай бұрын
"Without using any libraries" *Proceeds to reference PyGame* Lol. Great video, and this is the only good tutorial that I have found, that shows you how to code the neural network from scratch. Thank you!
@MaxRohowsky
@MaxRohowsky 5 ай бұрын
haha yes, I noticed that too late. I meant machine learning libraries :)
@raccoon_05
@raccoon_05 Жыл бұрын
You really deserve more subs/views. These vids are amazing. I haven't even finished this yet but learned so much so far 👍👍👍
@MaxRohowsky
@MaxRohowsky Жыл бұрын
Hey Raccoon, thanks, glad you find them useful :)
@cookiecrumbzi
@cookiecrumbzi Жыл бұрын
I kid you not when I say I was trying to make a neural network from scratch using numpy like 5 days ago. The timing couldn’t have been better
@MaxRohowsky
@MaxRohowsky Жыл бұрын
Well here you go :) and you don't even need numpy!
@MrUnknown-il4pm
@MrUnknown-il4pm Жыл бұрын
This looks awesome!
@MaxRohowsky
@MaxRohowsky Жыл бұрын
Thanks!
@Ayush-sz8ys
@Ayush-sz8ys 4 ай бұрын
Hi, this was an amazing video. Though I really wished you made the functions in order of how they were needed instead of completing one file after another. But still, very good video! I really want to ask how you were able to implement such a complex algorithm from scratch. Where did you learn this from? Have you implemented this before in other projects? Also, your code structure was really neat, how did you come up with that?
@chillbeast_sheno
@chillbeast_sheno Жыл бұрын
yes bro deserve more views yt algorth agree
@MaxRohowsky
@MaxRohowsky 11 ай бұрын
Haha thanks!!
@felix_md64
@felix_md64 2 ай бұрын
if we make more of champion babies instead of one, the algorithm shouldn't be faster ?
@MohamedOsman-p2q
@MohamedOsman-p2q 2 ай бұрын
is this a worth project on a resume
@rafedagamer5573
@rafedagamer5573 Жыл бұрын
I have an error at the end of part 1 where when the ai stops flapping it drops and doesn’t try to flap again should I be concerned or should I just keep going
@MaxRohowsky
@MaxRohowsky Жыл бұрын
hey :) I would recommend trying to understand why this is happening before proceeding.
@tomasznieznane8752
@tomasznieznane8752 10 ай бұрын
It works great, but even when learned, players can't jump high enough to get through the pipes at the top. How to make it pass through all pipes?
@MaxRohowsky
@MaxRohowsky 10 ай бұрын
Siema Tomasz :) I think the easiest way would be to adjust how the pipes spawn. That will spare you the effort of adjusting the net and bird. pozdrawiam!
@felix_md64
@felix_md64 2 ай бұрын
why does the pipes blink when the one juste before is deleted ?
@qzdoiqzdkhqzdkjhg
@qzdoiqzdkhqzdkjhg Ай бұрын
i had the same issue, i think i did something wrong but i fixed it and it works normally, i just added "config.pipes[0].draw(config.window)" just after the "config.pipes.remove(p)" in the for loop since when we remove pipes p (that was pipes[0]) we dont draw the pipes[0] anymore but pipes[1] just became pipes[0] so it wasnt drawing for one frame
@qzdoiqzdkhqzdkjhg
@qzdoiqzdkhqzdkjhg Ай бұрын
when i say "i did something wrong" its bc i maybe didnt config the same way as in the video buts it doesnt matter it works normally this way
@felix_md64
@felix_md64 Ай бұрын
@@qzdoiqzdkhqzdkjhgokay thank you. I will go back to this project. I struggled a lot and the ai didn't work after multiple try so i rage quit lol
@qzdoiqzdkhqzdkjhg
@qzdoiqzdkhqzdkjhg Ай бұрын
@@felix_md64 i had problems with the neural network too but it was just a miss spell, sometimes u just have to read ur code again, patience always works
@zheli2417
@zheli2417 Жыл бұрын
Hi love you video, what is the software you use to draw image thx
@MaxRohowsky
@MaxRohowsky Жыл бұрын
Hey, I just used photoshop.
@oisinforde6363
@oisinforde6363 Жыл бұрын
Nice video, really well done. But I'm curious if you know how hard it would to do this without pygame
@MaxRohowsky
@MaxRohowsky Жыл бұрын
replacing pygame would be easy. The AI which is the hard part doesnt rely on pygame at all :D. So you only need to find another way to draw the boxes and lines that make the bird, pipes and ground
@Windswpt
@Windswpt Жыл бұрын
@@MaxRohowsky It's really easy, actually. Most people overcomplicate it, but it's as simple as using a list and some ansi colors. I actually made a library to simplify the process further (when used right it can do some pretty cool stuff!)
@vinhintw
@vinhintw Жыл бұрын
Why we need i3 input
@MaxRohowsky
@MaxRohowsky Жыл бұрын
I think it will still work without.
@anubhav8366
@anubhav8366 Жыл бұрын
I am willing to contribute with you!
@MaxRohowsky
@MaxRohowsky Жыл бұрын
Hi Anubhav, what exactly do you mean? :)
@anubhav8366
@anubhav8366 Жыл бұрын
Over github 😊
Snake learns with NEUROEVOLUTION (implementing NEAT from scratch in C++)
28:08
One day.. 🙌
00:33
Celine Dept
Рет қаралды 63 МЛН
ТВОИ РОДИТЕЛИ И ЧЕЛОВЕК ПАУК 😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 7 МЛН
I thought one thing and the truth is something else 😂
00:34
عائلة ابو رعد Abo Raad family
Рет қаралды 14 МЛН
WE GOT ACCESS TO GPT-3! [Epic Special Edition]
3:57:17
Machine Learning Street Talk
Рет қаралды 342 М.
A.I. Learns to play Flappy Bird
7:46
Code Bullet
Рет қаралды 14 МЛН
Multithreading and Multiprocessing in Python | Petr Zemek
1:09:17
The Most Important Algorithm in Machine Learning
40:08
Artem Kirsanov
Рет қаралды 528 М.
Reinforcement Learning Course - Full Machine Learning Tutorial
3:55:27
freeCodeCamp.org
Рет қаралды 923 М.
GEOMETRIC DEEP LEARNING BLUEPRINT
3:33:23
Machine Learning Street Talk
Рет қаралды 296 М.
CompTIA Network+ Certification Video Course
3:46:51
PowerCert Animated Videos
Рет қаралды 8 МЛН
Errichto Stream, POI 22/1
3:55:08
Errichto Algorithms
Рет қаралды 172 М.
One day.. 🙌
00:33
Celine Dept
Рет қаралды 63 МЛН