Giter VIP home page Giter VIP logo

3dcdc-nas's Introduction

AutoGesture with 3DCDC

Pytorch code for the TIP paper "Searching Multi-Rate and Multi-Modal Temporal Enhanced Networks for Gesture Recognition"

Welcome to plug and play 3DCDC in your networks

# -------- Vanilla ---------#
nn.Conv3d(3, 64, kernel_size=3, padding=1)

# -------- 3DCDC ---------#
from 3DCDC import CDC_ST, CDC_T, CDC_TR
CDC_ST(3, 64, kernel_size=3, padding=1, theta=0.6)
CDC_T(3, 64, kernel_size=3, padding=1, theta=0.6)
CDC_TR(3, 64, kernel_size=3, padding=1, theta=0.3)

Citation

If you find our project useful in your research, please consider citing:

@article{yu2021searching,
  title={Searching Multi-Rate and Multi-Modal Temporal Enhanced Networks for Gesture Recognition},
  author={Yu, Zitong and Zhou, Benjia and Wan, Jun and Wang, Pichao and Chen, Haoyu and Liu, Xin and Li, Stan Z and Zhao, Guoying},
  journal={IEEE Transactions on Image Processing (TIP)},
  year={2021}
}

Pretrained model on IsoGD

You can download the checkpoints from google drive

Visualization


Figure 1: The searched architecture from (a) the first stage NAS, and (b) the second stage NAS. The three rows in (a) represent the searched cell structure in the low, mid, and high frame branches, respectively.

Figure 2: Features visualization from C3D assembled with varied convolutions on the IsoGD dataset. With (a) RGB and (b) Depth modality inputs, the four rows represent the neural activation with 3D vanilla convolution, 3D-CDC-ST, 3D-CDC-T, and 3D-CDC-TR, respectively.

3dcdc-nas's People

Contributors

zitongyu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

3dcdc-nas's Issues

Wrong Input Shape

I just test this module and it throws an exception when I call summary with input shape (3, 96, 96) by the following statement

summary(model, input_size = (3, 96, 96))

class TestNet(nn.Module):
    def __init__(self):
        super(TestNet, self).__init__()
        self.cdc_3t = CDC_T(3, 32, kernel_size=3, padding=1, theta=0.6)

    def forward(self, x):
        x = self.cdc_3t(x)
        
        return x

RuntimeError: Given groups=1, weight of size [32, 3, 3, 3, 3], expected input[1, 2, 96, 96, 3] to have 3 channels, but got 2 channels instead

Seek for access to the annotation files of IsoGD dataset used in this paper

The annotation files of IsoGD dataset (for instance "rgb_train_lst.txt") used in this paper not found!
The official annotation file of IsoGD dataset has three columns and looks like this:

valid/001/M_00001.avi valid/001/K_00001.avi 109
valid/001/M_00002.avi valid/001/K_00002.avi 241
...

However, in your dataset parser codes like Videodatasets, it seems that the columns are different from official annotation file.

def get_data_list_and_label(data_df, typ):
      T = 0  # if typ == 'M' else 1
      return [(lambda arr: ('/'.join(arr[T].split('/')[1:]), int(arr[1]), int(arr[2])))(i[:-1].split(' '))
              for i in open(data_df).readlines()]

Would you like to share your annotation files or provide a detailed explanation.
Looking forward to your reply! Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.