* 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>
* 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.
* 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.
* 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
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.
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
* 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>
* 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>