Comments (1)
Whilst going through your code in order to try and understand your results, I noticed that in your test code you do not use the resulting
keep
list from the soft_nms algorithm.However, if I correctly understand the algorithm, it seems that whenever a box score gets below a certain threshold (
0.001
by default), it gets removed from the list by swapping it with the last box from the list and decreasing the number of detections N.
At the end of the algorithm, they return a list with indices of valid detections to keep, but since you do not use it to filter the list, this results in some detections showing double, because the algorithm overwrites low scoring detections with another one.I quickly tested my hypothesis by modifying this line of code:
# Note that since keep is just a list of increasing numbers [0,1,2,3,...] # you could probable simplify this code by writing top_bboxes[j+1][:len(keep)] keep = soft_nms(top_bboxes[j + 1], Nt=nms_threshold, method=nms_algorithm) top_bboxes[j + 1] = top_bboxes[j+1][np.array(keep, dtype=np.int64)]I tested this code on a single image and it indeed gives a different result, which makes me believe that there seems to be something weird going on. I don't know whether this change makes the results better or worse, but if my analysis is correct, this seems to be a mistake nonetheless.
Hi,guys, I have some questions about the code in your question.and i want to ask you. can you give me your wechat number? Mine is 14704133471.
from cornernet-lite.
Related Issues (20)
- Using a data set with only one category, Loss dropped to 0.003, but when testing, ap = -1 HOT 1
- AttributeError: 'builtin_function_or_method' object has no attribute 'view' HOT 1
- ModuleNotFoundError: No module named 'core' HOT 3
- Has anyone use another backbone networks to test the performance?
- About "add downsampling lyaer before the hourglass module and remove one in hourglass modue" HOT 1
- train error
- When I testing my own data, occur No module named 'test.xxx'
- The network architecture of CornerNet-Saccade
- Can not create the envs on the first step, list many config package when created from file conda_packagelist.txt Please help me!! HOT 1
- some training issue HOT 1
- some questions about the structure of cornerNet-saccade HOT 1
- when run the demo.py, the program is stuck
- 0%| | 0/90000 [00:00<?, ?it/s]段错误(吐核)
- ImportError undefined symbol: _ZNSt19basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev HOT 1
- When I train the model on my own dataset, I met IndexError in cornernet_saccade.py HOT 1
- error while tarining on my new dataset which has same COCO format HOT 1
- A small running error
- About the software requirements HOT 1
- [W Resize.cpp:19] Warning: An output with one or more elements was resized since it had shape [16263], which does not match the required output shape [14926].This behavior is deprecated, and in a future PyTorch release outputs will not be resized unless they have zero elements. You can explicitly reuse an out tensor t by resizing it, inplace, to zero elements with t.resize_(0). (function resize_output) HOT 1
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 cornernet-lite.