Ghada-sy / Load-Management

Mobility Load Management in Cellular Networks
8 stars 6 forks source link

Joint Power Optimization Script #6

Open mubangansofu opened 2 years ago

mubangansofu commented 2 years ago

Hi Ghada,

I see the BL_TD_Agent is using <SB3. Is there a specific reason you did not use SB3?

Cheers

Mubs

mubangansofu commented 2 years ago

I basically changed the code to align with SB3:

from stable_baselines3 import TD3 from stable_baselines3.td3.policies import MlpPolicy from stable_baselines3.common import results_plotter from VecMonitor import VecMonitor from stable_baselines3.common.results_plotter import load_results, ts2xy from stable_baselines3.common.noise import NormalActionNoise, OrnsteinUhlenbeckActionNoise#, AdaptiveParamNoiseSpec from stable_baselines3.common.vec_env import DummyVecEnv, VecNormalize from stable_baselines3.common.callbacks import BaseCallback from stable_baselines3.common.cmd_util import make_vec_env