Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Global Sequences and Local Tuples Alignment for Cross-Domain Few-Shot Action Recognition (GSLTA-CDFSAR)

Frame work of the paper

img.png This paper has been accepted by Knowledge Based Systems.(https://10.1016/j.knosys.2025.113041) This repo contains code for the method introduced in the paper: (https://github.com/cofly2014/GSLTA)

Splits

We used https://github.com/ffmpbgrnn/CMN for Kinetics and SSv2, which are provided by the authors of the authors of CMN(Zhu and Yang, ECCV 2018). We also used the split from OTAM (Cao et al. CVPR 2020) for SSv2, and splits from ARN (Zhang et al. ECCV 2020) for HMDB and UCF. These are all the in the splits folder.

For Diving48 and RareAct dataset, we use the split from CDFSL-V. The code is from here

Config

1. hyper-parematers of the models

lambdas = [1, 1, 0.1, 0.05, 0.05]

task_loss_total = lambdas[0] * superviesed_class_loss + lambdas[1] * meta_target_loss + lambdas[2] * reconstruct_distance_loss + lambdas[3] * self_loss + lambdas[4] * cross_loss

Please note that our hyperparameter tuning may not be optimal.

2. other config

name we use means
seq_len 8 Frame number per video
sub_seq_len 4 Frame number of subsequence
sub_seq_num 10 the number of subsequence of a full sequence
class_num according to
the source domain
Category number of the source domain

The trained models and results of GSLTA.

This table is a reproduction. There are slight deviations between the data results and those published in the article, with the precision being either higher or lower. It may be updated in the future.

We use the Kinetics as the source Domain

target domain accuracy model
diving48 44.76% near 14500 episode https://pan.baidu.com/s/1OE8roh8sgH0nDlVpVuTwYQ?pwd=4tnh
rareAct 53.4% near 12000 episode https://pan.baidu.com/s/1sRX5AZZm-VhyvwzWkqPWdA?pwd=5xrr
SSv2 32% please wait...
HMDB51 54.06% near 13500 episode https://pan.baidu.com/s/1Y4ST8Raa0PGZ_vgwvqYSHg?pwd=hbdv
UCF101 81.6% near 20000 episode https://pan.baidu.com/s/1IvdoxSl3W_BUAIir8MRTag?pwd=pixe

img.png img.png img.png img.png

Acknowledgements

We took inspiration from the Revisiting Prototypical Network for Cross Domain Few-Shot Learning and Deep Reconstruction-Classification Networks for Unsupervised Domain Adaptation

Please Note

(1)

In our code, we compute the self_loss_l2g, self_loss_g2l, also the cross_loss_l2g and self_loss_g2l, But we just the self_loss_l2g and cross_loss_l2g, this is consistent with our paper.

(2)

SFME_note.png

is mapping to the code

SFME.png

(3)

If you want to reproduce the results, please download the video according to the video ID in the split.

About

This is a work for cross-domain few-shot action recognition.

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages