3260 Commits

Author SHA1 Message Date
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
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
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
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
Naelson Douglas C. Oliveira
e9dbbd80bc
removed a default mutable argument pitfall (#809) 2021-10-31 08:21:18 -07:00
tzutalin
1ab8241d0e bump version to 1.8.6 2021-10-11 13:15:19 -07:00
Tiger Nie
3f53dce960
display bbox width and height while resizing, moving and hovering over (#798)
shape.
2021-10-11 13:04:40 -07:00
tzutalin
7457d58249 update instruction to install with pipenv 2021-10-11 13:04:03 -07:00
Enzo Di Tizio
cc8fd5a703
Changing installation methods order (#796)
Just to put the easiest one first.
2021-10-03 11:25:56 -07:00
ngc92
58406b578a
adds a utility function to hide a QT5/QT4 discrepancy (#765)
Co-authored-by: erik <ersre>
2021-07-25 09:09:01 -07:00
Keito Tobichi
c5971bffab
Japanese Translation Fix. (#760)
* fix.

* small fix.

* translation fix.

* shortcut fix.
2021-07-17 20:45:26 -07:00
Keito Tobichi
250de4bef8
Add Locale: Japanese (#756)
* [wip]japanese translation file.

* [wip]fixed japanese translation.

* create README.jp.rst

* add locale ja-JP.

* Removed Locale Data.
2021-06-27 14:42:27 -07:00
dependabot[bot]
1be31704c9
Bump pip from 18.1 to 19.2 in /utils/google_app_engine (#1787)
Bumps [pip](https://github.com/pypa/pip) from 18.1 to 19.2.
- [Release notes](https://github.com/pypa/pip/releases)
- [Changelog](https://github.com/pypa/pip/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/pip/compare/18.1...19.2)

---
updated-dependencies:
- dependency-name: pip
  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-06-09 21:27:16 +02:00
Glenn Jocher
66e54d3d2c
Update stale.yml (#1784) 2021-06-06 18:50:08 +02:00
darrenl
d3e502439c
Update no-response.yml 2021-06-06 07:50:01 -07:00
Glenn Jocher
ab7ff9dd4c
Revert "cv2.imread(img, -1) for IMREAD_UNCHANGED" (#1778) 2021-05-31 10:40:13 +02:00
Glenn Jocher
044eb9142b
Update README.md (#1777) 2021-05-30 19:40:48 +02:00
Glenn Jocher
4d0c2e6eee YOLOv5 v5.0 release compatibility update for YOLOv3 2021-05-30 18:55:56 +02:00
Peretz Cohen
47ac6833ca
Add Open in Kaggle badge (#1773)
* Update tutorial.ipynb

add Open in Kaggle badge

* Update tutorial.ipynb

Open badge in same window

* add space between badges

* add space 2

* remove align left

Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2021-05-27 16:50:12 +02:00
Glenn Jocher
26cb451811
Update README.md (#1760) 2021-05-12 19:50:15 +02:00
Glenn Jocher
69eecec7be
Update https://ultralytics.com/images/zidane.jpg (#1759) 2021-05-12 18:40:32 +02:00
Glenn Jocher
11c554c31e Creado con Colaboratory 2021-05-12 18:38:37 +02:00
Glenn Jocher
af7b923bfa Created using Colaboratory 2021-05-12 14:28:11 +02:00
tzutalin
ff681f7054 Remove unused code and add short cut link 2021-05-11 09:39:28 -07:00
WEN Hao
91c23d0a9d
Use webbrowser instead of get_available_screencast_viewer (#745)
* improve opening tutorial

* improve show_tutorial_dialog

* improve show_tutorial_dialog

* remove not implemented

* remove unncessary package QtWebEngineWidgets

* remove commented import of QtWebEngineWidgets
2021-05-11 09:20:54 -07:00
tzutalin
c4e8cd8390 Add .github/no-response.yml 2021-05-01 08:14:54 -07:00
Denis
4bf5c4528c
Fix deletion of image caused selection of the first image (#742)
Also removed the call to self.import_dir_images method that reloaded all
of the images in directory.
2021-04-28 07:22:14 -07:00
Denis
6b5c3c634b
Implement image counter. (#734)
* Introduced two new attributes of MainWindow:
  cur_img_idx - Index of current image in m_img_list.
  img_count   - Length of m_img_list.

* Implement counter_str method to get string representation of counter.

* Appended counter to window title.

* Based image switching logic on counter instead of local variables.

* Removed useless condition.
  current_index = self.m_img_list.index(ustr(item.text()))
  if current_index < len(self.m_img_list):
  list.index will raise ValueError if item doesn't exist.
2021-04-26 22:18:56 -07:00
Glenn Jocher
331df67aac
Create FUNDING.yaml (#1743)
This should set up a "Sponsor" button on the repository to allow users and organizations to help with the development of YOLOv5 with financial contributions! 

I feel like 10 sponsors could really help fund Ultralytics' caffeine  addiction and get YOLOv5 🚀 developed and deployed faster than ever! 😃
2021-04-19 12:37:10 +02:00
Glenn Jocher
b9849003c8 Created using Colaboratory 2021-04-12 23:38:05 +02:00