Skip to content

Convolutional neural net built in Keras that determines Overwatch heroes.

Notifications You must be signed in to change notification settings

farzaa/DeepOverwatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DeepOverwatch

This repo readme only discusses how to run the code. To find out what DeepOverwatch actually is, please read the blog post here :).

lol

If you have questions at any point, DM me on Twitter @farzatv.

DeepOverwatch was already trained by me on the 27 heroes that were released as of May 4th, 2018. You can get the pretrained Keras model here. To load this model in Keras do:

from keras.models import load_model
model = load_model('MODEL_NAME.h5')

Than, to predict do:

model.predict(INSERT_LOADED_IMAGE_HERE)

The only preprocessing I do can be found in the load_images_for_model method. Be sure to do this same preprocessing before trying to predict on an image. DeepOverwatch only works on screenshots that were taken in a game running at 1920x1080. You can not run the game at a different resolution and resize the image to 1920x1080.

If you want the dataset and want to train your own neural net you can get it here. Its a fat 10GB file. Once you get it, extract the the mp4 files within the ZIP file into a folder name clips and place this folder in the root directory of this project. Than, simply uncomment the convert_clips() line and go! This will take a while.

gl hf

-Farza

About

Convolutional neural net built in Keras that determines Overwatch heroes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages