--- tags: - LunarLander-v2 - ppo - deep-reinforcement-learning - reinforcement-learning - scratch-implementation - deep-rl-course model-index: - name: PPO results: - task: type: reinforcement-learning name: reinforcement-learning dataset: name: LunarLander-v2 type: LunarLander-v2 metrics: - type: mean_reward value: -112.29 +/- 41.59 name: mean_reward verified: false --- # PPO Agent Implemented from scratch Playing LunarLander-v2 This is a trained model of a PPO agent playing LunarLander-v2. ## Codes Github repos(Give a star if found useful): * https://github.com/hishamcse/DRL-Renegades-Game-Bots * https://github.com/hishamcse/Advanced-DRL-Renegades-Game-Bots * https://github.com/hishamcse/Robo-Chess Kaggle Notebook: * https://www.kaggle.com/code/syedjarullahhisham/drl-huggingface-unit-8-i-ppo-scratch-lunarlander # Hyperparameters ```python {'exp_name': 'ppo' 'seed': 1 'torch_deterministic': True 'cuda': True 'track': False 'wandb_project_name': 'cleanRL' 'wandb_entity': None 'capture_video': True 'env_id': 'LunarLander-v2' 'total_timesteps': 100000 'learning_rate': 0.00025 'num_envs': 4 'num_steps': 128 'anneal_lr': True 'gae': True 'gamma': 0.99 'gae_lambda': 0.95 'num_minibatches': 4 'update_epochs': 4 'norm_adv': True 'clip_coef': 0.2 'clip_vloss': True 'ent_coef': 0.01 'vf_coef': 0.5 'max_grad_norm': 0.5 'target_kl': 0.015 'repo_id': 'hishamcse/ppo-LunarLander-v2-scratch' 'batch_size': 512 'minibatch_size': 128} ```