Siraj Raval
This video will get you up and running with your first game AI in just 10 lines of Python. The AI can theoretically learn to master any game you train it on, but has only been tested on 2D Atari games so far.
The code for this video is here:
https://github.com/llSourcell/Game-AI
I created a Slack channel for us, sign up here:
https://wizards.herokuapp.com/
Tensorflow install instructions here:
https://www.tensorflow.org/versions/r0.8/get_started/os_setup.html#pip-installation
Gym install instructions here:
https://gym.openai.com/docs
Great course on the brain (I really love this course):
https://www.mcb80x.org/
Original Deep Q Learner Paper:
https://www.cs.toronto.edu/~vmnih/docs/dqn.pdf
Lots of info on convolutional neural networks:
http://cs231n.github.io/convolutional-networks/
Lots of info on reinforcement learning:
http://www.nervanasys.com/demystifying-deep-reinforcement-learning/
I’m a fan of www.fomoro.com for cloud GPU computing since they are the only free-to-try cloud GPU provider I could find. Let me know if you find another!
I love you guys! Thanks for watching my videos, I do it for you. I left my awesome job at Twilio and I’m doing this full time now.
I recently created a Patreon page. If you like my videos, feel free to help support my effort here!:
https://www.patreon.com/user?ty=h&u=3191693
Much more to come so please subscribe, like, and comment.
Follow me:
Twitter: https://twitter.com/sirajraval
Facebook: https://www.facebook.com/sirajology Instagram: https://www.instagram.com/sirajraval/ Instagram: https://www.instagram.com/sirajraval/
Signup for my newsletter for exciting updates in the field of AI:
https://goo.gl/FZzJ5w
Source
it took a lot for me to understand things you were telling. I had to go back to math algebra physics 😛 and man lot of maths. but now i'm able to get you.
TALK SLOWERRRR, great video doe!
Dude can you please speak a bit slower..I realized the awesomeness of the content after slowing it to 0.75
Great job! It works! : )
My question is simple , can we create an AI for any recent game, that can learn from you and by trying…for exemple , i launche the AI in a sort of "observation mode" where he can learn the basics from me , obtain the reward anyway when i do a goot action , ect ? that be intrestring….
Siraj im recommending you to all my cs friends….
Your passion for this is amazing
Do u have any ideas on how this would possibly be grown to handle 3d games? without ramping up impossible computational loads
Can You upload a video telling the proper series by which we can refer to, to get completely into data Science and Artificial Intelligence.
i dont understand anything, you speak so fast huehuehue
Does this work with something like Dota ?
How to test this trained model?
I think you're a super smart dude and I'm enjoying your videos!
In regards to first person shooters, is it possible to simply create an AI to make the character in a fps just walk around and then build upon that? I have no coding experience.
Can you make a video on ideas for creating a chatbot-like entity that controls the state and responses of a non player character in a visual novel, based on text input?
I'm getting a No module named environment error…. any assistance would be appreciated
When will you fix the run time error? ?? Good videos..keep going …
Are you on speed or what? I like to see more.
I'm trying to implement this using python 3.6 and have it so it is able to complete the training portion of the code, however, when i get this error at this part of the code:
line- env.gym.monitor.start(args.out, force=True)
error- AttributeError: 'TimeLimit' object has no attribute 'monitor'
so i tried changing this line to env = gym.wrappers.Monitor(env, args.out, force=True). Which is what sources have told me to do, yet I'm still getting nowhere with it. Does anybody have some insight on how i might fix this.
2:07 lol
And.. I understood 0% of that lol.
could i create this to run from my phone?
How about fencing? or a fencing game? I can imagine two ai's fighting at super speed
Like Kanyyyyeeeee. Bry
Sir name the software which u use
your voice is very clear.great video
"Hello world, welcome to Sirajology!" instant subscribe
How would one do it for geometry dash?
I used to this approach to play Dino Run. https://medium.com/acing-ai/how-i-build-an-ai-to-play-dino-run-e37f37bdf153
hey can anyone help me so what is happening is gym dont want to go into the later version of python and universe done want to go in the earlier version what should i do?
@sirage raval could you help us with this "Traceback (most recent call last):
File "C:Python27game bot.py", line 1, in <module>
from environment import Environment
ModuleNotFoundError: No module named 'environment'
yo go too fast bro ! it becomes difficult to understand
How do you learn AI
Could you make a separate video with just the memes only
Great video, man. But if your video is only 5 minutes, you dont have to talk so fast. Hard to follow. You sound like me when I give nervous presentation. lol
How do you apply it to any game?
How would u run this on windows
please not tensorflow i keep getting too many problems with tensorflow >:(
I what way is this a tutorial?
This is dope.
Usually i put videos on 1.25x . I had to put this one on 0.75x :v
Great video though, Siraj. You are a gift to mankind 🙂
wtf dude .. this made me question reality…. am i a machine learning application??
How can you change the environment for the AI for a like CSGO