From dc1a04cc3ff839f79a47c500f96c239970a014aa Mon Sep 17 00:00:00 2001 From: fan-ziqi Date: Mon, 3 Mar 2025 16:46:08 +0800 Subject: [PATCH] update real --- src/rl_sar/src/rl_real_l4w4.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/rl_sar/src/rl_real_l4w4.cpp b/src/rl_sar/src/rl_real_l4w4.cpp index a5663a1..8f451b5 100644 --- a/src/rl_sar/src/rl_real_l4w4.cpp +++ b/src/rl_sar/src/rl_real_l4w4.cpp @@ -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 {