Skip to content
Merged
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/generate_training_dataset/frame_extraction.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ def extract_frames(
print("Config file read successfully.")

if videos_list is None:
videos = cfg.get("video_sets_original") or cfg["video_sets"]
videos = list(cfg.get("video_sets_original") or cfg["video_sets"])
else: # filter video_list by the ones in the config file
videos = [v for v in cfg["video_sets"] if v in videos_list]

Expand Down