renjie-liang / TSGVZoo

Several methods was integrated into a single framework.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Several methods was integrated into a single framework.

Models Zoo

NOTE

There are many draft codes, we don't test the robustness. Especially the part of generating various labels in BaseDataset.py That easily produce bugs to decrease performance. Please test the consistency of label and vfeat length before traning.


Video Feature

Download the video feature from https://huggingface.co/datasets/k-nick/NLVL. We collect several version feature for Charades, ActivityNet, and Tacos. Then modify "paths" value within the ./config/anet/SeqPAN.yaml.

Quick Start

# train
CUDA_VISIBLE_DEVICES=0 python main.py --config ./config/charades/SeqPAN.yaml 
CUDA_VISIBLE_DEVICES=0 python main.py --config ./config/anet/VSLNet.yaml

# debug
CUDA_VISIBLE_DEVICES=0 python main.py --config ./config/charades/SeqPAN.yaml --debug

# test accuracy
CUDA_VISIBLE_DEVICES=0 python main.py --config ./config/charades/SeqPAN.yaml --mode test --checkpoint ./ckpt/charades/best_SeqPAN.pkl

# test efficiency
CUDA_VISIBLE_DEVICES=0 python main.py --config ./config/charades/SeqPAN.yaml --mode summary

About

Several methods was integrated into a single framework.


Languages

Language:Python 99.8%Language:Shell 0.2%