Views
No views yet
1conda create -n drl python=3.10
2conda activate drl
3python -m pip install -r requirements.txt1# load the full model
2model = load_from_hub(repo_id="winkin119/SAC-PendulumV1", filename="full_model.pt")
3
4# Create the environment.
5env = gym.make("Pendulum-v1")
6state, _ = env.reset()
7action = model.action(state)
8...