Skip to content

Instantly share code, notes, and snippets.

View samuelcaldas's full-sized avatar
💭
hi 🙂

Samuel Caldas samuelcaldas

💭
hi 🙂
View GitHub Profile
@samuelcaldas
samuelcaldas / ppo_cartpole.py
Created November 6, 2021 03:18
Implementation of a Proximal Policy Optimization agent for the CartPole-v0 environment.
"""
Title: Proximal Policy Optimization
Author: [Ilias Chrysovergis](https://twitter.com/iliachry)
Date created: 2021/06/24
Last modified: 2021/06/24
Description: Implementation of a Proximal Policy Optimization agent for the CartPole-v0 environment.
"""
"""
## Introduction
@samuelcaldas
samuelcaldas / KerasA2C.cs
Created March 18, 2021 04:31 — forked from alexhiggins732/KerasA2C.cs
Keras Actor Critic in TensorFlow.net
using System;
using System.Collections.Generic;
using NumSharp;
using Tensorflow.Keras.Layers;
using Tensorflow.Keras.Losses;
using Tensorflow.Keras.Optimizers;
using Tensorflow.Keras.Utils;
using static Tensorflow.Binding;
using static Tensorflow.KerasApi;