Code Monkey home page Code Monkey logo

action-localization's People

Contributors

leaderj1001 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

Watchers

 avatar  avatar

action-localization's Issues

How is classification weights determined? I am confused by the code, thanks!

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

https://github.com/leaderj1001/Action-Localization/blob/master/action-transformer/nets/proposal_target_layer.py#L67

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!

files used in ava.py

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?

some small questions

(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"?

Files required for action transformer to work

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!

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.