showlab / UniVTG

[ICCV2023] UniVTG: Towards Unified Video-Language Temporal Grounding

Home Page:https://arxiv.org/abs/2307.16715

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ModuleNotFoundError: No module named 'feature_extractor'

Xt117 opened this issue · comments

Hi, thanks for your share.
I ran your project but got the error "ModuleNotFoundError: No module named 'feature_extractor'". Would you please tell me how to get this module?

Hi, thanks for your interest and question, this is due to the wrong sub-dir name, I have corrected it.
replace from feature_extractor import clip, vid2clip, txt2clip as from run_on_video import clip, vid2clip, txt2clip
and add a __init__.py with from run_on_video.video_extractor import vid2clip, txt2clip under run_on_video
Please try it again.

@Xt117

I have updated the requirements as well as related codes, can you re-try it and let me know?

Thanks!