You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When compute_dynamics_loss is called in world_model.py, it is fed in an argument called preds returned from dyn_model.predict(). For z prediction, preds have keys z_dist and z_hat_probs and there is no key z.
When computing the dynamics loss, specifically the loss for z, the code checks for whether z is in the list of keys preds which it never is (because the keys are z_dist and z_hat_probs). For this reason the z_pred_loss is never computed & used for training.
When compute_dynamics_loss is called in world_model.py, it is fed in an argument called
preds
returned from dyn_model.predict(). Forz
prediction, preds have keysz_dist
andz_hat_probs
and there is no keyz
.When computing the dynamics loss, specifically the loss for
z
, the code checks for whetherz
is in the list of keyspreds
which it never is (because the keys arez_dist
andz_hat_probs
). For this reason thez_pred_loss
is never computed & used for training.A fix should be made here, something like :
The text was updated successfully, but these errors were encountered: