강화 학습을 이용한 무한의 계단 인공지능 입니다.
- Python
- App player (tested on bluestack)
- Clone this repo
git clone https://github.com/Songssh/inf-stair.git- Set this repo
cd inf-stair
- Create environment
# anaconda
conda create -n inf python=3.9.13
# Venv
python -m venv inf
- Activate environment
# anaconda
activate inf
# Venv
source inf/Scripts/activate
- Install python requirements
pip install -r requirements.txt
- run utils/get_position.py
- open hparams.py and edit
stair_x = 132 #
stair_y = 554 #
stair_x_len = 70 #px
stair_y_len = 30 #px
end_x = 390
end_y = 759
end_rgb = (204, 34, 34)
# 'q' 전환, 'e' 올라가기
keys = ['q', 'e']
- make floating buttons
[WARNING] Turn your WIFI off, ads might disturb your traning.
python train.py
python run.py
You can find tutorial video here.