Minimal implementation of clipped objective Proximal Policy Optimization (PPO) in PyTorch
1.66k
stars
343
forks
source link
RuntimeError: Error(s) in loading state_dict for ActorCritic: Unexpected key(s) in state_dict: "affine.weight", "affine.bias". #27
Closed
nro-bot closed 4 years ago
Ran into error running
test.py
(after installing unmentioned dependency, box2d-py).Fix is to add
"strict=False"
to model loading.