1. 13 Oct, 2021 1 commit
  2. 26 Aug, 2021 1 commit
  3. 25 Aug, 2021 1 commit
  4. 24 Aug, 2021 1 commit
  5. 15 Aug, 2021 1 commit
  6. 14 Aug, 2021 3 commits
  7. 05 Aug, 2021 1 commit
  8. 02 Aug, 2021 3 commits
  9. 29 Jul, 2021 1 commit
  10. 28 Jul, 2021 1 commit
  11. 19 Jul, 2021 2 commits
  12. 18 Jul, 2021 1 commit
    • Glenn Jocher's avatar
      AutoShape PosixPath support (#4047) · 9dd33fd2
      Glenn Jocher authored
      * AutoShape PosixPath support
      
      Usage example:
      
      ````python
      from pathlib import Path
      
      model = ...
      file = Path('data/images/zidane.jpg')
      
      results = model(file)
      ```
      
      * Update common.py
      9dd33fd2
  13. 12 Jul, 2021 2 commits
  14. 07 Jul, 2021 1 commit
  15. 04 Jul, 2021 1 commit
  16. 02 Jul, 2021 1 commit
  17. 30 Jun, 2021 1 commit
  18. 29 Jun, 2021 1 commit
  19. 17 May, 2021 1 commit
  20. 16 May, 2021 1 commit
    • Yonghye Kwon's avatar
      rename class autoShape -> AutoShape (#3173) · be86c21c
      Yonghye Kwon authored
      * rename class autoShape -> AutoShape
      
      follow other class naming convention
      
      * rename class autoShape -> AutoShape
      
      follow other classes' naming convention
      
      * rename class autoShape -> AutoShape
      be86c21c
  21. 28 Apr, 2021 1 commit
  22. 20 Apr, 2021 1 commit
  23. 18 Apr, 2021 1 commit
    • Glenn Jocher's avatar
      PyTorch Hub cv2 .save() .show() bug fix (#2831) · c15e25c4
      Glenn Jocher authored
      * PyTorch Hub cv2 .save() .show() bug fix
      
      cv2.rectangle() was failing on non-contiguous np array inputs. This checks for contiguous arrays and applies is necessary:
      ```python
      imgs[i] = im if im.data.contiguous else np.ascontiguousarray(im)  # update
      ```
      
      * Update plots.py
      
      ```python
      assert im.data.contiguous, 'Image not contiguous. Apply np.ascontiguousarray(im) to plot_on_box() input image.'
      ```
      
      * Update hubconf.py
      
      Expand CI tests to OpenCV image.
      c15e25c4
  24. 09 Apr, 2021 2 commits
  25. 07 Apr, 2021 1 commit
    • Glenn Jocher's avatar
      Add Hub results.pandas() method (#2725) · c03d5903
      Glenn Jocher authored
      * Add Hub results.pandas() method
      
      New method converts results from torch tensors to pandas DataFrames with column names.
      
      This PR may partially resolve issue https://github.com/ultralytics/yolov5/issues/2703
      
      ```python
      results = model(imgs)
      
      print(results.pandas().xyxy[0])
               xmin        ymin        xmax        ymax  confidence  class    name
      0   57.068970  391.770599  241.383545  905.797852    0.868964      0  person
      1  667.661255  399.303589  810.000000  881.396667    0.851888      0  person
      2  222.878387  414.774231  343.804474  857.825073    0.838376      0  person
      3    4.205386  234.447678  803.739136  750.023376    0.658006      5     bus
      4    0.000000  550.596008   76.681190  878.669922    0.450596      0  person
      ```
      
      * Update comments 
      
      torch example input now shown resized to size=640 and also now a multiple of P6 stride 64 (see https://github.com/ultralytics/yolov5/issues/2722#issuecomment-814785930)
      
      * apply decorators
      
      * PEP8
      
      * Update common.py
      
      * pd.options.display.max_columns = 10
      
      * Update common.py
      c03d5903
  26. 06 Apr, 2021 1 commit
  27. 05 Apr, 2021 1 commit
  28. 02 Apr, 2021 2 commits
  29. 01 Apr, 2021 1 commit
  30. 28 Mar, 2021 1 commit
  31. 26 Mar, 2021 2 commits