pomonam / attentioncluster Goto Github PK
View Code? Open in Web Editor NEWTensorFlow Implementation of "Attention Clusters: Purely Attention Based Local Feature Integration for Video Classification".
License: Apache License 2.0
TensorFlow Implementation of "Attention Clusters: Purely Attention Based Local Feature Integration for Video Classification".
License: Apache License 2.0
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. :)
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!
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?
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
Hi,
I believe that the following line is unnecessary:
AttentionCluster/frame_level_models.py
Line 87 in 7dd11bc
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.