Giter VIP home page Giter VIP logo

Comments (4)

xlliu7 avatar xlliu7 commented on September 24, 2024 1

Hi, thanks for your interest in our work. To reproduce our results with TSP features on ActivityNet, some parameters need to be modified. For example, num_queries should be 50, set_cost_class should be 2. Besides, several tricks (such as soft-NMS, using external video classification labels from CUHK's winning model at ActivityNet 2017) from BSN/BMN are required to boost performance.
I do plan to release the code for ActivityNet. But it might be one or two months later. If you need it recently, you can write an email to me for code request.

from tadtr.

yyccli avatar yyccli commented on September 24, 2024

Really thanks for your reply. This helps me a lot. I have sent you a email for code request.

from tadtr.

takfate avatar takfate commented on September 24, 2024

Is Soft-NMS beneficial for this query-based method?
How does it work?

from tadtr.

xlliu7 avatar xlliu7 commented on September 24, 2024

Hi @takfate, here is my response to your questions:
Soft-NMS is beneficial on ActivityNet but harmful on THUMOS14, and HACS, according to my experience. The code already includes the implementation of Soft-NMS. To enable that, you need to:

  1. change the argument nms_mode from ['raw'] to ['raw', 'nms'] in line 115 of engine.py:
  2. change line 151~156 of datasets/tad_eval.py to
if nms_mode == 'nms' and not (config.TEST_SLICE_OVERLAP > 0 and self.dataset_name == 'thumos14'):  
    # On THUMOS14, when config.TEST_SLICE_OVERLAP > 0, 
    # we only apply nms after all predictions have been collected
    dets = apply_nms(input_dets,
                     nms_thr=config.NMS_THR,
                     use_soft_nms=self.dataset_name in ['activitynet'])
else:
    sort_idx = input_dets[:, 2].argsort()[::-1]
    dets = input_dets[sort_idx, :]

from tadtr.

Related Issues (20)

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.