Skip to content

fix(dataset): join data_folder with video path in Qwen3VL iterable dataset#152

Merged
kcz358 merged 1 commit intomainfrom
fix/qwen3-vl-video-path-data-folder
Apr 9, 2026
Merged

fix(dataset): join data_folder with video path in Qwen3VL iterable dataset#152
kcz358 merged 1 commit intomainfrom
fix/qwen3-vl-video-path-data-folder

Conversation

@kcz358
Copy link
Copy Markdown
Collaborator

@kcz358 kcz358 commented Apr 9, 2026

Summary

  • Fix: Qwen3VLIterableDataset.load_videos() receives data_folder but never joins it with the relative video_path before passing to load_video_qwen_vl_utils(). This causes file:// URLs to use bare relative paths (e.g. file://academic_source/Charades/028CE.mp4) that fail to resolve.
  • Root cause: The overridden load_videos() in qwen3_vl_iterable_dataset.py skips the os.path.join(data_folder, video_path) step that the base mixin and the naive qwen3_vl_dataset.py both perform correctly.
  • Fix: Add the 2-line data_folder join at the top of load_videos(), consistent with every other dataset implementation.

…taset

load_videos() received data_folder but never joined it with the relative
video_path before passing to load_video_qwen_vl_utils(), causing
file:// URLs to use bare relative paths that fail to resolve.
@kcz358 kcz358 merged commit b77395c into main Apr 9, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant