Giter Club home page Giter Club logo

attentioncluster's People

Contributors

pomonam 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

Watchers

 avatar  avatar

attentioncluster's Issues

Train on other video datasets

Hi,

Thanks a lot for your code! Could you provide some general guidelines on how extracted video/audio features from any dataset should be prepared to train the frame-level AttentionClusterModule? Thanks. :)

Is there only one attention map for a single modality?

Hello Juhan Bae,

This repo for Attention Cluster is nice, after reading the corresponding paper I have a question about the number of clusters. It seems that you implement the attention cluster with only one attention map for each modality, while in the official paper there are many clusters(many attention maps) for each modality (rgb & audio), so maybe a loop should be introduced in class AttentionClusterModel() in frame_level_model.py ? :- )

Best wishes,
Skye

Redundant normalisation

Hi,

I believe that the following line is unnecessary:

transformed_activation = tf.nn.l2_normalize(transformed_activation, 1)

Maybe L101 is unnecessary as well. In my understanding, the paper proposes normalisation only right after the shifting operation. So, I believe that only the normalisation in L99 is useful.

I can understand the normalisation in L101 as is common to normalise the whole vector and not only within the cluster (similarly to VLAD), but L87 seems pretty redundant.

Let me know what you think. Thanks.

Questions about this paper.

The article mentions that "when we train the model, we can randomly sample a part of the features from the local feature set, but use all the features during testing." Why can we use only a part of the features for training, but use all the features during testing?

Thank you!

there is an audio feature issue

I run your code and download dataset from kaggle manually but I got this error :

tensorflow.python.framework.errors_impl.InvalidArgumentError: Name: , Feature list 'audio' is required but could not be found.  Did you mean to include it in feature_list_dense_missing_assumed_empty or feature_list_dense_defaults?
	 [[{{node train_input/ParseSingleSequenceExample_1/ParseSingleSequenceExample}}]]

How can I fix this issue?

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.