godka / Pensieve-PPO

The simplest implementation of Pensieve (SIGCOMM' 17) via state-of-the-art RL algorithms, including PPO, DQN, SAC, and support for both TensorFlow and PyTorch.
https://godka.github.io/Pensieve-PPO/
BSD 2-Clause "Simplified" License
65 stars 31 forks source link

SAC import error #9

Closed ahmad-hl closed 2 years ago

ahmad-hl commented 2 years ago

In train_sac.py there is an import from sac import Network which gives an error!

How did you install soft actor-critic (sac)? Default installation using pip install sac leads to Network not found error!

godka commented 2 years ago

hi, sorry for the long delay. The SAC version was implemented by @EchoRickZz . He will reply to you soon.

BTW, my SAC implementation can be found in https://github.com/godka/pensieve-sac

RuixiaoZhang commented 2 years ago

SAC is implemented by myself. Details are in the file sac.py. Make sure you have downloaded all the files in sac branch https://github.com/godka/Pensieve-PPO/tree/SAC.