leaderj1001 / action-localization Goto Github PK
View Code? Open in Web Editor NEWAction-Localization, Atomic Visual Actions (AVA) Dataset
License: MIT License
Action-Localization, Atomic Visual Actions (AVA) Dataset
License: MIT License
Hi,
I am having trouble understanding this part of the code.
if inds.numel() > 0: out_inds = torch.arange(inds[-1].item(), inds[-1].item() + inds.numel() // 1) cls_inside_weights[inds] = 1 cls_inside_weights[out_inds] = 1
As I understand this is to set the weights for the classification loss.
However, I do not understand the value of out_inds. Why is it an array of values from inds[-1].item(), inds[-1].item() + inds.numel()? This seems very arbitrary, I cannot understand the logic behind this
Is it ok to set the classification loss weights all to 1? such as
cls_inside_weights[:] = 1
?
Thank you!
Thank you a lot for your contribution. However, I find several pickle files used in 'Action-Localization-master/action-transformer/data/ava.py' confusing, such as 'ori_action_list.pkl' and 'fps_dict.pkl'. Can you show me how you created these files?
(1) Do I need to use "make_tubelet" files in "action-baseline" and "action-transformer" ?
(2) Where are the files used in "action-baseline" and "action-transformer" projects obtained? For example "ori_action_list.pkl", "fps_dict.pkl", and "Main/train.txt"?
when i set batch_size>1, it is wrong.
Hi,
Thanks very much for making your code available! I noticed a lot of of external files are also required which aren't made available, such as:
ava_train_v2.2.pkl
transformer_ava_train_v2.2.pkl
fps_dict.pkl
annotation/train.txt
ori_action_list.pkl
Will it be possible to share what these files contain and how we may obtain/recreate them! Thanks very much!
what's the project used for?
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.