Skip to content

Commit 8fcc167

Browse files
xiu-csCopilot
andauthored
Update deeplabcut/pose_estimation_pytorch/runners/train.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 9b06f41 commit 8fcc167

File tree

1 file changed

+1
-1
lines changed
  • deeplabcut/pose_estimation_pytorch/runners

1 file changed

+1
-1
lines changed

deeplabcut/pose_estimation_pytorch/runners/train.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ def step(
439439
if mode == "train":
440440
self.optimizer.zero_grad()
441441

442-
inputs = batch["image"] # [B,3, 256, 256]
442+
inputs = batch["image"] # [batch_size, channels, height, width]
443443
inputs = inputs.to(self.device).float()
444444
if 'cond_keypoints' in batch['context']:
445445
cond_kpts = batch['context']['cond_keypoints']

0 commit comments

Comments
 (0)