A Space Invader Bot.
The Colab version will not show a display and should be used only for training, you can save the weights and load them on a local machine to see the run.
Not all weights are in repository do to large size they can be found here.
Only dqn.h5f.data-00000-of-00001 is not available in repository.
The weights are for
model= Sequential()#sequential layer
model.add(Conv2D(32,(8,8),strides=(4,4), activation='relu', input_shape=(3, height, width,channels)))#32 no of filters 8 is filter size and 4 is stride width
model.add(Conv2D(64,(4,4), strides=(2,2), activation='relu'))
model.add(Flatten())
model.add(Dense(512,activation='relu'))
model.add(Dense(256,activation='relu'))
model.add(Dense(actions,activation='linear'))
alfred100p/SpaceInvaders-RL
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|