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