Skip to content

Commit d4754ec

Browse files
committed
Fixed bug
Signed-off-by: Seongwoo Kim <[email protected]>
1 parent dd36833 commit d4754ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

physical_ai_server/physical_ai_server/training/trainers/lerobot/lerobot_trainer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def train(self, cfg: TrainPipelineConfig, stop_event=None):
171171
if stop_event and stop_event.is_set():
172172
self.logger.info('Training stopped by stop event')
173173
break
174-
self.current_step = step
174+
self.current_step = step + 1
175175
start_time = time.perf_counter()
176176
batch = next(dl_iter)
177177
train_tracker.dataloading_s = time.perf_counter() - start_time

0 commit comments

Comments
 (0)