SlideShare a Scribd company logo
1 of 38
Download to read offline
Runner Games
Playing a class of Game using CNN
Focus on Runner Games
Jimut Bahan Pal1
1Department of Computer Science
Ramakrishna Mission Vivekananda Educational and Research Institute
A presentation for Communicative English course
Runner Games
Table of Contents
1 Introduction
2 Selection of a wrong game!
3 Why pong failed?
4 Discovering a new Class of Runner Games
5 Results for the Dino game
6 Conclusion
7 Acknowledgements
8 References
Runner Games
Introduction
Table of Contents
1 Introduction
2 Selection of a wrong game!
3 Why pong failed?
4 Discovering a new Class of Runner Games
5 Results for the Dino game
6 Conclusion
7 Acknowledgements
8 References
Runner Games
Introduction
Introduction
This was a pet project during my 2nd year on St. Xavier’s College!
Motivation
Figure: Indranil and Harrison
Runner Games
Introduction
Introduction
This was a pet project during my 2nd year on St. Xavier’s College!
Motivation
Figure: Indranil and Harrison
CNN - to analyze visual imagery, face detection, earlier
application include detection of numbers for post cards (Yann
Lee Cunn)
Runner Games
Introduction
Introduction
This was a pet project during my 2nd year on St. Xavier’s College!
Motivation
Figure: Indranil and Harrison
CNN - to analyze visual imagery, face detection, earlier
application include detection of numbers for post cards (Yann
Lee Cunn)
Cifar 10 model, 80% accuracy in 2010 on CIFAR-10 dataset
Runner Games
Introduction
Introduction
This was a pet project during my 2nd year on St. Xavier’s College!
Motivation
Figure: Indranil and Harrison
CNN - to analyze visual imagery, face detection, earlier
application include detection of numbers for post cards (Yann
Lee Cunn)
Cifar 10 model, 80% accuracy in 2010 on CIFAR-10 dataset
Can we make something innovative using simple technology?!
Runner Games
Introduction
Figure: The famous CIFAR-10 model which we used for training
Runner Games
Selection of a wrong game!
Table of Contents
1 Introduction
2 Selection of a wrong game!
3 Why pong failed?
4 Discovering a new Class of Runner Games
5 Results for the Dino game
6 Conclusion
7 Acknowledgements
8 References
Runner Games
Selection of a wrong game!
Selection of a wrong game!
The game that came to our mind - PONG!
Pong - Simplest table tennis video game from 1972 atari console.
Figure: Uprighted Cabinet of Pong
Runner Games
Selection of a wrong game!
Selection of a wrong game!
The game that came to our mind - PONG!
Pong - Simplest table tennis video game from 1972 atari console.
Figure: Our JS implementation of Pong
Runner Games
Selection of a wrong game!
Figure: Data used in training of Pong Game: Frames and corresponding
action values (0 - down and 1 - up)
Runner Games
Selection of a wrong game!
Figure: When training in Google Collaboratory Platform
Runner Games
Selection of a wrong game!
Figure: A simple hack to never stop collaboratory running
Runner Games
Selection of a wrong game!
Figure: Loss and accuracy of the Pong game trained with 2K images
Runner Games
Selection of a wrong game!
Figure: Loss and accuracy of the Pong game when trained with 30K
images
Runner Games
Why pong failed?
Table of Contents
1 Introduction
2 Selection of a wrong game!
3 Why pong failed?
4 Discovering a new Class of Runner Games
5 Results for the Dino game
6 Conclusion
7 Acknowledgements
8 References
Runner Games
Why pong failed?
Why pong failed?
Pong’s Computer counterpart is a robot not an AI, it just calculates
according to coordinates of the ball. We needed human touch!
More data more accuracy, what is wrong?
Runner Games
Why pong failed?
Why pong failed?
Pong’s Computer counterpart is a robot not an AI, it just calculates
according to coordinates of the ball. We needed human touch!
More data more accuracy, what is wrong?
We trained the model using Google’s free collaboratory
platform, which gives free GPU and is computationally
effective.
Runner Games
Why pong failed?
Why pong failed?
Pong’s Computer counterpart is a robot not an AI, it just calculates
according to coordinates of the ball. We needed human touch!
More data more accuracy, what is wrong?
We trained the model using Google’s free collaboratory
platform, which gives free GPU and is computationally
effective.
Guess the move by looking at the Pong’s picture
Runner Games
Discovering a new Class of Runner Games
Table of Contents
1 Introduction
2 Selection of a wrong game!
3 Why pong failed?
4 Discovering a new Class of Runner Games
5 Results for the Dino game
6 Conclusion
7 Acknowledgements
8 References
Runner Games
Discovering a new Class of Runner Games
Runner Games
Runner games are those kind of games which have a definite move
for every instance of the environment
Figure: Famous Dino game!
Runner Games
Discovering a new Class of Runner Games
Runner Games
Runner games are those kind of games which have a definite move
for every instance of the environment
Figure: Famous flappy bird game!
Runner Games
Discovering a new Class of Runner Games
Runner Games
Runner games are those kind of games which have a definite move
for every instance of the environment
Figure: Asphalt overdrive game
Runner Games
Discovering a new Class of Runner Games
Runner Games
Runner games are those kind of games which have a definite move
for every instance of the environment
Figure: Famous Temple run game
Runner Games
Discovering a new Class of Runner Games
Runner Games
Runner games are those kind of games which have a definite move
for every instance of the environment
Figure: The Road Rash
Runner Games
Discovering a new Class of Runner Games
Runner Games
Runner games are those kind of games which have a definite move
for every instance of the environment
Figure: A custom made game named ”Balancer”
Runner Games
Discovering a new Class of Runner Games
Figure: Data used in training of Dino Game: Frames and corresponding
action values (0 - nothing and 1 - up)
Runner Games
Results for the Dino game
Table of Contents
1 Introduction
2 Selection of a wrong game!
3 Why pong failed?
4 Discovering a new Class of Runner Games
5 Results for the Dino game
6 Conclusion
7 Acknowledgements
8 References
Runner Games
Results for the Dino game
Results for the Dino game
The results obtained are satisfactory. It performed well and runs
genuinely with 90% accuracy. From these results we can conclude
that certain class of games performs well with just a simple
technology like CNN.
Accuracy obtained from Dino game training
Runner Games
Results for the Dino game
Results for the Dino game
The results obtained are satisfactory. It performed well and runs
genuinely with 90% accuracy. From these results we can conclude
that certain class of games performs well with just a simple
technology like CNN.
Loss from the dino game training
Runner Games
Conclusion
Table of Contents
1 Introduction
2 Selection of a wrong game!
3 Why pong failed?
4 Discovering a new Class of Runner Games
5 Results for the Dino game
6 Conclusion
7 Acknowledgements
8 References
Runner Games
Conclusion
Conclusion
Modern technologies and algorithms like Reccurrent Neural
Network, Reinforcement Learning, Genetic algorithms are more
powerful than the method that was implemented. We will
implement these in the Dino game in the near future. The YOLO
works on this exact same model, i.e., extract frames from the video
and predict from those taken pictures.
Runner Games
Acknowledgements
Table of Contents
1 Introduction
2 Selection of a wrong game!
3 Why pong failed?
4 Discovering a new Class of Runner Games
5 Results for the Dino game
6 Conclusion
7 Acknowledgements
8 References
Runner Games
Acknowledgements
Acknowledgements
I acknowledge the help recieved from Tamal Maharaj, Prof.
Janardan Ghosh, Indranil Das and Harrison Kinseley for their
suggestions and discussions.
Runner Games
References
Table of Contents
1 Introduction
2 Selection of a wrong game!
3 Why pong failed?
4 Discovering a new Class of Runner Games
5 Results for the Dino game
6 Conclusion
7 Acknowledgements
8 References
Runner Games
References
References
Pal, J.B., (2019), Playing a class of games using CNN, Blog
in github pages,
https://jimut123.github.io/blogs/cnn games ai.html available
on the web, last accessed on 14-11-2019 .
Kinseley, H., (2017), Python Plays GTA V, Tutorial in
https://pythonprogramming.net/game-frames-open-cv-
python-plays-gta-v/ available on the web, last accessed on
14-11-2019 .
Runner Games
References
Thank Youjimutbahanpal@{gmail,yahoo,outlook}.com

More Related Content

Similar to CNN Games

Android game -english11
Android game -english11Android game -english11
Android game -english11tonychan1972
 
Fundamentals of Game Design
Fundamentals of Game DesignFundamentals of Game Design
Fundamentals of Game DesignSeth Sivak
 
Lecture 15 Game Analytics in the Age of Big Data
Lecture 15 Game Analytics in the Age of Big DataLecture 15 Game Analytics in the Age of Big Data
Lecture 15 Game Analytics in the Age of Big DataTrieu Nguyen
 
Indie Games - From Prototype to Polish, Tips & Tricks making your own indie g...
Indie Games - From Prototype to Polish, Tips & Tricks making your own indie g...Indie Games - From Prototype to Polish, Tips & Tricks making your own indie g...
Indie Games - From Prototype to Polish, Tips & Tricks making your own indie g...Anna Grueter
 
Game Thinking - The Business of Gaming (Gamification)
Game Thinking - The Business of Gaming (Gamification)Game Thinking - The Business of Gaming (Gamification)
Game Thinking - The Business of Gaming (Gamification)Stephen Gay
 
A primer on game-based learning
A primer on game-based learningA primer on game-based learning
A primer on game-based learningGerard Friel
 
HOW TO CREATE A GAME DESIGN?
HOW TO CREATE A GAME DESIGN?HOW TO CREATE A GAME DESIGN?
HOW TO CREATE A GAME DESIGN?Eva Handriyantini
 
Games User Research is for Game Design!
Games User Research is for Game Design!Games User Research is for Game Design!
Games User Research is for Game Design!Marina Kobayashi
 
computer games and its benifites
computer games and its benifitescomputer games and its benifites
computer games and its benifitesoveuoda
 
Innofied case study (Game Development)
Innofied case study (Game Development)Innofied case study (Game Development)
Innofied case study (Game Development)Innofied Solution
 
Pong Game using Java awt and swing
Pong Game using Java awt and swingPong Game using Java awt and swing
Pong Game using Java awt and swingSanjeev Patil
 
Designing games with kodu_game_lab_v1
Designing games with kodu_game_lab_v1Designing games with kodu_game_lab_v1
Designing games with kodu_game_lab_v1KerryJTurner
 
Designing A Casual MMO
Designing A Casual MMODesigning A Casual MMO
Designing A Casual MMOLaralyn
 
Naruto Ultimate Ninja Hero(edited)
Naruto  Ultimate  Ninja  Hero(edited)Naruto  Ultimate  Ninja  Hero(edited)
Naruto Ultimate Ninja Hero(edited)Spork
 
Naruto Ultimate Ninja Hero2
Naruto Ultimate Ninja Hero2Naruto Ultimate Ninja Hero2
Naruto Ultimate Ninja Hero2Spork
 
Video game-/research
Video game-/researchVideo game-/research
Video game-/researchcaleb wilcox
 

Similar to CNN Games (20)

Android game -english11
Android game -english11Android game -english11
Android game -english11
 
Fundamentals of Game Design
Fundamentals of Game DesignFundamentals of Game Design
Fundamentals of Game Design
 
FMP Research
FMP ResearchFMP Research
FMP Research
 
2. research
2. research2. research
2. research
 
Lecture 15 Game Analytics in the Age of Big Data
Lecture 15 Game Analytics in the Age of Big DataLecture 15 Game Analytics in the Age of Big Data
Lecture 15 Game Analytics in the Age of Big Data
 
Indie Games - From Prototype to Polish, Tips & Tricks making your own indie g...
Indie Games - From Prototype to Polish, Tips & Tricks making your own indie g...Indie Games - From Prototype to Polish, Tips & Tricks making your own indie g...
Indie Games - From Prototype to Polish, Tips & Tricks making your own indie g...
 
Game Thinking - The Business of Gaming (Gamification)
Game Thinking - The Business of Gaming (Gamification)Game Thinking - The Business of Gaming (Gamification)
Game Thinking - The Business of Gaming (Gamification)
 
A primer on game-based learning
A primer on game-based learningA primer on game-based learning
A primer on game-based learning
 
HOW TO CREATE A GAME DESIGN?
HOW TO CREATE A GAME DESIGN?HOW TO CREATE A GAME DESIGN?
HOW TO CREATE A GAME DESIGN?
 
Street runner final
Street runner finalStreet runner final
Street runner final
 
Games User Research is for Game Design!
Games User Research is for Game Design!Games User Research is for Game Design!
Games User Research is for Game Design!
 
computer games and its benifites
computer games and its benifitescomputer games and its benifites
computer games and its benifites
 
3. Research
3. Research3. Research
3. Research
 
Innofied case study (Game Development)
Innofied case study (Game Development)Innofied case study (Game Development)
Innofied case study (Game Development)
 
Pong Game using Java awt and swing
Pong Game using Java awt and swingPong Game using Java awt and swing
Pong Game using Java awt and swing
 
Designing games with kodu_game_lab_v1
Designing games with kodu_game_lab_v1Designing games with kodu_game_lab_v1
Designing games with kodu_game_lab_v1
 
Designing A Casual MMO
Designing A Casual MMODesigning A Casual MMO
Designing A Casual MMO
 
Naruto Ultimate Ninja Hero(edited)
Naruto  Ultimate  Ninja  Hero(edited)Naruto  Ultimate  Ninja  Hero(edited)
Naruto Ultimate Ninja Hero(edited)
 
Naruto Ultimate Ninja Hero2
Naruto Ultimate Ninja Hero2Naruto Ultimate Ninja Hero2
Naruto Ultimate Ninja Hero2
 
Video game-/research
Video game-/researchVideo game-/research
Video game-/research
 

Recently uploaded

如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一
如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一
如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一fztigerwe
 
Formulas dax para power bI de microsoft.pdf
Formulas dax para power bI de microsoft.pdfFormulas dax para power bI de microsoft.pdf
Formulas dax para power bI de microsoft.pdfRobertoOcampo24
 
如何办理英国卡迪夫大学毕业证(Cardiff毕业证书)成绩单留信学历认证
如何办理英国卡迪夫大学毕业证(Cardiff毕业证书)成绩单留信学历认证如何办理英国卡迪夫大学毕业证(Cardiff毕业证书)成绩单留信学历认证
如何办理英国卡迪夫大学毕业证(Cardiff毕业证书)成绩单留信学历认证ju0dztxtn
 
edited gordis ebook sixth edition david d.pdf
edited gordis ebook sixth edition david d.pdfedited gordis ebook sixth edition david d.pdf
edited gordis ebook sixth edition david d.pdfgreat91
 
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证zifhagzkk
 
Identify Customer Segments to Create Customer Offers for Each Segment - Appli...
Identify Customer Segments to Create Customer Offers for Each Segment - Appli...Identify Customer Segments to Create Customer Offers for Each Segment - Appli...
Identify Customer Segments to Create Customer Offers for Each Segment - Appli...ThinkInnovation
 
如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证acoha1
 
obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...
obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...
obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...yulianti213969
 
How to Transform Clinical Trial Management with Advanced Data Analytics
How to Transform Clinical Trial Management with Advanced Data AnalyticsHow to Transform Clinical Trial Management with Advanced Data Analytics
How to Transform Clinical Trial Management with Advanced Data AnalyticsBrainSell Technologies
 
SCI8-Q4-MOD11.pdfwrwujrrjfaajerjrajrrarj
SCI8-Q4-MOD11.pdfwrwujrrjfaajerjrajrrarjSCI8-Q4-MOD11.pdfwrwujrrjfaajerjrajrrarj
SCI8-Q4-MOD11.pdfwrwujrrjfaajerjrajrrarjadimosmejiaslendon
 
Sensing the Future: Anomaly Detection and Event Prediction in Sensor Networks
Sensing the Future: Anomaly Detection and Event Prediction in Sensor NetworksSensing the Future: Anomaly Detection and Event Prediction in Sensor Networks
Sensing the Future: Anomaly Detection and Event Prediction in Sensor NetworksBoston Institute of Analytics
 
Displacement, Velocity, Acceleration, and Second Derivatives
Displacement, Velocity, Acceleration, and Second DerivativesDisplacement, Velocity, Acceleration, and Second Derivatives
Displacement, Velocity, Acceleration, and Second Derivatives23050636
 
社内勉強会資料_Object Recognition as Next Token Prediction
社内勉強会資料_Object Recognition as Next Token Prediction社内勉強会資料_Object Recognition as Next Token Prediction
社内勉強会資料_Object Recognition as Next Token PredictionNABLAS株式会社
 
Data Visualization Exploring and Explaining with Data 1st Edition by Camm sol...
Data Visualization Exploring and Explaining with Data 1st Edition by Camm sol...Data Visualization Exploring and Explaining with Data 1st Edition by Camm sol...
Data Visualization Exploring and Explaining with Data 1st Edition by Camm sol...ssuserf63bd7
 
Statistics Informed Decisions Using Data 5th edition by Michael Sullivan solu...
Statistics Informed Decisions Using Data 5th edition by Michael Sullivan solu...Statistics Informed Decisions Using Data 5th edition by Michael Sullivan solu...
Statistics Informed Decisions Using Data 5th edition by Michael Sullivan solu...ssuserf63bd7
 
如何办理加州大学伯克利分校毕业证(UCB毕业证)成绩单留信学历认证
如何办理加州大学伯克利分校毕业证(UCB毕业证)成绩单留信学历认证如何办理加州大学伯克利分校毕业证(UCB毕业证)成绩单留信学历认证
如何办理加州大学伯克利分校毕业证(UCB毕业证)成绩单留信学历认证a8om7o51
 
What is Insertion Sort. Its basic information
What is Insertion Sort. Its basic informationWhat is Insertion Sort. Its basic information
What is Insertion Sort. Its basic informationmuqadasqasim10
 
Seven tools of quality control.slideshare
Seven tools of quality control.slideshareSeven tools of quality control.slideshare
Seven tools of quality control.slideshareraiaryan448
 
Audience Researchndfhcvnfgvgbhujhgfv.pptx
Audience Researchndfhcvnfgvgbhujhgfv.pptxAudience Researchndfhcvnfgvgbhujhgfv.pptx
Audience Researchndfhcvnfgvgbhujhgfv.pptxStephen266013
 
NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...
NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...
NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...Amil baba
 

Recently uploaded (20)

如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一
如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一
如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一
 
Formulas dax para power bI de microsoft.pdf
Formulas dax para power bI de microsoft.pdfFormulas dax para power bI de microsoft.pdf
Formulas dax para power bI de microsoft.pdf
 
如何办理英国卡迪夫大学毕业证(Cardiff毕业证书)成绩单留信学历认证
如何办理英国卡迪夫大学毕业证(Cardiff毕业证书)成绩单留信学历认证如何办理英国卡迪夫大学毕业证(Cardiff毕业证书)成绩单留信学历认证
如何办理英国卡迪夫大学毕业证(Cardiff毕业证书)成绩单留信学历认证
 
edited gordis ebook sixth edition david d.pdf
edited gordis ebook sixth edition david d.pdfedited gordis ebook sixth edition david d.pdf
edited gordis ebook sixth edition david d.pdf
 
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证
如何办理(Dalhousie毕业证书)达尔豪斯大学毕业证成绩单留信学历认证
 
Identify Customer Segments to Create Customer Offers for Each Segment - Appli...
Identify Customer Segments to Create Customer Offers for Each Segment - Appli...Identify Customer Segments to Create Customer Offers for Each Segment - Appli...
Identify Customer Segments to Create Customer Offers for Each Segment - Appli...
 
如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(WashU毕业证书)圣路易斯华盛顿大学毕业证成绩单本科硕士学位证留信学历认证
 
obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...
obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...
obat aborsi Tarakan wa 081336238223 jual obat aborsi cytotec asli di Tarakan9...
 
How to Transform Clinical Trial Management with Advanced Data Analytics
How to Transform Clinical Trial Management with Advanced Data AnalyticsHow to Transform Clinical Trial Management with Advanced Data Analytics
How to Transform Clinical Trial Management with Advanced Data Analytics
 
SCI8-Q4-MOD11.pdfwrwujrrjfaajerjrajrrarj
SCI8-Q4-MOD11.pdfwrwujrrjfaajerjrajrrarjSCI8-Q4-MOD11.pdfwrwujrrjfaajerjrajrrarj
SCI8-Q4-MOD11.pdfwrwujrrjfaajerjrajrrarj
 
Sensing the Future: Anomaly Detection and Event Prediction in Sensor Networks
Sensing the Future: Anomaly Detection and Event Prediction in Sensor NetworksSensing the Future: Anomaly Detection and Event Prediction in Sensor Networks
Sensing the Future: Anomaly Detection and Event Prediction in Sensor Networks
 
Displacement, Velocity, Acceleration, and Second Derivatives
Displacement, Velocity, Acceleration, and Second DerivativesDisplacement, Velocity, Acceleration, and Second Derivatives
Displacement, Velocity, Acceleration, and Second Derivatives
 
社内勉強会資料_Object Recognition as Next Token Prediction
社内勉強会資料_Object Recognition as Next Token Prediction社内勉強会資料_Object Recognition as Next Token Prediction
社内勉強会資料_Object Recognition as Next Token Prediction
 
Data Visualization Exploring and Explaining with Data 1st Edition by Camm sol...
Data Visualization Exploring and Explaining with Data 1st Edition by Camm sol...Data Visualization Exploring and Explaining with Data 1st Edition by Camm sol...
Data Visualization Exploring and Explaining with Data 1st Edition by Camm sol...
 
Statistics Informed Decisions Using Data 5th edition by Michael Sullivan solu...
Statistics Informed Decisions Using Data 5th edition by Michael Sullivan solu...Statistics Informed Decisions Using Data 5th edition by Michael Sullivan solu...
Statistics Informed Decisions Using Data 5th edition by Michael Sullivan solu...
 
如何办理加州大学伯克利分校毕业证(UCB毕业证)成绩单留信学历认证
如何办理加州大学伯克利分校毕业证(UCB毕业证)成绩单留信学历认证如何办理加州大学伯克利分校毕业证(UCB毕业证)成绩单留信学历认证
如何办理加州大学伯克利分校毕业证(UCB毕业证)成绩单留信学历认证
 
What is Insertion Sort. Its basic information
What is Insertion Sort. Its basic informationWhat is Insertion Sort. Its basic information
What is Insertion Sort. Its basic information
 
Seven tools of quality control.slideshare
Seven tools of quality control.slideshareSeven tools of quality control.slideshare
Seven tools of quality control.slideshare
 
Audience Researchndfhcvnfgvgbhujhgfv.pptx
Audience Researchndfhcvnfgvgbhujhgfv.pptxAudience Researchndfhcvnfgvgbhujhgfv.pptx
Audience Researchndfhcvnfgvgbhujhgfv.pptx
 
NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...
NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...
NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...
 

CNN Games

  • 1. Runner Games Playing a class of Game using CNN Focus on Runner Games Jimut Bahan Pal1 1Department of Computer Science Ramakrishna Mission Vivekananda Educational and Research Institute A presentation for Communicative English course
  • 2. Runner Games Table of Contents 1 Introduction 2 Selection of a wrong game! 3 Why pong failed? 4 Discovering a new Class of Runner Games 5 Results for the Dino game 6 Conclusion 7 Acknowledgements 8 References
  • 3. Runner Games Introduction Table of Contents 1 Introduction 2 Selection of a wrong game! 3 Why pong failed? 4 Discovering a new Class of Runner Games 5 Results for the Dino game 6 Conclusion 7 Acknowledgements 8 References
  • 4. Runner Games Introduction Introduction This was a pet project during my 2nd year on St. Xavier’s College! Motivation Figure: Indranil and Harrison
  • 5. Runner Games Introduction Introduction This was a pet project during my 2nd year on St. Xavier’s College! Motivation Figure: Indranil and Harrison CNN - to analyze visual imagery, face detection, earlier application include detection of numbers for post cards (Yann Lee Cunn)
  • 6. Runner Games Introduction Introduction This was a pet project during my 2nd year on St. Xavier’s College! Motivation Figure: Indranil and Harrison CNN - to analyze visual imagery, face detection, earlier application include detection of numbers for post cards (Yann Lee Cunn) Cifar 10 model, 80% accuracy in 2010 on CIFAR-10 dataset
  • 7. Runner Games Introduction Introduction This was a pet project during my 2nd year on St. Xavier’s College! Motivation Figure: Indranil and Harrison CNN - to analyze visual imagery, face detection, earlier application include detection of numbers for post cards (Yann Lee Cunn) Cifar 10 model, 80% accuracy in 2010 on CIFAR-10 dataset Can we make something innovative using simple technology?!
  • 8. Runner Games Introduction Figure: The famous CIFAR-10 model which we used for training
  • 9. Runner Games Selection of a wrong game! Table of Contents 1 Introduction 2 Selection of a wrong game! 3 Why pong failed? 4 Discovering a new Class of Runner Games 5 Results for the Dino game 6 Conclusion 7 Acknowledgements 8 References
  • 10. Runner Games Selection of a wrong game! Selection of a wrong game! The game that came to our mind - PONG! Pong - Simplest table tennis video game from 1972 atari console. Figure: Uprighted Cabinet of Pong
  • 11. Runner Games Selection of a wrong game! Selection of a wrong game! The game that came to our mind - PONG! Pong - Simplest table tennis video game from 1972 atari console. Figure: Our JS implementation of Pong
  • 12. Runner Games Selection of a wrong game! Figure: Data used in training of Pong Game: Frames and corresponding action values (0 - down and 1 - up)
  • 13. Runner Games Selection of a wrong game! Figure: When training in Google Collaboratory Platform
  • 14. Runner Games Selection of a wrong game! Figure: A simple hack to never stop collaboratory running
  • 15. Runner Games Selection of a wrong game! Figure: Loss and accuracy of the Pong game trained with 2K images
  • 16. Runner Games Selection of a wrong game! Figure: Loss and accuracy of the Pong game when trained with 30K images
  • 17. Runner Games Why pong failed? Table of Contents 1 Introduction 2 Selection of a wrong game! 3 Why pong failed? 4 Discovering a new Class of Runner Games 5 Results for the Dino game 6 Conclusion 7 Acknowledgements 8 References
  • 18. Runner Games Why pong failed? Why pong failed? Pong’s Computer counterpart is a robot not an AI, it just calculates according to coordinates of the ball. We needed human touch! More data more accuracy, what is wrong?
  • 19. Runner Games Why pong failed? Why pong failed? Pong’s Computer counterpart is a robot not an AI, it just calculates according to coordinates of the ball. We needed human touch! More data more accuracy, what is wrong? We trained the model using Google’s free collaboratory platform, which gives free GPU and is computationally effective.
  • 20. Runner Games Why pong failed? Why pong failed? Pong’s Computer counterpart is a robot not an AI, it just calculates according to coordinates of the ball. We needed human touch! More data more accuracy, what is wrong? We trained the model using Google’s free collaboratory platform, which gives free GPU and is computationally effective. Guess the move by looking at the Pong’s picture
  • 21. Runner Games Discovering a new Class of Runner Games Table of Contents 1 Introduction 2 Selection of a wrong game! 3 Why pong failed? 4 Discovering a new Class of Runner Games 5 Results for the Dino game 6 Conclusion 7 Acknowledgements 8 References
  • 22. Runner Games Discovering a new Class of Runner Games Runner Games Runner games are those kind of games which have a definite move for every instance of the environment Figure: Famous Dino game!
  • 23. Runner Games Discovering a new Class of Runner Games Runner Games Runner games are those kind of games which have a definite move for every instance of the environment Figure: Famous flappy bird game!
  • 24. Runner Games Discovering a new Class of Runner Games Runner Games Runner games are those kind of games which have a definite move for every instance of the environment Figure: Asphalt overdrive game
  • 25. Runner Games Discovering a new Class of Runner Games Runner Games Runner games are those kind of games which have a definite move for every instance of the environment Figure: Famous Temple run game
  • 26. Runner Games Discovering a new Class of Runner Games Runner Games Runner games are those kind of games which have a definite move for every instance of the environment Figure: The Road Rash
  • 27. Runner Games Discovering a new Class of Runner Games Runner Games Runner games are those kind of games which have a definite move for every instance of the environment Figure: A custom made game named ”Balancer”
  • 28. Runner Games Discovering a new Class of Runner Games Figure: Data used in training of Dino Game: Frames and corresponding action values (0 - nothing and 1 - up)
  • 29. Runner Games Results for the Dino game Table of Contents 1 Introduction 2 Selection of a wrong game! 3 Why pong failed? 4 Discovering a new Class of Runner Games 5 Results for the Dino game 6 Conclusion 7 Acknowledgements 8 References
  • 30. Runner Games Results for the Dino game Results for the Dino game The results obtained are satisfactory. It performed well and runs genuinely with 90% accuracy. From these results we can conclude that certain class of games performs well with just a simple technology like CNN. Accuracy obtained from Dino game training
  • 31. Runner Games Results for the Dino game Results for the Dino game The results obtained are satisfactory. It performed well and runs genuinely with 90% accuracy. From these results we can conclude that certain class of games performs well with just a simple technology like CNN. Loss from the dino game training
  • 32. Runner Games Conclusion Table of Contents 1 Introduction 2 Selection of a wrong game! 3 Why pong failed? 4 Discovering a new Class of Runner Games 5 Results for the Dino game 6 Conclusion 7 Acknowledgements 8 References
  • 33. Runner Games Conclusion Conclusion Modern technologies and algorithms like Reccurrent Neural Network, Reinforcement Learning, Genetic algorithms are more powerful than the method that was implemented. We will implement these in the Dino game in the near future. The YOLO works on this exact same model, i.e., extract frames from the video and predict from those taken pictures.
  • 34. Runner Games Acknowledgements Table of Contents 1 Introduction 2 Selection of a wrong game! 3 Why pong failed? 4 Discovering a new Class of Runner Games 5 Results for the Dino game 6 Conclusion 7 Acknowledgements 8 References
  • 35. Runner Games Acknowledgements Acknowledgements I acknowledge the help recieved from Tamal Maharaj, Prof. Janardan Ghosh, Indranil Das and Harrison Kinseley for their suggestions and discussions.
  • 36. Runner Games References Table of Contents 1 Introduction 2 Selection of a wrong game! 3 Why pong failed? 4 Discovering a new Class of Runner Games 5 Results for the Dino game 6 Conclusion 7 Acknowledgements 8 References
  • 37. Runner Games References References Pal, J.B., (2019), Playing a class of games using CNN, Blog in github pages, https://jimut123.github.io/blogs/cnn games ai.html available on the web, last accessed on 14-11-2019 . Kinseley, H., (2017), Python Plays GTA V, Tutorial in https://pythonprogramming.net/game-frames-open-cv- python-plays-gta-v/ available on the web, last accessed on 14-11-2019 .