update real

This commit is contained in:
fan-ziqi 2025-03-03 16:46:08 +08:00
parent 05c38eedba
commit dc1a04cc3f
1 changed files with 1 additions and 2 deletions

View File

@ -231,8 +231,7 @@ torch::Tensor RL_Real::Forward()
{
this->history_obs_buf.insert(clamped_obs);
this->history_obs = this->history_obs_buf.get_obs_vec(this->params.observations_history);
// actions = this->model.forward({this->history_obs}).toTensor();
actions = this->model.forward({clamped_obs, history_obs.view({1, 10, 57})}).toTensor();
actions = this->model.forward({this->history_obs}).toTensor();
}
else
{