{"id":341406,"date":"2017-05-19T13:17:00","date_gmt":"2017-05-19T05:17:00","guid":{"rendered":"https:\/\/www.engadget.com\/2017\/05\/19\/watch-an-ai-teach-itself-to-drive-in-gta-v\/21|22098244"},"modified":"2017-05-19T13:17:00","modified_gmt":"2017-05-19T05:17:00","slug":"watch-an-ai-teach-itself-to-drive-in-gta-v-on-twitch","status":"publish","type":"post","link":"https:\/\/people.utm.my\/asmawisham\/watch-an-ai-teach-itself-to-drive-in-gta-v-on-twitch\/","title":{"rendered":"Watch an AI teach itself to drive in &#8216;GTA V&#8217; on Twitch"},"content":{"rendered":"<p><iframe loading=\"lazy\" allowfullscreen=\"true\" frameborder=\"0\" height=\"378\" scrolling=\"no\" src=\"https:\/\/player.twitch.tv\/?channel=sentdex\" width=\"620\">[embedded content]<\/iframe><\/p>\n<p>Programmer Harrison &#8216;Sentdex&#8217; Kinsley created the AI (or &#8220;convolutional neural network&#8221;), named it Charles, and set it loose in the game to teach itself through deep learning. While that sounds advanced, so far Charles hasn&#8217;t quite mastered avoiding collisions with cars, dividers, signs and people. If this AI hit the road today, it would have some real-life police after it quickly &#8212; so long as it didn&#8217;t hurl itself into the water first (a frequent fate on the livestream).<\/p>\n<p>As Kinsley describes in the Twitch description, Charles &#8220;learns and takes all actions based on single frames at a time, and bases his decisions on just pixel data. Charles only sees exactly what you see.&#8221; In other words, what a self-driving car would &#8220;see&#8221; if it just relied on cameras on real roads. What the AI can&#8217;t do yet is remember: Kinsley didn&#8217;t program in memory, forcing it to make split-second decisions one frame at a time, like <a href=\"https:\/\/imgur.com\/a\/WNMjk\">so<\/a>.<\/p>\n<p>If you want to get into the nitty gritty, Kinsley <a href=\"https:\/\/pythonprogramming.net\/game-frames-open-cv-python-plays-gta-v\/\">documented<\/a> his multi-part process building Charles in Python. Whether this AI becomes a better driver and validates educating neural networks through simulation, at least we can chuckle that even machines have trouble driving these games.<\/p>\n<p><iframe loading=\"lazy\" allowfullscreen=\"\" frameborder=\"0\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/ks4MPfMq8aQ?list=PLQVvvaa0QuDeETZEOy4VdocT7TOjfSA8a&amp;wmode=opaque\" width=\"640\">[embedded content]<\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p> <img decoding=\"async\" src=\"http:\/\/o.aolcdn.com\/hss\/storage\/midas\/b103ae6b5e120bdfb2e348b0c2f720ca\/205285307\/PythonPlaysGTA5.jpg\" \/>While automakers are still negotiating with local and state governments to let autonomous cars test drive on open streets, one programmer has found a more accessible proving ground to teach AI how to be a motorist: Grand Theft Auto V. It&#039;s not the fi&#8230; <\/p>\n","protected":false},"author":5817,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[23],"tags":[27,59,26],"class_list":["post-341406","post","type-post","status-publish","format-standard","hentry","category-media","tag-engadget","tag-media","tag-technology"],"_links":{"self":[{"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/posts\/341406","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/users\/5817"}],"replies":[{"embeddable":true,"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/comments?post=341406"}],"version-history":[{"count":0,"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/posts\/341406\/revisions"}],"wp:attachment":[{"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/media?parent=341406"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/categories?post=341406"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/tags?post=341406"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}