mirror of https://github.com/fan-ziqi/rl_sar.git
update real
This commit is contained in:
parent
05c38eedba
commit
dc1a04cc3f
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue