Comments (4)
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.
Really thanks for your reply. This helps me a lot. I have sent you a email for code request.
from tadtr.
Is Soft-NMS beneficial for this query-based method?
How does it work?
from tadtr.
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:
- change the argument
nms_mode
from ['raw'] to ['raw', 'nms'] in line 115 ofengine.py
: - 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)
- How to evaluate the FLOPS? HOT 2
- Regarding the features HOT 1
- No training/inference code or weights HOT 1
- about anet feature HOT 3
- code releasing date HOT 4
- E2E-TAD code HOT 2
- How to generate th14_i3d2s_ft_info.json? HOT 2
- Request code for ActivityNet HOT 6
- train on my dataset with miatakes HOT 2
- Modification of focal loss for it to works with mix-up augmentation?
- Code bugs in calculating lossess? HOT 1
- Undeterministic results HOT 6
- Redundant computation of reference point
- About th14_i3d2s_ft_info.json
- Missing datasets
- Reproduction on ActivityNet1.3 Dataset
- Inference on single video
- Actionness Regression not working
- One question about the loss backward of temporal_deform_attn HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tadtr.