aboundy commited on
Commit
d386ea2
1 Parent(s): bc754ad

readme and lfs

Browse files
Files changed (2) hide show
  1. .gitattributes +1 -0
  2. README.md +37 -0
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ *.db filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: pufferlib
3
+ ---
4
+ # Play Pokemon with Reinforcement Learning
5
+
6
+ ## Project
7
+ [Watch the Video](https://www.youtube.com/watch?v=DcYLT37ImBY)
8
+ [GitHub](https://github.com/PWhiddy/PokemonRedExperiments)
9
+
10
+ ## Introduction
11
+ The goal of this project is to use reinforcement learning to train an agent to play the game Pokemon Red.
12
+ The agent will learn to navigate through the game by interacting with the environment and receiving rewards or penalties based on its actions.
13
+ The ultimate objective is to have the agent achieve high scores in the game by mastering various tasks such as battling wild Pokémon,
14
+ catching them, and completing gym challenges.
15
+
16
+ ## Background
17
+ Pokémon Red is a popular video game released in 1999 that has been widely enjoyed by people worldwide.
18
+ It was developed by Game Freak and published by Nintendo.
19
+ The game follows the story of a young trainer who sets out on a journey to become a Pokemon Master by capturing and training different creatures known as Pokemon.
20
+ The game features a unique battle system where players can command their Pokémon to perform various attacks and strategize against opponents.
21
+
22
+ ## Methodology
23
+ To implement reinforcement learning for playing Pokemon, we will follow these steps:
24
+
25
+ 1. Define the problem and set up the environment: We need to define the objectives of the agent, which are to maximize the score and complete specific tasks in the game.
26
+ We also need to create a simulator that mimics the behavior of the original game, allowing us to test our algorithms without requiring access to the actual hardware.
27
+ 2. Choose a deep reinforcement learning algorithm: There are several RL algorithms available, but we will focus on PPO+LSTM due to its simplicity and effectiveness in solving complex problems.
28
+ PPO uses a neural network to approximate the action-value function, which maps states to expected future rewards.
29
+ 3. Train the agent: Once we have defined the problem and chosen an algorithm, we can start training the agent. In each episode, the agent selects an action based on its current state, takes it in the environment,
30
+ receives a reward or penalty, and updates its policy accordingly. This process continues until the desired level of performance is achieved.
31
+ 4. Test the agent: After training, we evaluate the agent's performance by testing it in the same environment used during training. We measure its success rate, average score, and other relevant metrics to determine how well it performed compared to human players.
32
+ 5. Refine the agent: Based on the results from testing, we may need to refine the agent's parameters, adjust the exploration strategy, or modify the reward function to improve its overall performance.
33
+
34
+ ## Expected Outcomes
35
+ We expect that the trained agent will be able to successfully complete various tasks in Pokémon Red, such as defeating gym leaders, gaining levels and exploring the map.
36
+ By achieving these goals, the agent will demonstrate its ability to make decisions based on its experiences and adapt to new situations, making it a valuable tool for studying AI decision-making.
37
+ Additionally, the insights gained from this project could contribute to the development of more sophisticated RL models for tackling bigger game worlds.