Skip to content

Commit

Permalink
reenable training of robomimic_lowdim_policy
Browse files Browse the repository at this point in the history
  • Loading branch information
caio-freitas committed Mar 29, 2024
1 parent 1e746f5 commit 0862169
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions train.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ def train(cfg: DictConfig) -> None:
# evaluate every E epochs
for i in range(cfg.num_epochs // E):
# train policy
# policy.train(dataset=train_dataset,
# num_epochs=E,
# model_path=cfg.policy.ckpt_path,
# seed=cfg.seed)
policy.train(dataset=train_dataset,
num_epochs=E,
model_path=cfg.policy.ckpt_path,
seed=cfg.seed)
log.info(f"Calculating validation loss...")
val_loss = policy.validate(
dataset=val_dataset,
Expand Down

0 comments on commit 0862169

Please sign in to comment.