Skip to content

videoMMMU.py failed to unzip the downloaded dataset #1398

@dkmenglie

Description

@dkmenglie

videoMMMY.py can download the dataset from Huggingface correctly. But it doesn't unzip them to video subfolder. Accordingly the benchmark will fail.

The root cause is in unzip_hf_zip()
target_dir = base_dir / 'videos'
target_dir.mkdir(exist_ok=True)

if not target_dir.exists():
# unzip logic...
else:
print('The video file already exists.')

The target_dir is always exists since mkdir(exist_ok=True). We should change next line to if target_dir.exists()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions