Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
6b64f35
Create Readme.MD
init27 Nov 1, 2025
b962714
Update Readme.MD
init27 Nov 1, 2025
469a568
Add Poke-Env documentation for environment setup and usage
cpich3g Nov 1, 2025
f1685c1
Implement a sample Pokemon Battle Environment with server and client …
cpich3g Nov 1, 2025
62bede1
Merge pull request #124 from cpich3g/project-pikachu
init27 Nov 1, 2025
a151874
cleanup
init27 Nov 1, 2025
1185aaa
improve logging
init27 Nov 1, 2025
0abf5bb
Update Dockerfile
init27 Nov 1, 2025
c726d75
push testing
init27 Nov 1, 2025
535e907
Add Surfiniaburger to contributors list
surfiniaburger Nov 1, 2025
9ec5b12
add logs and fix tests
init27 Nov 1, 2025
8626797
fix paths
init27 Nov 1, 2025
abeb605
add edge handling
init27 Nov 1, 2025
359ef1b
reward
init27 Nov 1, 2025
eef1675
move files
init27 Nov 1, 2025
31e6509
Update pokemon_environment.py
init27 Nov 1, 2025
ab7d91e
Update pokemon_environment.py
init27 Nov 1, 2025
b165e65
Create README.md
init27 Nov 1, 2025
376b54a
Update test_local_pokemon.py
init27 Nov 1, 2025
f7abe37
Update test_http_pokemon.py
init27 Nov 1, 2025
f270e9f
Merge pull request #127 from surfiniaburger/patch-1
init27 Nov 1, 2025
6e9dff7
fix paths
init27 Nov 2, 2025
705d203
Merge branch 'project-pikachu' of https://github.com/meta-pytorch/Ope…
init27 Nov 2, 2025
c3ba48c
Add observations section to Readme
Sai-Ishaan Nov 2, 2025
7f181cb
Merge pull request #134 from Sai-Ishaan/patch-2
init27 Nov 2, 2025
aa7c73c
Add Pokemon Battle Environment tutorial notebook
cpich3g Nov 3, 2025
76f9222
Fix battle format in example usage from gen9randombattle to gen8rando…
cpich3g Nov 3, 2025
f21ba1c
Add tutorial notebook and Docker test script for Pokemon environment
cpich3g Nov 3, 2025
74da609
Merge branch 'project-pikachu' into project-pikachu
cpich3g Nov 3, 2025
ce2cf68
Merge pull request #139 from cpich3g/project-pikachu
init27 Nov 3, 2025
7ac65a1
Expand BasicSetupCheckList with requirements and fixes
Sai-Ishaan Nov 4, 2025
7883816
Rename examples/BasicSetupCheckList.md to examples/project-pikachu/Ba…
Sai-Ishaan Nov 4, 2025
6c296dc
Revise Basic Pokémon RL Training Setup Checklist
Sai-Ishaan Nov 4, 2025
c91411f
Fix formatting in BasicSetupCheckList.md
Sai-Ishaan Nov 4, 2025
bec696b
Clean up BasicSetupCheckList.md
Sai-Ishaan Nov 4, 2025
215257e
Update BasicSetupCheckList with forking instructions
Sai-Ishaan Nov 4, 2025
bc8e0c5
fixed gen8 random battles
yogesh1801 Nov 5, 2025
bfd79b2
Split Dockerfile into 2 files
dcube0710 Nov 5, 2025
1f47a4e
Merge pull request #153 from dcube0710/project-pikachu-simran
init27 Nov 5, 2025
37ae400
Merge pull request #150 from yogesh1801/project-pikachu-yogesh
init27 Nov 5, 2025
73bae33
Merge pull request #146 from Sai-Ishaan/project-pikachu
init27 Nov 5, 2025
1d0aa99
dockerfiles separated
yogesh1801 Nov 5, 2025
55b18ff
Merge pull request #154 from yogesh1801/project-pikachu
init27 Nov 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,6 @@ Desktop.ini
*claude*
*Claude*
*CLAUDE*
examples/project-pikachu/CRITICAL_FIXES_AND_TEST_INSTRUCTIONS.md
examples/project-pikachu/ALL_FIXES_APPLIED.md
examples/project-pikachu/FINAL_TEST_INSTRUCTIONS.md
114 changes: 114 additions & 0 deletions examples/project-pikachu/BasicSetupCheckList.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
# Basic Pokémon RL Training Environment Setup

## 🖥️ System Requirements

- **Python**: 3.9 or higher (✅ 3.10 recommended)
- **Node.js**: v20 or higher (for Pokémon Showdown server)
- **npm**: Latest version
- **Git**
- **Operating System**: Windows 10/11, Linux, or macOS

> ⚠️ Ensure Python and Node.js are added to your system's `PATH`.
> ✅ Enable `pip` and Python launcher (`py`) during installation.

---

## 🧰 Hardware Recommendations

| Component | Requirement |
|----------|-------------|
| RAM | 8–16 GB minimum |
| Storage | At least 5 GB free |
| CPU | Multi-core (4+ cores recommended) |
| GPU | Recommended for faster training |

---

## ⚙️ Setup Instructions

### 1. Create and Activate Virtual Environment

```bash
# Windows
python -m venv venv
venv\Scripts\activate

# Linux/macOS
python3.10 -m venv venv
source venv/bin/activate
```

### 2. Upgrade Core Tools

```bash
python -m pip install --upgrade pip setuptools wheel
```

### 3. Install Required Packages

#### Option A: Manual Installation

```bash
# Install poke-env first to set compatible gymnasium version
pip install poke-env

# Core RL and utility libraries
pip install torch --index-url https://download.pytorch.org/whl/cpu
pip install stable-baselines3==2.2.1 # or 2.3.2
pip install gymnasium
pip install poke-env # Reinstall to ensure compatibility
pip install tensorboard matplotlib pandas wandb
pip install trl==0.19.1
pip install torchvision torchaudio
```

#### Option B: Install Specific poke-env Version

```bash
pip install poke-env==0.9.0
```

This will automatically install:

- `gymnasium>=1.0.0` – RL environment interface
- `numpy>=2.0.2` – Numerical computing
- `orjson>=1.24.3` – Fast JSON parsing
- `pettingzoo>=2.32.3` – Multi-agent RL environments
- `tabulate==0.9.0` – Table formatting
- `websockets==15.0.1` – WebSocket client

---
### Fork the Pokemon-Showdown Repo onto your main project folder
- git clone https://github.com/smogon/pokemon-showdown.git
## ✅ Test Your Setup

Create a basic test script to verify installation.
Example script:

![Test Script Output](https://github.com/user-attachments/assets/c5cb5911-388b-4511-8d43-0a48f5e047a0)

---

## 🐛 Known Issues

- Compatibility issues between versions of:
- `stable-baselines3` and `poke-env`
- `gymnasium`, `pettingzoo`, and `stable-baselines3`
- `random battle generator doesn't load for gen9, due to ShadowException(still buggy)`
---

## 🛠️ Fixes Applied

- Ensured Python 3.10 is selected for `venv`
- Using gen8 for random battle generation
- Uninstalled conflicting packages:

```bash
pip uninstall -y poke-env gymnasium pettingzoo stable-baselines3 trl torch
```

- Installed newer compatible version of `stable-baselines3`:

```bash
pip install stable-baselines3>=2.4.0
```
Loading
Loading