Commit Graph

3778 Commits

Author SHA1 Message Date
Marko Durkovic e88241074e Type message definition parsers 2022-04-11 10:46:12 +02:00
dependabot[bot] c2c113e5eb Bump actions/stale from 4 to 5 (#1927)
Bumps [actions/stale](https://github.com/actions/stale) from 4 to 5.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-11 10:25:41 +02:00
Marko Durkovic 19f0678645 Update lint 2022-04-11 00:07:53 +02:00
Marko Durkovic 7315a4ab4d Update dependencies 2022-04-10 23:47:10 +02:00
Marko Durkovic 24bea31f38 Update project settings 2022-04-10 23:33:44 +02:00
Marko Durkovic 946f2edb42 Update copyright headers 2022-04-10 23:32:25 +02:00
pre-commit-ci[bot] 8a372c340c [pre-commit.ci] pre-commit suggestions (#1924)
updates:
- [github.com/asottile/pyupgrade: v2.31.0 → v2.31.1](https://github.com/asottile/pyupgrade/compare/v2.31.0...v2.31.1)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-04-04 22:29:34 +02:00
dependabot[bot] 9f9e650bf8 Bump actions/cache from 2.1.7 to 3 (#1920)
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.7 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.7...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-28 10:37:53 +02:00
nine 784144aa29 Fixes deleting an image (cf. #822) (#861)
Co-authored-by: Erwin Nindl <erwin@nindl.net>
2022-03-27 10:04:09 -07:00
Glenn Jocher 7093a2b543 PyTorch 1.11.0 compatibility updates (#1914)
* PyTorch 1.11.0 compatibility updates

Resolves `AttributeError: 'Upsample' object has no attribute 'recompute_scale_factor'` first raised in https://github.com/ultralytics/yolov5/issues/5499 and observed in all CI runs on just-released PyTorch 1.11.0.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update experimental.py

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-03-10 12:59:47 +01:00
PTA00 0bc7a462d9 [tested]Fixed open file dialog cancel error. (#856)
* Fix

Error "IndexError: list index out of range"  occurs when there is no "predefined_classes.txt".

* Fix an error when default label is null.

Error "IndexError: list index out of range"  occurs when there is no "/data/predefined_classes.txt".

* Update README.rst

ADD: Package as a separate exe file method.

* Fixed an error after opening a file to cancel

The cause of the error:
QFileDialog.getOpenFileName(...) second parameter required cannot be empty.
2022-03-08 21:53:45 -08:00
dependabot[bot] b6f6b5b965 Bump actions/checkout from 2 to 3 (#1912)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-08 11:43:15 +01:00
dependabot[bot] e6507907f8 Bump actions/setup-python from 2 to 3 (#1911)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 3.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-08 11:42:59 +01:00
PTA00 9e4a4b711e Problems found while packaging as binaries.Has been tested. (#855)
* Fix

Error "IndexError: list index out of range"  occurs when there is no "predefined_classes.txt".

* Fix an error when default label is null.

Error "IndexError: list index out of range"  occurs when there is no "/data/predefined_classes.txt".

* Update README.rst

ADD: Package as a separate exe file method.
2022-03-07 22:56:10 -08:00
tzutalin 0f111e643a Change locale.getlocale() to locale.getdefaultlocale() 2022-03-07 17:54:53 -08:00
tzutalin dd6781656c update translations for zh-CN 2022-03-07 16:55:26 -08:00
tzutalin d685e50269 fix missing imports 2022-02-22 22:23:10 -08:00
Paul Anton Letnes ca3a3accdd remove unused import statements (#845)
To reduce clutter, all unused imports were removed. On the affected
files, imports were also reordered to be PEP8 sorted.
2022-02-17 11:18:21 -08:00
Glenn Jocher 0519223a62 Fix yolov3.yaml remove extra bracket (#1902)
* Fix yolov3.yaml remove extra bracket

Resolves https://github.com/ultralytics/yolov3/issues/1887#issuecomment-1041135181

* Update yolov3.yaml
2022-02-16 10:14:23 +01:00
Marko Durkovic f5d3494cbb Add common usage examples to docs 2022-02-11 14:31:06 +01:00
Marko Durkovic af4830c647 Adjust conversion documentation title 2022-01-31 12:01:37 +01:00
Aditya Kumar 276f40f5e5 Modified the default label text box into a drop down (#824)
* Modified the default label text box into a drop down

* Unchecked the box at startup

* Removed commented code

* Removed unnecessary update method for the combobox

* Changed naming style for class
2022-01-26 08:18:13 -08:00
Paul Anton Letnes c35efbd480 convert floating point values of zoom level to int (#840)
In some cases, arithmetic results (in particular from division) on zoom
levels return floats; however, the PyQt API requires int values to
function correctly. Therefore, explicit conversion to int or integer
division has been added for these cases.

A behavior bug causing sudden crashes was fixed. When a rectangular box
is dragged with the right mouse button, but the left mouse button is
touched prior to release of the right mouse button, the  program
crashed. The root cause seems to be that this deselects the dragged
object so it is no longer available (i.e. `self.canvas.selected_shape is
None`). The new behavior does nothing / cancels the operation if this
occurs.

Added a shortcut for switching file format (CTRL+Y) since I often use
this functionality.
2022-01-26 08:17:27 -08:00
Marko Durkovic 25520eab57 Release 0.9.9 2022-01-10 11:51:20 +01:00
Marko Durkovic 2eb3b1c671 Add conversion from rosbag2 to rosbag1 2022-01-09 20:31:51 +01:00
Marko Durkovic ac55fd2f4a Fix handling of padding after empty sequences 2022-01-06 20:35:58 +01:00
Marko Durkovic 8bf8994fbf Fix documentation code samples 2022-01-06 12:50:40 +01:00
pre-commit-ci[bot] 0f80f2f905 [pre-commit.ci] pre-commit suggestions (#1883)
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.0.1 → v4.1.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.0.1...v4.1.0)
- [github.com/asottile/pyupgrade: v2.23.1 → v2.31.0](https://github.com/asottile/pyupgrade/compare/v2.23.1...v2.31.0)
- [github.com/PyCQA/isort: 5.9.3 → 5.10.1](https://github.com/PyCQA/isort/compare/5.9.3...5.10.1)
- [github.com/PyCQA/flake8: 3.9.2 → 4.0.1](https://github.com/PyCQA/flake8/compare/3.9.2...4.0.1)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-01-03 10:33:15 -08:00
Sam.An 98e88371ad Fix opening next image error (#835)
* Fix draw annotations error

* Fix opening next image
2021-12-28 09:10:38 -08:00
Sam.An 5c38b6bcdd Fix draw annotations error (#833) 2021-12-27 19:05:21 -08:00
dependabot[bot] b1e13347dd Bump lxml from 4.6.3 to 4.6.5 in /requirements (#830)
Bumps [lxml](https://github.com/lxml/lxml) from 4.6.3 to 4.6.5.
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](https://github.com/lxml/lxml/compare/lxml-4.6.3...lxml-4.6.5)

---
updated-dependencies:
- dependency-name: lxml
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-26 21:04:23 -08:00
Stefan Breunig 9f2765e97b fix h_vertex being kept after deleting shape, causing a crash if used (#832)
Steps to reproduce this particular issue:

1. draw a box
2. select the box
3. hover over one of the corners as if you want to resize the box (no click needed)
4. press DEL to delete the box
5. left click on the canvas

Note there are two more destructive operations on the canvas' `shape` in
`undo_last_line` and `reset_all_lines`, but former is dead code and latter
I don't know how to trigger. Thus I can't be sure un-highlighting will not
lead to visual glitches.

There are other potential fixes, e.g. checking in `selected_vertex`. I can
rework the patch, but then again, the fix is so straight forward that telling
me is probably more effort than just rewriting it.

See #750
See #605
2021-12-26 20:48:39 -08:00
Glenn Jocher 9d0e1cf298 Update requirements.txt (#1869)
* Update requirements.txt

* Add wandb.errors.UsageError

* bug fix
2021-12-01 15:37:56 +01:00
dependabot[bot] c35400cffd Bump actions/cache from 2.1.6 to 2.1.7 (#1867)
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.6 to 2.1.7.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.6...v2.1.7)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-29 12:05:54 +01:00
Marko Durkovic c9bd6ebbc0 Release 0.9.8 2021-11-25 14:41:31 +01:00
Marko Durkovic 18983868c6 Support bool and float constants in msg files 2021-11-25 14:26:48 +01:00
Marko Durkovic 52480e2bad Type generics and missing return types 2021-11-25 14:26:17 +01:00
matlabbe f7c38f91d0 Fixed cmake error without torch 2021-11-20 14:58:15 -05:00
matlabbe 69e63e0778 0.6.4 2021-11-20 13:48:23 -05:00
matlabbe aba19e814a Fixed windows build 2021-11-20 18:40:18 -05:00
matlabbe b2677fdde0 Fixed wrong stamp republished (double precision issue, #48). Fixed region selection with SuperPoint. 2021-11-20 13:23:29 -05:00
HLiang 39ecb789a7 correct initial img_count (#817)
fixes issue https://github.com/tzutalin/labelImg/issues/816
2021-11-19 21:43:57 -08:00
Thinh Phan d4030a71af Update README.rst (#813)
Add "Annotation visualization"
2021-11-18 11:53:18 -08:00
Thinh Phan aa529c3d38 Update requirements-linux-python3.txt (#812)
Update version of pyqt5
2021-11-18 09:04:44 -08:00
Glenn Jocher b870de528e Update tutorial.ipynb (#1859) 2021-11-14 22:48:38 +01:00
Glenn Jocher 9577bb1d4a Created using Colaboratory 2021-11-14 22:43:14 +01:00
Glenn Jocher 93a2bcc760 Created using Colaboratory 2021-11-14 22:33:34 +01:00
Glenn Jocher 7eb23e3c1d YOLOv5 v6.0 compatibility update (#1857)
* Initial commit

* Initial commit

* Cleanup

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix precommit errors

* Remove TF builds from CI

* export last.pt

* Created using Colaboratory

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-11-14 22:22:59 +01:00
Marko Durkovic ac704bd890 Release 0.9.7 2021-11-09 12:34:39 +01:00
Marko Durkovic aaa9969856 Parse msg bounded fields and default values 2021-11-09 10:40:25 +01:00