Closed mertalbaba closed 1 year ago
FYI problem is in def _get_log_policy_act_prob
function (Line 504 in imitation/algorithms/adversarial/common.py). This function takes torch tensor inputs, and forwards them to stable_baselines3 scale_action function, which expects numpy arrays, not tensors.
Thanks for the bug report. This is probably a duplicate of #655 we already have a fix for this in #660. Try checking out that PR as long as we did not merge it yet.
Fixed by #660
Bug description
While running the following code, this error occurs:
Steps to reproduce
I used the GAIL training code shared in your documentation in Humanoid-v3 environment. Code is written below:
Environment
pip freeze --all
: