• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

fengyang0317/video_reloc: Code for "Video Re-localization" in ECCV 201 ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

fengyang0317/video_reloc

开源软件地址(OpenSource Url):

https://github.com/fengyang0317/video_reloc

开源编程语言(OpenSource Language):

Python 100.0%

开源软件介绍(OpenSource Introduction):

Video Re-localization

by Yang Feng, Lin Ma, Wei Liu, Tong Zhang, Jiebo Luo

Introduction

Video Re-localization aims to accurately localize a segment in a reference video such that the segment semantically corresponds to a query video. For more details, please refer to our paper.

alt text

Citation

@InProceedings{feng2018video,
  author = {Feng, Yang and Ma, Lin and Liu, Wei and Zhang, Tong and Luo, 
  Jiebo},
  title = {Video Re-localization},
  booktitle = {ECCV},
  year = {2018}
}

Requirements

sudo apt install python-opencv
pip install tensorflow-gpu==1.13.1

Dataset

  1. Download the ActivityNet features at link. You will get activitynet_v1-3.part-00 to activitynet_v1-3.part-05.

  2. Merge and unzip the files. You'll get sub_activitynet_v1-3.c3d.hdf5.

    cat activitynet_v1-3.part-0* > temp.zip
    unzip temp.zip
    
  3. Get the code and split the features.

    git clone https://github.com/fengyang0317/video_reloc.git
    cd video_reloc
    ln -s /path/to/sub_activitynet_v1-3.c3d.hdf5 data/
    python split_feat.py
    
  4. [Optional] Download the all the videos into data/videos and get the number of frames in each video.

    python get_frame_num.py
    
  5. Generate the dataset json.

    python create_dataset.py
    

Model

  1. Train the model.

    python match.py --data_dir data
    
  2. Eval the model. The results may be slightly different from the values reported in the paper.

    python eval.py --data_dir data --ckpt_path saving/model.ckpt-(best val ckpt)
    



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap