Comments (5)
x1 must be lower than x2 and y1 must be lower than y2. I will fix it next release.
from weighted-boxes-fusion.
Coordinates for boxes expected to be normalized e.g in range [0; 1]. Order: x1, y1, x2, y2.
I will add warning on such cases.
from weighted-boxes-fusion.
@ZFTurbo no, it doesnt help!
wbf_boxes, wbf_scores, wbf_labels = ensemble_boxes.ensemble_boxes_wbf.weighted_boxes_fusion(
(np.array(boxes)/511).tolist(),
scores,
labels,
weights=None,
iou_thr=0.43,
skip_box_thr=0.44
)
wbf_boxes.shape
>>> (16, 4)
from weighted-boxes-fusion.
@ZFTurbo thank you! I will try it. I am looking forward to the new release :)
from weighted-boxes-fusion.
@ZFTurbo thank you! it works for me, I have used temporary "hardcode" (maybe it helps anyone):
def prepare_boxes(boxes):
result_boxes = boxes.copy()
result_boxes[:,0] = np.min(boxes[:, [0,2]], axis=1)
result_boxes[:,2] = np.max(boxes[:, [0,2]], axis=1)
result_boxes[:,1] = np.min(boxes[:, [1,3]], axis=1)
result_boxes[:,3] = np.max(boxes[:, [1,3]], axis=1)
return result_boxes
from weighted-boxes-fusion.
Related Issues (20)
- Incorrect conf_type='max' mode HOT 1
- Strange result if boxes are intersected inside one model HOT 2
- confidence score > 1 issue HOT 1
- Bbox is 'Nan' when weights have 0 HOT 4
- How to find the optimal hyper-parameters in the ensembling process HOT 6
- Can work with polygon object ? HOT 1
- Compatibility for Instance Segmentation HOT 1
- Building wheel for llvmlite ... error HOT 1
- How to use in Yolov5
- Implemetation on mobile phone HOT 4
- label list on SSD HOT 1
- run NMS on empty bounding box from one of ensembled models HOT 5
- Single instance NMS
- 2d bbox wbf compute result error
- Is WBF consider to be part of Ensemble Learning HOT 4
- Back propagation when multiple models are ensembled
- model fusion for rotating boxes
- Recall and Confusion matrix, also the confusion matrix, of the WBF HOT 5
- about map_boxes in run_benchmark_oid.py HOT 2
- AttributeError: module 'numpy' has no attribute 'str'
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 weighted-boxes-fusion.