minetest-baselines tensorboard minetester-treechop_shaped-v0 deep-reinforcement-learning reinforcement-learning custom-implementation model-index region:us
---
tags:
- minetester-treechop_shaped-v0
- deep-reinforcement-learning
- reinforcement-learning
- custom-implementation
library_name: minetest-baselines
model-index:
- name: PPO
  results:
  - task:
      type: reinforcement-learning
      name: reinforcement-learning
    dataset:
      name: minetester-treechop_shaped-v0
      type: minetester-treechop_shaped-v0
    metrics:
    - type: mean_reward
      value: 1.09 +/- 5.46
      name: mean_reward
      verified: false
---

#**PPO** Agent Playing **minetester-treechop_shaped-v0**

This is a trained model of a PPO agent playing minetester-treechop_shaped-v0.
The model was trained by using
[minetest-baselines](https://github.com/EleutherAI/minetest-baselines).

## Command to reproduce the training

```bash
python -m minetest_baselines.train --algo ppo --exp-name ppo_fastversion_seed1 --seed 1 --capture-video --video-frequency 500 --track --wandb-entity rkla --save-model --upload-model --hf-entity rkla --total-timesteps 2000000 --num-envs 4
```

# Hyperparameters
```python
{'anneal_lr': True,
 'batch_size': 512,
 'capture_video': True,
 'clip_coef': 0.1,
 'cuda': True,
 'ent_coef': 0.01,
 'env_id': 'minetester-treechop_shaped-v0',
 'exp_name': 'ppo_fastversion_seed1',
 'gae_lambda': 0.95,
 'gamma': 0.99,
 'hf_entity': 'rkla',
 'learning_rate': 0.00025,
 'max_grad_norm': 0.5,
 'minibatch_size': 128,
 'norm_adv': True,
 'num_envs': 4,
 'num_minibatches': 4,
 'num_steps': 128,
 'num_updates': 3906,
 'save_model': True,
 'seed': 1,
 'target_kl': None,
 'torch_deterministic': True,
 'total_timesteps': 2000000,
 'track': True,
 'update_epochs': 4,
 'upload_model': True,
 'vf_coef': 0.5,
 'video_frequency': 500,
 'wandb_entity': 'rkla',
 'wandb_project_name': 'minetest-baselines'}
```
    