jadechoghari commited on
Commit
9e55186
·
verified ·
1 Parent(s): 5fa1544

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -76,7 +76,7 @@ to_idx = dataset.meta.episodes["dataset_to_index"][episode_index]
76
  frame_index = from_idx
77
  frame = dict(dataset[frame_index])
78
 
79
- batch = preprocess(sample)
80
  with torch.inference_mode():
81
  pred_action = policy.select_action(batch)
82
  # use your policy postprocess, this post process the action
 
76
  frame_index = from_idx
77
  frame = dict(dataset[frame_index])
78
 
79
+ batch = preprocess(frame)
80
  with torch.inference_mode():
81
  pred_action = policy.select_action(batch)
82
  # use your policy postprocess, this post process the action