- Clone the repository.
git clone https://github.com/k0T0z/deep-RL-course-labs.git
- Change directory.
- Download the requirements.
pip install -r unit3-requirements.txt
- Run the training.
python -m rl_zoo3.train --algo dqn --env SpaceInvadersNoFrameskip-v4 -f logs/ -c dqn.yml
- Run the evaluation for 5000 steps.
python -m rl_zoo3.enjoy --algo dqn --env SpaceInvadersNoFrameskip-v4 --no-render --n-timesteps 5000 --folder logs/
- Upload the model to the Hugging Face Hub. Replace
_____
with your username.
python -m rl_zoo3.push_to_hub --algo dqn --env SpaceInvadersNoFrameskip-v4 --repo-name dqn-SpaceInvadersNoFrameskip-v4 -orga _____ -f logs/
- Clone the repository.
git clone https://github.com/k0T0z/deep-RL-course-labs.git
- Change directory.
- Download the requirements.
pip install -r unit4-requirements.txt
- Run the notebook.