百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
E

Efficient-Prompt

> 编程语言
开源

推动视觉-语言模型,以高效地了解视频 陈菊,腾达汉,昆豪郑,雅章,魏地谢. ECCV 2022. [[pro

197 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

推动视觉-语言模型,以高效地了解视频 陈菊,腾达汉,昆豪郑,雅章,魏地谢. ECCV 2022. [[pro

Prompting Visual-Language Models for Efficient Video Understanding

Chen Ju, Tengda Han, Kunhao Zheng, Ya Zhang, Weidi Xie.  ECCV 2022.

[project page] [Arxiv] [Video]

Get Started on HMDB51 (More datasets will be available soon)

Environment

  • python >= 3.6.10
  • pytorch >= 1.7.1
  • tensorboardX
  • einops
  • tqdm

Data Preparation

  • Download the CLIP pre-trained features of HMDB51 from here.

    Unzip the features, and put them under the ./feat folder.

  • Download the pre-train model of HMDB51 from here, put it under the ./models folder.

    After the preparation work, the whole project should have the following structure:

    This folder
    ├── README.md
    │   ...     
    │                                
    ├── feat                                                     
    │   └── HMDB
    │       ├── #2_Gum_chew_h_nm_np1_fr_med_0.npy
    │       ├── #2_Gum_chew_h_nm_np1_fr_med_1.npy
    │       |   ...  
    │  
    ├── models                                    
    │   └── HMDB_best.pth.tar
    │   
    │  ... 

Training

python
cd ./src
python main.py -j 8 --prefix 16 --postfix 16 --tfm_layers 1 --tfm_heads 8 --dataset HMDB51-feature-30fps-center --temporal 1 --batchsize 64 --lr 1e-4 --featnorm 1 --verbose Temp --num_iterations 1100 --save_iterations 55

Evaluation

python
cd ./src
python main.py -j 8 --prefix 16 --postfix 16 --tfm_layers 1 --tfm_heads 8 --dataset HMDB51-feature-30fps-center --temporal 1 --batchsize 64 --lr 1e-4 --featnorm 1 --verbose Temp --test path_to_checkpoint

[Optional] Evaluating with Our Pre-trained Model

python
cd ./src
python main.py -j 8 --prefix 16 --postfix 16 --tfm_layers 1 --tfm_heads 8 --dataset HMDB51-feature-30fps-center --temporal 1 --batchsize 64 --lr 1e-4 --featnorm 1 --verbose Temp --test ../models/HMDB_best.pth.tar

Reference

@inproceedings{ju2022prompting,
  title={Prompting Visual-Language Models for Efficient Video Understanding}
  author={Chen Ju and Tengda Han and Kunhao Zheng and Ya Zhang and Weidi Xie},
  booktitle={European Conference on Computer Vision (ECCV)},
  year={2022}
}

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Python

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言