OpenGVLab / InternVideo

[ECCV2024] Video Foundation Models & Data for Multimodal Understanding
Apache License 2.0
1.31k stars 85 forks source link

InternVideo1: Cannot load videos using petrel_client for Video-Text Retrieval task #118

Closed ruixuan-ray-zhang closed 4 months ago

ruixuan-ray-zhang commented 4 months ago

I have been trying to run zero-shot evaluation code wth main_task_retrieval on MSRVTT dataset. I found that in Video-Text-Retrieval/dataloaders/dataloader_msrvtt_retrieval.py line 16 from petrel_client.client import Client couldn't be executed and caused error in line 143 video_bytes = client.get(video_path, enable_stream=True) because now client = None.

I tried to install petrel_client but didn't find any resources online. How did you guys get the reproduction results? Thanks!

Andy1621 commented 4 months ago

You can simply remove it and read it by decord.

ruixuan-ray-zhang commented 4 months ago

Thanks for your reply! After I figured out it was just an image-loading function, I did exactly the same thing but forgot to close the issue. I am closing it now. Thank you again.