- Autocatch using Pokemon Classifier with Torch using embeddings
- Requires Python>=3.12
pkg update && pkg upgrade -y
pkg install python-torch python-torchvision
git clone https://github.com/racovik/autocatch.git
cd autocatch
pip install -r requirements.txt
nano config.py
token: str = ""
guild_id: int =
mkdir -p models && curl -L -o models/classifier.pt https://github.com/racovik/autocatch/releases/download/v1.1.0/classifier.pt
python discord_bot.py
winget install --id Git.Git -e --source winget
- https://www.python.org/downloads/windows/ or microsoft store
if you have an Nvidia card
| CUDA Version | Supported GPUs | |-------------|------------------| | **12.6** | Maxwell and newer (GTX 9xx/10xx/20xx/30xx/40xx/50xx) with limitações | | **12.8** | Turing and newer with official support, including Blackwell | | **13.0** | Turing and newer officially (GTX 16xx/20xx/30xx/40xx/50xx) |
pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cu126
pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cu128
pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cu130
pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cpu
pip3 install -r requirements.txt
mkdir -p models && curl -L -o models/pokerealmac_v1.0.pt https://github.com/racovik/autocatch/releases/download/v1.0.0/classifier.pt
token: str = "TOKEN_HERE"
guild_id: int = GUILD_ID_HERE
python discord_bot.py