Skip to content

Instantly share code, notes, and snippets.

View stefanbschneider's full-sized avatar

Stefan Schneider stefanbschneider

View GitHub Profile
# copy from our private repo: https://github.com/RealVNF/rl-coordination/blob/master/res/config/agent/sac/sac_obs1_combi_64hid_099gam_00001tau_001alp_001ent_005exp.yaml
# for DeepCoord DRL agent:
# https://github.com/RealVNF/DeepCoord
# module for configuring the RL agent
# configuration parameters are loaded and used both when using the agent via the CLI and via the interface
# all parameters are required, defaults are in comments
# observation_space = ['ingress_traffic', 'node_load']
observation_space:
@stefanbschneider
stefanbschneider / rlsp_sac.py
Created July 15, 2021 07:41
DeepCoord agent with SAC
# DeepCoord uses DRL for network and service coordination
# By default, it uses DDPG from the keras-rl library
# https://github.com/RealVNF/DeepCoord
# This module shows how to implement the DRL agent with SAC from stable-baselines instead
# It's copied from https://github.com/RealVNF/rl-coordination/blob/master/src/rlsp/agents/rlsp_sac.py (private repo)
from rlsp.agents.rlsp_agent import RLSPAgent
from rlsp.utils.util_functions import create_simulator
from stable_baselines.sac import SAC
from stable_baselines.sac.policies import MlpPolicy
@stefanbschneider
stefanbschneider / networking_datasets.md
Last active April 25, 2024 13:45
List of datasets related to networking. Useful for data-driven evaluation or machine learning approaches. Feel free to comment with updates.