Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion deeplabcut/pose_estimation_pytorch/apis/analyze_videos.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ def analyze_videos(
model_cfg["device"] = device

if batch_size is None:
batch_size = cfg["batch_size"]
batch_size = cfg.get("batch_size", 1)

snapshot = get_model_snapshots(snapshot_index, train_folder, pose_task)[0]
print(f"Analyzing videos with {snapshot.path}")
Expand Down
1 change: 1 addition & 0 deletions deeplabcut/pose_estimation_pytorch/runners/inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
from __future__ import annotations

from abc import ABCMeta, abstractmethod
from collections import defaultdict
from pathlib import Path
from typing import Any, Generic, Iterable

Expand Down