Onuralp SEZER
a64a2fc243
fix(formatter): apply fixes from ruff and fix minor mypy and pep corrections
...
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com>
2024-08-23 19:45:38 +03:00
LinasKo
ceecb8bbd7
Cleanup: Remove print statements from tests
2024-06-05 15:42:00 +02:00
LinasKo
a5d4612402
Revert Detections.merge to 0.20.0, but filter out empty detections
2024-06-03 10:43:31 +02:00
Linas Kondrackis
530e1d01e1
Address comments
2024-05-27 16:17:27 +03:00
pre-commit-ci[bot]
db1b4737fe
fix(pre_commit): 🎨 auto format pre-commit hooks
2024-05-23 13:04:11 +00:00
Linas Kondrackis
6fbca8333e
Address review comments, simplify merge
...
* Reintroduced iou check before response - necessary for algorithm
2024-05-23 16:01:34 +03:00
Linas Kondrackis
c3b77d05c0
Rename, remove functions, unit-test & change `merge_object_detection_pair`
2024-05-14 17:13:33 +03:00
SkalskiP
a8c44cfaff
ready for merge
2024-05-10 15:36:44 +02:00
Linas Kondrackis
01f7eb5be6
Retain type info by not excluding empty detections
2024-05-09 18:19:51 +03:00
Linas Kondrackis
7bb94ce966
Detections.merge merges None and []
...
* Detections.merge is much friendlier now. If there's a None
or an empty array, it will merge it happily rather than
complaining that everything needs to be either None or [].
* Data merge follows suit.
2024-05-07 17:30:12 +03:00
Linas Kondrackis
fb49be8197
Tests for the new merge function
2024-05-07 16:09:05 +03:00
pre-commit-ci[bot]
e75e527925
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-12-29 17:24:37 +00:00
SkalskiP
5984d3374c
better `Detections.merge` validation
2023-12-29 18:24:24 +01:00
SkalskiP
099d36011d
better `Detections.merge` docs + more `Detections.merge` tests
2023-12-29 16:53:41 +01:00
SkalskiP
95e2ad6d52
refactor of `core.py`; moving utils to `utils.py`
2023-12-29 16:36:54 +01:00
SkalskiP
9be71da888
handle one more edge case in `Detections.merge` logic
2023-12-29 16:15:36 +01:00
pre-commit-ci[bot]
27eb823809
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-12-29 14:05:21 +00:00
SkalskiP
efed23f64e
`Detections.merge` updated and tested
2023-12-29 15:05:07 +01:00
SkalskiP
ea6439b8fd
`Detections.__eq__` updated and tested
2023-12-28 17:52:25 +01:00
pre-commit-ci[bot]
f2031d53d6
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-12-28 15:03:47 +00:00
SkalskiP
f3f545d893
simplifying `Detections.__eq__` method
2023-12-28 15:58:51 +01:00
SkalskiP
7750856c18
Fix method names and improve code formatting
...
Renamed methods to improve clarity. `get_anchor_coordinates` changed to `get_anchors_coordinates` and `calculate_centroids` changed to `calculate_masks_centroids`. Indentation for method arguments was adjusted in `core.py` and other files for better readability. Functionality remains the same, these changes are meant to improve code maintainability and readability.
2023-11-16 15:23:55 +01:00
SkalskiP
e416ef4c0e
Refactor import paths and improve text file reading
...
Refactored import paths for test utility methods across multiple test files to align with a recent package restructure. Enriched 'read_txt_file' functionality in 'file.py' allowing to optionally skip empty lines, enhancing flexibility for various use-cases. Added tests for the new 'read_txt_file' behavior in a new 'test_file.py'. Renamed 'utils.py' in test package to 'test_utils.py' for better differentiation from the util package in the source code.
2023-11-10 10:15:08 -08:00
pre-commit-ci[bot]
472ddd8d0e
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-09-21 11:35:41 +00:00
Onuralp SEZER
90b23430d2
Merge branch 'develop' into feature/redesigned_annotators
...
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com>
2023-09-21 14:35:24 +03:00
Onuralp SEZER
57e17c34a0
feat: 🚀 pre-commit and initial formatted files
...
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com>
2023-07-25 13:02:26 +03:00
SkalskiP
ba03fefbd8
🧹 💨 cleanup in progress
2023-07-23 20:39:12 +02:00
SkalskiP
4cd9f05fab
🧪 reformatted tests
2023-07-23 20:08:34 +02:00
hd
fc4bb27aa8
removing extra spacing
2023-07-21 12:54:44 +02:00
hd
ace6ce363f
Tests added for anchor fn
2023-07-21 12:54:19 +02:00
SkalskiP
a579ed46c6
ready for final tests
2023-06-28 13:36:10 +02:00
SkalskiP
97892e3138
⛏️ pick `Detections` by index
2023-06-05 11:01:14 +02:00
SkalskiP
feb08d10b2
➕ Add `Detections.merge` method
2023-05-04 09:30:48 +02:00
SkalskiP
78d267e169
🛠️ fix `core.py uses deprecated alias np.bool` #22 + tests
2023-02-12 22:54:54 +01:00