Skip to content

GX77/Dual-Stream-Transformer-for-Generic-Event-Boundary-Captioning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Dual Stream Transformer for Generic Event Boundary Captioning

Prerequisites

  1. Clone this repository
git clone https://github.com/GX77/Dual-Stream-Transformer-for-Generic-Event-Boundary-Captioning.git
  1. Download Kinetic-GEBC Dataset

  2. Install dependencies

​ Python 3.7、PyTorch 1.1.0

Training and Inference

  1. Training
python3 train.py \
--dset_name kin \
--data_dir ${data_dir} \
--video_feature_dir ${v_feat_dir} \
--region_feature_dir ${r_feat_dir} \
--region_number ${r_n} \
--word2idx_path ${word2idx_path} \
  1. Inference
python3 translate.py

Others

This code used resources from the following projects: Transformers, Mart

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published