Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Neuralmagic-YoloV5 integration to v6.1 #29

Merged
merged 763 commits into from
Apr 8, 2022
Merged
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Nov 30, 2021

  1. Fix TensorRT potential unordered binding addresses (ultralytics#5826)

    * feat: change file suffix in pythonic way
    
    * fix: enforce binding addresses order
    
    * fix: enforce binding addresses order
    imyhxy authored Nov 30, 2021
    Configuration menu
    Copy the full SHA
    a4207a2 View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2021

  1. Handle non-TTY wandb.errors.UsageError (ultralytics#5839)

    * `try: except (..., wandb.errors.UsageError)`
    
    * bug fix
    glenn-jocher authored Dec 1, 2021
    Configuration menu
    Copy the full SHA
    bc48457 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2021

  1. Avoid inplace modifyingimgs in LoadStreams (ultralytics#5850)

    When OpenCV retrieving image fail, original code would modify source images **inplace**, which may result in plotting bounding boxes on a black image. That is, before inference, source image `im0s[i]` is OK, but after inference before `Process predictions`,  `im0s[i]` may have been changed.
    passerbythesun authored Dec 2, 2021
    Configuration menu
    Copy the full SHA
    e8f8f2b View commit details
    Browse the repository at this point in the history
  2. Update LoadImages ret_val=False handling (ultralytics#5852)

    Video errors may occur.
    gmt710 authored Dec 2, 2021
    Configuration menu
    Copy the full SHA
    1679aac View commit details
    Browse the repository at this point in the history
  3. Update val.py (ultralytics#5838)

    * Update val.py
    
    Solving Non-ASCII character '\xf0' error during runtime
    
    * Update val.py
    
    Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
    pradeep-vishnu and glenn-jocher authored Dec 2, 2021
    Configuration menu
    Copy the full SHA
    30db14f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    00e308f View commit details
    Browse the repository at this point in the history
  5. Add --workers 8 argument to val.py (ultralytics#5857)

    * Update val.py
    
    Add an option to choose number of workers if not called by train.py
    
    * Update comment
    
    * 120 char line width
    
    Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
    iumyx2612 and glenn-jocher authored Dec 2, 2021
    Configuration menu
    Copy the full SHA
    92a7391 View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2021

  1. Update plot_lr_scheduler() (ultralytics#5864)

    shallow copy modify originals
    daikankan authored Dec 3, 2021
    Configuration menu
    Copy the full SHA
    360eec6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d885799 View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2021

  1. AutoShape() models as DetectMultiBackend() instances (ultralytics…

    …#5845)
    
    * Update AutoShape()
    
    * autodownload ONNX
    
    * Cleanup
    
    * Finish updates
    
    * Add Usage
    
    * Update
    
    * Update
    
    * Update
    
    * Update
    
    * Update
    
    * Update
    
    * Update
    
    * Update
    
    * Update
    
    * Update
    
    * Update
    
    * Update
    
    * Update
    
    * Update
    
    * Update
    
    * Update
    
    * Update
    
    * fix device
    
    * Update hubconf.py
    
    * Update common.py
    
    * smart param selection
    
    * autodownload all formats
    
    * autopad only pytorch models
    
    * new_shape edits
    
    * stride tensor fix
    
    * Cleanup
    glenn-jocher authored Dec 4, 2021
    Configuration menu
    Copy the full SHA
    7bf04d9 View commit details
    Browse the repository at this point in the history
  2. Single-command multiple-model export (ultralytics#5882)

    * Export multiple models in series
    
    Export multiple models in series by adding additional `*.pt` files to the `--weights` argument, i.e.:
    
    ```bash
    python export.py --include tflite --weights yolov5n.pt  # export 1 model
    python export.py --include tflite --weights yolov5n.pt yolov5s.pt yolov5m.pt yolov5l.pt yolov5x.pt  # export 5 models
    ```
    
    * Update export.py
    
    * Update README.md
    glenn-jocher authored Dec 4, 2021
    Configuration menu
    Copy the full SHA
    1075488 View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2021

  1. Detections().tolist() explicit argument fix (ultralytics#5907)

    debugged for missigned Detections attributes
    lizeng614 authored Dec 7, 2021
    Configuration menu
    Copy the full SHA
    fa05f8c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3f152e5 View commit details
    Browse the repository at this point in the history
  3. Add *.engine (TensorRT extensions) to .gitignore (ultralytics#5911)

    * Add *.engine (TensorRT extensions) to .gitignore
    
    * Update .dockerignore
    
    Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
    greg2451 and glenn-jocher authored Dec 7, 2021
    Configuration menu
    Copy the full SHA
    554f782 View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2021

  1. Add ONNX inference providers (ultralytics#5918)

    * Add ONNX inference providers
    
    Fix for ultralytics#5916
    
    * Update common.py
    glenn-jocher authored Dec 8, 2021
    Configuration menu
    Copy the full SHA
    581dc30 View commit details
    Browse the repository at this point in the history
  2. Add hardware checks to notebook_init() (ultralytics#5919)

    * Update notebook
    
    * Update notebook
    
    * update string
    
    * update string
    
    * Updates
    
    * Updates
    
    * Updates
    
    * check both ipython and psutil
    
    * remove sample_data if is_colab
    
    * cleanup
    
    * [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>
    glenn-jocher and pre-commit-ci[bot] authored Dec 8, 2021
    Configuration menu
    Copy the full SHA
    7d56d45 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a3d5f1d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c77a5a8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5bdb28e View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2021

  1. Configuration menu
    Copy the full SHA
    4fb6dd4 View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2021

  1. Make select_device() robust to batch_size=-1 (ultralytics#5940)

    * Find out a bug. When set batch_size = -1 to use the autobatch.
    
    reproduce:
    
    * Fix type conflict
    
    Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
    youyuxiansen and glenn-jocher authored Dec 10, 2021
    Configuration menu
    Copy the full SHA
    c45f9f6 View commit details
    Browse the repository at this point in the history
  2. fix .gitignore not tracking existing folders (ultralytics#5946)

    * fix .gitignore not tracking existing folders
    
    fix .gitignore so that the files that are in the repository are actually being tracked.
    
    Everything in the data/ folder is ignored, which also means the subdirectories are ignored. Fix so that the subdirectories and their contents are still tracked.
    
    * Remove data/trainings
    
    Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
    pasmai and glenn-jocher authored Dec 10, 2021
    Configuration menu
    Copy the full SHA
    922fbd8 View commit details
    Browse the repository at this point in the history
  3. Update strip_optimizer() (ultralytics#5949)

    Replace 'training_result' with 'best_fitness' in strip_optimizer() to match key with ckpt from train.py
    iumyx2612 authored Dec 10, 2021
    Configuration menu
    Copy the full SHA
    a42af30 View commit details
    Browse the repository at this point in the history
  4. Add nms and agnostic nms to export.py (ultralytics#5938)

    * add nms and agnostic nms to export.py
    
    * fix agnostic implies nms
    
    * reorder args to group TF args
    
    * PEP8 120 char
    
    Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
    d57montes and glenn-jocher authored Dec 10, 2021
    Configuration menu
    Copy the full SHA
    2c63175 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2021

  1. Configuration menu
    Copy the full SHA
    8f875d9 View commit details
    Browse the repository at this point in the history
  2. Fix Detections class tolist() method (ultralytics#5945)

    * Fix tolist() to add the file for each Detection
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Fix PEP8 requirement for 2 spaces before an inline comment
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Cleanup
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
    3 people authored Dec 11, 2021
    Configuration menu
    Copy the full SHA
    8f35436 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2021

  1. Fix imgsz bug (ultralytics#5948)

    * fix imgsz bug
    
    * Update detect.py
    
    Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
    d57montes and glenn-jocher authored Dec 12, 2021
    Configuration menu
    Copy the full SHA
    19c56e6 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2021

  1. pretrained=False fix (ultralytics#5966)

    * `pretriained=False` fix
    
    Fix for ultralytics#5964
    
    * CI speed improvement
    glenn-jocher authored Dec 13, 2021
    Configuration menu
    Copy the full SHA
    e8ef8fb View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2021

  1. make parameter ignore epochs (ultralytics#5972)

    * make parameter ignore epochs
    
    ignore epochs functionality add to prevent spikes at the beginning when fitness spikes and decreases after.
    Discussed at ultralytics#5971
    
    * Update train.py
    
    Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
    jinmc and glenn-jocher authored Dec 14, 2021
    Configuration menu
    Copy the full SHA
    2d0c6af View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d699c21 View commit details
    Browse the repository at this point in the history
  3. Update callbacks.py with __init__() (ultralytics#5979)

    Add __init__() function.
    glenn-jocher authored Dec 14, 2021
    Configuration menu
    Copy the full SHA
    c9a46a6 View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2021

  1. Increase ar_thr from 20 to 100 for better detection on slender (hig…

    …h aspect ratio) objects (ultralytics#5556)
    
    * Making `ar_thr` available as a hyperparameter
    
    * Disabling ar_thr as hyperparameter and computing from the dataset instead
    
    * Fixing bug in ar_thr computation
    
    * Fix `ar_thr` to 100
    MrinalJain17 authored Dec 15, 2021
    Configuration menu
    Copy the full SHA
    b7d18f3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    da9a1b7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    628817d View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2021

  1. Configuration menu
    Copy the full SHA
    c1249a4 View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2021

  1. Check TensorRT>=8.0.0 version (ultralytics#6021)

    * Check TensorRT>=8.0.0 version
    
    * [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>
    glenn-jocher and pre-commit-ci[bot] authored Dec 17, 2021
    Configuration menu
    Copy the full SHA
    407a905 View commit details
    Browse the repository at this point in the history
  2. Multi-layer capable --freeze argument (ultralytics#6019)

    * support specfiy multiple frozen layers
    
    * fix bug
    
    * Cleanup Freeze section
    
    * Cleanup argument
    
    Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
    youyuxiansen and glenn-jocher authored Dec 17, 2021
    Configuration menu
    Copy the full SHA
    361705d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    abbdd48 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2021

  1. Configuration menu
    Copy the full SHA
    26f0415 View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2021

  1. Configuration menu
    Copy the full SHA
    0db9d5b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b8a4bab View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dc54ed5 View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2021

  1. OpenVINO Export (ultralytics#6057)

    * OpenVINO export
    
    * Remove timeout
    
    * Add 3 files
    
    * str
    
    * Constrain opset to 12
    
    * Default ONNX opset to 12
    
    * Make dir
    
    * Make dir
    
    * Cleanup
    
    * Cleanup
    
    * check_requirements(('openvino-dev',))
    glenn-jocher authored Dec 22, 2021
    Configuration menu
    Copy the full SHA
    95c7bc2 View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2021

  1. Reduce G/D/CIoU logic operations (ultralytics#6074)

    Consider that the default value is CIOU,adjust the order of judgment could reduce the number of judgments.
    And “elif CIoU:” didn't need 'if'.
    
    Co-authored-by: 李杰 <360751194@qq.comqq.com>
    jedi007 and 李杰 authored Dec 23, 2021
    Configuration menu
    Copy the full SHA
    afa5cfb View commit details
    Browse the repository at this point in the history
  2. Init tensor directly on device (ultralytics#6068)

    Slightly more efficient than .to(device)
    deepsworld authored Dec 23, 2021
    Configuration menu
    Copy the full SHA
    c72270c View commit details
    Browse the repository at this point in the history
  3. W&B: track batch size after autobatch (ultralytics#6039)

    * track batch size after autobatch
    
    * remove redundant import
    
    * Update __init__.py
    
    * Update __init__.py
    
    Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
    AyushExel and glenn-jocher authored Dec 23, 2021
    Configuration menu
    Copy the full SHA
    db6ec66 View commit details
    Browse the repository at this point in the history

Commits on Dec 30, 2021

  1. W&B: Log best results after training ends (ultralytics#6120)

    * log best.pt metrics at train end
    
    * update
    
    * Update __init__.py
    
    Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
    AyushExel and glenn-jocher authored Dec 30, 2021
    Configuration menu
    Copy the full SHA
    9155eb8 View commit details
    Browse the repository at this point in the history
  2. Log best results (ultralytics#6085)

    * log best result in summary
    
    * comment added
    
    * add space for `flake8`
    
    * log `best/epoch`
    
    * fix `dimension` for epoch
    
    ValueError: all the input arrays must have same number of dimensions
    
    * log `best/` in `utils.logger.__init__`
    
    * fix pre-commit
    
    1. missing whitespace around operator
    2.  over-indented
    awsaf49 authored Dec 30, 2021
    Configuration menu
    Copy the full SHA
    7b6938d View commit details
    Browse the repository at this point in the history
  3. Refactor/reduce G/C/D/IoU if: else statements (ultralytics#6087)

    * Refactor the code to reduece else
    
    * Update metrics.py
    
    * Cleanup
    
    Co-authored-by: Cmos <gen.chen@ubisoft.com>
    Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
    3 people authored Dec 30, 2021
    Configuration menu
    Copy the full SHA
    affa284 View commit details
    Browse the repository at this point in the history

Commits on Dec 31, 2021

  1. Add EdgeTPU support (ultralytics#3630)

    * Add models/tf.py for TensorFlow and TFLite export
    
    * Set auto=False for int8 calibration
    
    * Update requirements.txt for TensorFlow and TFLite export
    
    * Read anchors directly from PyTorch weights
    
    * Add --tf-nms to append NMS in TensorFlow SavedModel and GraphDef export
    
    * Remove check_anchor_order, check_file, set_logging from import
    
    * Reformat code and optimize imports
    
    * Autodownload model and check cfg
    
    * update --source path, img-size to 320, single output
    
    * Adjust representative_dataset
    
    * Put representative dataset in tfl_int8 block
    
    * detect.py TF inference
    
    * weights to string
    
    * weights to string
    
    * cleanup tf.py
    
    * Add --dynamic-batch-size
    
    * Add xywh normalization to reduce calibration error
    
    * Update requirements.txt
    
    TensorFlow 2.3.1 -> 2.4.0 to avoid int8 quantization error
    
    * Fix imports
    
    Move C3 from models.experimental to models.common
    
    * Add models/tf.py for TensorFlow and TFLite export
    
    * Set auto=False for int8 calibration
    
    * Update requirements.txt for TensorFlow and TFLite export
    
    * Read anchors directly from PyTorch weights
    
    * Add --tf-nms to append NMS in TensorFlow SavedModel and GraphDef export
    
    * Remove check_anchor_order, check_file, set_logging from import
    
    * Reformat code and optimize imports
    
    * Autodownload model and check cfg
    
    * update --source path, img-size to 320, single output
    
    * Adjust representative_dataset
    
    * detect.py TF inference
    
    * Put representative dataset in tfl_int8 block
    
    * weights to string
    
    * weights to string
    
    * cleanup tf.py
    
    * Add --dynamic-batch-size
    
    * Add xywh normalization to reduce calibration error
    
    * Update requirements.txt
    
    TensorFlow 2.3.1 -> 2.4.0 to avoid int8 quantization error
    
    * Fix imports
    
    Move C3 from models.experimental to models.common
    
    * implement C3() and SiLU()
    
    * Add TensorFlow and TFLite Detection
    
    * Add --tfl-detect for TFLite Detection
    
    * Add int8 quantized TFLite inference in detect.py
    
    * Add --edgetpu for Edge TPU detection
    
    * Fix --img-size to add rectangle TensorFlow and TFLite input
    
    * Add --no-tf-nms to detect objects using models combined with TensorFlow NMS
    
    * Fix --img-size list type input
    
    * Update README.md
    
    * Add Android project for TFLite inference
    
    * Upgrade TensorFlow v2.3.1 -> v2.4.0
    
    * Disable normalization of xywh
    
    * Rewrite names init in detect.py
    
    * Change input resolution 640 -> 320 on Android
    
    * Disable NNAPI
    
    * Update README.me --img 640 -> 320
    
    * Update README.me for Edge TPU
    
    * Update README.md
    
    * Fix reshape dim to support dynamic batching
    
    * Fix reshape dim to support dynamic batching
    
    * Add epsilon argument in tf_BN, which is different between TF and PT
    
    * Set stride to None if not using PyTorch, and do not warmup without PyTorch
    
    * Add list support in check_img_size()
    
    * Add list input support in detect.py
    
    * sys.path.append('./') to run from yolov5/
    
    * Add int8 quantization support for TensorFlow 2.5
    
    * Add get_coco128.sh
    
    * Remove --no-tfl-detect in models/tf.py (Use tf-android-tfl-detect branch for EdgeTPU)
    
    * Update requirements.txt
    
    * Replace torch.load() with attempt_load()
    
    * Update requirements.txt
    
    * Add --tf-raw-resize to set half_pixel_centers=False
    
    * Remove android directory
    
    * Update README.md
    
    * Update README.md
    
    * Add multiple OS support for EdgeTPU detection
    
    * Fix export and detect
    
    * Export 3 YOLO heads with Edge TPU models
    
    * Remove xywh denormalization with Edge TPU models in detect.py
    
    * Fix saved_model and pb detect error
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Fix pre-commit.ci failure
    
    * Add edgetpu in export.py docstring
    
    * Fix Edge TPU model detection exported by TF 2.7
    
    * Add class names for TF/TFLite in DetectMultibackend
    
    * Fix assignment with nl in TFLite Detection
    
    * Add check when getting Edge TPU compiler version
    
    * Add UTF-8 encoding in opening --data file for Windows
    
    * Remove redundant TensorFlow import
    
    * Add Edge TPU in export.py's docstring
    
    * Add the detect layer in Edge TPU model conversion
    
    * Default `dnn=False`
    
    * Cleanup data.yaml loading
    
    * Update detect.py
    
    * Update val.py
    
    * Comments and generalize data.yaml names
    
    Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
    Co-authored-by: unknown <fangjiacong@ut.cn>
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    4 people authored Dec 31, 2021
    Configuration menu
    Copy the full SHA
    d95978a View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2022

  1. Configuration menu
    Copy the full SHA
    e1dc894 View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2022

  1. Update export format docstrings (ultralytics#6151)

    * Update export documentation
    
    * Cleanup
    
    * Update export.py
    
    * Update README.md
    
    * Update README.md
    
    * Update README.md
    
    * Update README.md
    
    * Update README.md
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update README.md
    
    * Update README.md
    
    * Update README.md
    
    * Update train.py
    
    * Update train.py
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    glenn-jocher and pre-commit-ci[bot] authored Jan 3, 2022
    Configuration menu
    Copy the full SHA
    ec4b6dd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    968e300 View commit details
    Browse the repository at this point in the history
  3. [pre-commit.ci] pre-commit suggestions (ultralytics#6177)

    updates:
    - [github.com/pre-commit/pre-commit-hooks: v4.0.1 → v4.1.0](pre-commit/pre-commit-hooks@v4.0.1...v4.1.0)
    - [github.com/asottile/pyupgrade: v2.23.1 → v2.31.0](asottile/pyupgrade@v2.23.1...v2.31.0)
    - [github.com/PyCQA/isort: 5.9.3 → 5.10.1](PyCQA/isort@5.9.3...5.10.1)
    - [github.com/PyCQA/flake8: 3.9.2 → 4.0.1](PyCQA/flake8@3.9.2...4.0.1)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Jan 3, 2022
    Configuration menu
    Copy the full SHA
    5344e54 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b4a29b5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    63a4d86 View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2022

  1. Configuration menu
    Copy the full SHA
    7cad659 View commit details
    Browse the repository at this point in the history
  2. Global export format sort (ultralytics#6182)

    * Global export sort
    
    * Cleanup
    glenn-jocher authored Jan 4, 2022
    Configuration menu
    Copy the full SHA
    5bd6a97 View commit details
    Browse the repository at this point in the history
  3. Fix TorchScript on mobile export (ultralytics#6183)

    * fix export of TorchScript on mobile
    
    * Cleanup
    
    Co-authored-by: yinrong <yinrong@xiaomi.com>
    Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
    3 people authored Jan 4, 2022
    Configuration menu
    Copy the full SHA
    fb83929 View commit details
    Browse the repository at this point in the history
  4. TensorRT 7 anchor_grid compatibility fix (ultralytics#6185)

    * fix: TensorRT 7 incompatiable
    
    * Add comment
    
    * Add if: else and comment
    
    Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
    imyhxy and glenn-jocher authored Jan 4, 2022
    Configuration menu
    Copy the full SHA
    a2f4a17 View commit details
    Browse the repository at this point in the history
  5. Add tensorrt>=7.0.0 checks (ultralytics#6193)

    * Add `tensorrt>=7.0.0` checks
    
    * Update export.py
    
    * Update common.py
    
    * Update export.py
    glenn-jocher authored Jan 4, 2022
    Configuration menu
    Copy the full SHA
    7b31a53 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2022

  1. Add CoreML inference (ultralytics#6195)

    * Add Apple CoreML inference
    
    * Cleanup
    glenn-jocher authored Jan 5, 2022
    Configuration menu
    Copy the full SHA
    b5b56a3 View commit details
    Browse the repository at this point in the history
  2. Fix nan-robust stream FPS (ultralytics#6198)

    Fix for Webcam stop working suddenly (Issue ultralytics#6197)
    glenn-jocher authored Jan 5, 2022
    Configuration menu
    Copy the full SHA
    9e9219f View commit details
    Browse the repository at this point in the history
  3. Edge TPU compiler comment (ultralytics#6196)

    * Edge TPU compiler comment
    
    * 7 to 8 fix
    glenn-jocher authored Jan 5, 2022
    Configuration menu
    Copy the full SHA
    5402753 View commit details
    Browse the repository at this point in the history
  4. TFLite --int8 'flatbuffers==1.12' fix (ultralytics#6216)

    * TFLite `--int8` 'flatbuffers==1.12' fix
    
    Temporary workaround for TFLite INT8 export.
    
    * Update export.py
    
    * Update export.py
    glenn-jocher authored Jan 5, 2022
    Configuration menu
    Copy the full SHA
    8125ec5 View commit details
    Browse the repository at this point in the history
  5. TFLite --int8 'flatbuffers==1.12' fix 2 (ultralytics#6217)

    * TFLite `--int8` 'flatbuffers==1.12' fix 2
    
    Reorganizes ultralytics#6216 fix to update before `tensorflow` import so no restart required.
    
    * Update export.py
    glenn-jocher authored Jan 5, 2022
    Configuration menu
    Copy the full SHA
    00d7b97 View commit details
    Browse the repository at this point in the history
  6. Add edgetpu_compiler checks (ultralytics#6218)

    * Add `edgetpu_compiler` checks
    
    * Update export.py
    
    * Update export.py
    
    * Update export.py
    
    * Update export.py
    
    * Update export.py
    
    * Update export.py
    glenn-jocher authored Jan 5, 2022
    Configuration menu
    Copy the full SHA
    b4ac3df View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2022

  1. Attempt edgetpu-compiler autoinstall (ultralytics#6223)

    * Attempt `edgetpu-compiler` autoinstall
    
    Attempt to install edgetpu-compiler dependency if missing on Linux.
    
    * Update export.py
    
    * Update export.py
    glenn-jocher authored Jan 6, 2022
    Configuration menu
    Copy the full SHA
    f80c463 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ad565e3 View commit details
    Browse the repository at this point in the history
  3. Update P2-P7 models/hub variants (ultralytics#6230)

    * Update p2-p7 `models/hub` variants
    
    * Update common.py
    
    * AutoAnchor camelcase corrections
    glenn-jocher authored Jan 6, 2022
    Configuration menu
    Copy the full SHA
    33a67b4 View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2022

  1. Configuration menu
    Copy the full SHA
    6865d19 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2022

  1. Fix cmd string on tfjs export (ultralytics#6243)

    * Fix cmd string on tfjs export
    
    * Cleanup
    
    Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
    Jinwoong Yoo and glenn-jocher authored Jan 10, 2022
    Configuration menu
    Copy the full SHA
    9b13a59 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2022

  1. TensorRT pip install

    glenn-jocher committed Jan 11, 2022
    Configuration menu
    Copy the full SHA
    b3eaf50 View commit details
    Browse the repository at this point in the history
  2. Enable ONNX --half FP16 inference (ultralytics#6268)

    * Enable ONNX ``--half` FP16 inference
    
    * [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>
    glenn-jocher and pre-commit-ci[bot] authored Jan 11, 2022
    Configuration menu
    Copy the full SHA
    f3085ac View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2022

  1. Configuration menu
    Copy the full SHA
    80473a6 View commit details
    Browse the repository at this point in the history
  2. Add is_kaggle() function (ultralytics#6285)

    * Add `is_kaggle()` function
    
    Return True if environment is Kaggle Notebook.
    
    * Remove root loggers only if is_kaggle() == True
    
    * Update general.py
    glenn-jocher authored Jan 13, 2022
    Configuration menu
    Copy the full SHA
    af00134 View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2022

  1. Fix device count check (ultralytics#6290)

    * Fix device count check()
    
    * Update torch_utils.py
    
    * Update torch_utils.py
    
    * Update hubconf.py
    glenn-jocher authored Jan 14, 2022
    Configuration menu
    Copy the full SHA
    e7bf382 View commit details
    Browse the repository at this point in the history
  2. Fixing bug multi-gpu training (ultralytics#6299)

    * Fixing bug multi-gpu training
    
    This solves this issue: ultralytics#6297 (comment)
    
    * Update torch_utils.py for pep8
    Henry authored Jan 14, 2022
    Configuration menu
    Copy the full SHA
    a1a9c68 View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2022

  1. select_device() cleanup (ultralytics#6302)

    * `select_device()` cleanup
    
    * Update torch_utils.py
    
    * Update torch_utils.py
    
    * Update torch_utils.py
    
    * Update torch_utils.py
    
    * Update torch_utils.py
    glenn-jocher authored Jan 15, 2022
    Configuration menu
    Copy the full SHA
    436ffc4 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2022

  1. Fix train.py parameter groups desc error (ultralytics#6318)

    * Fix `train.py` parameter groups desc error
    
    * Cleanup
    
    Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
    Otfot and glenn-jocher authored Jan 17, 2022
    Configuration menu
    Copy the full SHA
    db1f83b View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2022

  1. Remove dataset_stats() autodownload capability (ultralytics#6303)

    * Remove `dataset_stats()` autodownload capability
    
    @kalenmike security update per Slack convo
    
    * Update datasets.py
    glenn-jocher authored Jan 18, 2022
    Configuration menu
    Copy the full SHA
    3119b2f View commit details
    Browse the repository at this point in the history
  2. Console corrupted -> corrupt (ultralytics#6338)

    * Console corrupted -> corrupt 
    
    Minor style changes.
    
    * Update export.py
    glenn-jocher authored Jan 18, 2022
    Configuration menu
    Copy the full SHA
    fd55271 View commit details
    Browse the repository at this point in the history
  3. TensorRT assert im.device.type != 'cpu' on export (ultralytics#6340)

    * TensorRT `assert im.device.type != 'cpu'` on export
    
    * Update export.py
    glenn-jocher authored Jan 18, 2022
    Configuration menu
    Copy the full SHA
    e2e95b2 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2022

  1. export.py return exported files/dirs (ultralytics#6343)

    * `export.py` return exported files/dirs
    
    * Path to str
    glenn-jocher authored Jan 19, 2022
    Configuration menu
    Copy the full SHA
    0cf932b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e521909 View commit details
    Browse the repository at this point in the history
  3. export.py automatic forward_export (ultralytics#6352)

    * `export.py` automatic `forward_export`
    
    * [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>
    glenn-jocher and pre-commit-ci[bot] authored Jan 19, 2022
    Configuration menu
    Copy the full SHA
    750c42e View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2022

  1. New environment variable VERBOSE (ultralytics#6353)

    New environment variable `VERBOSE`
    johnk2hawaii authored Jan 20, 2022
    Configuration menu
    Copy the full SHA
    9708cf5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4e841b9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e1893c8 View commit details
    Browse the repository at this point in the history
  4. Flush callbacks when on --evolve (ultralytics#6374)

    * log best.pt metrics at train end
    
    * update
    
    * Update __init__.py
    
    * flush callbacks when using evolve
    
    Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
    AyushExel and glenn-jocher authored Jan 20, 2022
    Configuration menu
    Copy the full SHA
    9bcc32a View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2022

  1. Configuration menu
    Copy the full SHA
    1b41a1d View commit details
    Browse the repository at this point in the history
  2. FROM nvcr.io/nvidia/pytorch:21.10-py3 (ultralytics#6379)

    21.12 generates dockerhub errors so rolling back to 21.10 with latest pytorch install. Not sure if this torch install will work on non-GPU dockerhub autobuild so this is an experiment.
    glenn-jocher authored Jan 21, 2022
    Configuration menu
    Copy the full SHA
    bd815d4 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2022

  1. Configuration menu
    Copy the full SHA
    c43439a View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2022

  1. Add stop_training=False flag to callbacks (ultralytics#6365)

    * New flag 'stop_training' in util.callbacks.Callbacks class to prematurely stop training from callback handler
    
    * Removed most of the new  checks, leaving only the one after calling 'on_train_batch_end'
    
    * Cleanup
    
    Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
    haimat and glenn-jocher authored Jan 23, 2022
    Configuration menu
    Copy the full SHA
    8efe977 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2022

  1. Add detect.py GIF video inference (ultralytics#6410)

    * Add detect.py GIF video inference
    
    * Cleanup
    glenn-jocher authored Jan 24, 2022
    Configuration menu
    Copy the full SHA
    482af47 View commit details
    Browse the repository at this point in the history
  2. Update greetings.yaml email address (ultralytics#6412)

    * Update `greetings.yaml` email address
    
    * Update greetings.yml
    glenn-jocher authored Jan 24, 2022
    Configuration menu
    Copy the full SHA
    cfecd90 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2022

  1. Rename logger from 'utils.logger' to 'yolov5' (ultralytics#6421)

    * Gave a more explicit name to the logger
    
    * Cleanup
    
    Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
    JonathanSamelson and glenn-jocher authored Jan 25, 2022
    Configuration menu
    Copy the full SHA
    ed9bac8 View commit details
    Browse the repository at this point in the history
  2. Prefer tflite_runtime for TFLite inference if installed (ultralytic…

    …s#6406)
    
    * import tflite_runtime if tensorflow not installed
    
    * rename tflite to tfli
    
    * Attempt tflite_runtime for all TFLite workflows
    
    Also rename tfli to tfl
    
    Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
    motokimura and glenn-jocher authored Jan 25, 2022
    Configuration menu
    Copy the full SHA
    16563ac View commit details
    Browse the repository at this point in the history
  3. Update workflows (ultralytics#6427)

    * Workflow updates
    
    * quotes fix
    
    * best to weights fix
    glenn-jocher authored Jan 25, 2022
    Configuration menu
    Copy the full SHA
    ff8646c View commit details
    Browse the repository at this point in the history
  4. Namespace VERBOSE env variable to YOLOv5_VERBOSE (ultralytics#6428)

    * Verbose updates
    
    * Verbose updates
    glenn-jocher authored Jan 25, 2022
    Configuration menu
    Copy the full SHA
    d5966c9 View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2022

  1. Configuration menu
    Copy the full SHA
    3b7ac28 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fe7de6a View commit details
    Browse the repository at this point in the history
  3. Fix select_device() for Multi-GPU (ultralytics#6434)

    * Fix `select_device()` for Multi-GPU
    
    Possible fix for ultralytics#6431
    
    * Update torch_utils.py
    
    * Update torch_utils.py
    
    * Update torch_utils.py
    
    * Update torch_utils.py
    
    * Update
    
    * Update
    
    * Update
    
    * Update
    
    * Update
    
    * Update
    
    * Update
    
    * Update
    
    * Update
    glenn-jocher authored Jan 26, 2022
    Configuration menu
    Copy the full SHA
    856d4e5 View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2022

  1. Fix2 select_device() for Multi-GPU (ultralytics#6461)

    * Fix2 select_device() for Multi-GPU
    
    * Cleanup
    
    * Cleanup
    
    * Simplify error message
    
    * Improve assert
    
    * Update torch_utils.py
    glenn-jocher authored Jan 28, 2022
    Configuration menu
    Copy the full SHA
    d8b5beb View commit details
    Browse the repository at this point in the history
  2. Add Product Hunt social media icon (ultralytics#6464)

    * Social media icons update
    
    * fix URL
    
    * Update README.md
    glenn-jocher authored Jan 28, 2022
    Configuration menu
    Copy the full SHA
    7539cd7 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2022

  1. Configuration menu
    Copy the full SHA
    6445a81 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b884ea3 View commit details
    Browse the repository at this point in the history
  3. Improved export.py usage examples (ultralytics#6495)

    * Improved `export.py` usage examples
    
    * Cleanup
    glenn-jocher authored Feb 1, 2022
    Configuration menu
    Copy the full SHA
    5e4ff19 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    77977e0 View commit details
    Browse the repository at this point in the history
  5. Suppress torch.jit.TracerWarning on export (ultralytics#6498)

    * Suppress torch.jit.TracerWarning
    
    TracerWarnings can be safely ignored.
    
    * Cleanup
    glenn-jocher authored Feb 1, 2022
    Configuration menu
    Copy the full SHA
    842d049 View commit details
    Browse the repository at this point in the history
  6. Suppress export.run() TracerWarnings (ultralytics#6499)

    Suppresses warnings when calling export.run() directly, not just CLI python export.py.
    
    Also adds Requirements examples for CPU and GPU backends
    glenn-jocher authored Feb 1, 2022
    Configuration menu
    Copy the full SHA
    4c40933 View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2022

  1. W&B: Remember batchsize on resuming (ultralytics#6512)

    * log best.pt metrics at train end
    
    * update
    
    * Update __init__.py
    
    * flush callbacks when using evolve
    
    * remember batch size on resuming
    
    * Update train.py
    
    Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
    AyushExel and glenn-jocher authored Feb 3, 2022
    Configuration menu
    Copy the full SHA
    b73c62e View commit details
    Browse the repository at this point in the history
  2. Update hyp.scratch-high.yaml (ultralytics#6525)

    Update `lrf: 0.1`, tested on YOLOv5x6 to 55.0 mAP@0.5:0.95, slightly higher than current.
    glenn-jocher authored Feb 3, 2022
    Configuration menu
    Copy the full SHA
    19e0208 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cb40c9a View commit details
    Browse the repository at this point in the history
  4. Update val_batch*.jpg for Chinese fonts (ultralytics#6526)

    * Update plots for Chinese fonts
    
    * make is_chinese() non-str safe
    
    * Add global FONT
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update general.py
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    glenn-jocher and pre-commit-ci[bot] authored Feb 3, 2022
    Configuration menu
    Copy the full SHA
    c3e599c View commit details
    Browse the repository at this point in the history
  5. Social icons after text (ultralytics#6473)

    * Social icons after text
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update README.md
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    glenn-jocher and pre-commit-ci[bot] authored Feb 3, 2022
    Configuration menu
    Copy the full SHA
    a82292e View commit details
    Browse the repository at this point in the history
  6. Edge TPU compiler sudo fix (ultralytics#6531)

    * Edge TPU compiler sudo fix
    
    Allows for auto-install of Edge TPU compiler on non-sudo systems like the YOLOv5 Docker image.
    
    @kalenmike
    
    * Update export.py
    
    * Update export.py
    
    * Update export.py
    glenn-jocher authored Feb 3, 2022
    Configuration menu
    Copy the full SHA
    8d05716 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9bc72a3 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2022

  1. Edge TPU tf.lite.experimental.load_delegate fix (ultralytics#6536)

    * Edge TPU `tf.lite.experimental.load_delegate` fix
    
    Fix attempt for ultralytics#6535
    
    * [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>
    glenn-jocher and pre-commit-ci[bot] authored Feb 4, 2022
    Configuration menu
    Copy the full SHA
    079b36d View commit details
    Browse the repository at this point in the history
  2. Fixing minor multi-streaming issues with TensoRT engine (ultralytics#…

    …6504)
    
    * Update batch-size in model.warmup() + indentation for logging inference results
    
    * These changes are in response to PR comments
    
    * [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>
    greg2451 and pre-commit-ci[bot] authored Feb 4, 2022
    Configuration menu
    Copy the full SHA
    8fcdf3b View commit details
    Browse the repository at this point in the history
  3. Load checkpoint on CPU instead of on GPU (ultralytics#6516)

    * Load checkpoint on CPU instead of on GPU
    
    * refactor: simplify code
    
    * Cleanup
    
    * Update train.py
    
    Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
    bilzard and glenn-jocher authored Feb 4, 2022
    Configuration menu
    Copy the full SHA
    aff0281 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e1a6a0b View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2022

  1. Fix 6 Flake8 issues (ultralytics#6541)

    * F541
    
    * F821
    
    * F841
    
    * E741
    
    * E302
    
    * E722
    
    * Apply suggestions from code review
    
    * Update general.py
    
    * Update datasets.py
    
    * Update export.py
    
    * Update plots.py
    
    * Update plots.py
    
    Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
    Borda and glenn-jocher authored Feb 5, 2022
    Configuration menu
    Copy the full SHA
    cba4303 View commit details
    Browse the repository at this point in the history
  2. Edge TPU TF imports fix (ultralytics#6542)

    * Edge TPU TF imports fix
    
    Fix for ultralytics#6535 (comment)
    
    * Update common.py
    glenn-jocher authored Feb 5, 2022
    Configuration menu
    Copy the full SHA
    dc7e093 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2022

  1. Move trainloader functions to class methods (ultralytics#6559)

    * Move trainloader functions to class methods
    
    * results = ThreadPool(NUM_THREADS).imap(self.load_image, range(n))
    
    * Cleanup
    glenn-jocher authored Feb 7, 2022
    Configuration menu
    Copy the full SHA
    b57abb1 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2022

  1. Improved AutoBatch DDP error message (ultralytics#6568)

    * Improved AutoBatch DDP error message
    
    * Cleanup
    glenn-jocher authored Feb 8, 2022
    Configuration menu
    Copy the full SHA
    006eb40 View commit details
    Browse the repository at this point in the history
  2. Fix zero-export handling with if any(f): (ultralytics#6569)

    * Fix zero-export handling with `if any(f):`
    
    Partial fix for ultralytics#6563
    
    * Cleanup
    glenn-jocher authored Feb 8, 2022
    Configuration menu
    Copy the full SHA
    22da63e View commit details
    Browse the repository at this point in the history
  3. Fix plot_labels() colored histogram bug (ultralytics#6574)

    * Fix `plot_labels()` colored histogram bug
    
    * Cleanup
    glenn-jocher authored Feb 8, 2022
    Configuration menu
    Copy the full SHA
    f627bc5 View commit details
    Browse the repository at this point in the history
  4. Allow custom --evolve project names (ultralytics#6567)

    * Update train.py
    
    As see in ultralytics#6463, modification on train in evolve process to allow custom save directory.
    
    * fix val
    
    * PEP8
    
    whitespace around operator
    
    * Cleanup
    
    Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
    MattVAD and glenn-jocher authored Feb 8, 2022
    Configuration menu
    Copy the full SHA
    f40854b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9c513ca View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2022

  1. Configuration menu
    Copy the full SHA
    9cf80b7 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2022

  1. Configuration menu
    Copy the full SHA
    364b7c5 View commit details
    Browse the repository at this point in the history
  2. Update train.py

    glenn-jocher authored Feb 10, 2022
    Configuration menu
    Copy the full SHA
    a5c9057 View commit details
    Browse the repository at this point in the history
  3. Fix hyp_evolve.yaml indexing bug (ultralytics#6604)

    * Fix `hyp_evolve.yaml` indexing bug
    
    Bug caused hyp_evolve.yaml to display latest generation result rather than best generation result.
    
    * Update plots.py
    
    * Update general.py
    
    * Update general.py
    
    * Update general.py
    glenn-jocher authored Feb 10, 2022
    Configuration menu
    Copy the full SHA
    c21da59 View commit details
    Browse the repository at this point in the history
  4. Fix ROOT / data when running W&B log_dataset() (ultralytics#6606)

    * Fix missing data folder when running log_dataset
    
    * Use ROOT/'data'
    
    * PEP8 whitespace
    or-toledano authored Feb 10, 2022
    Configuration menu
    Copy the full SHA
    cb2ad9f View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2022

  1. Configuration menu
    Copy the full SHA
    b40bdd6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3eef804 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2022

  1. W&B: Improve resume stability (ultralytics#6611)

    * log best.pt metrics at train end
    
    * update
    
    * Update __init__.py
    
    * flush callbacks when using evolve
    
    * remember batch size on resuming
    
    * Update train.py
    
    * improve stability of resume
    
    Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
    AyushExel and glenn-jocher authored Feb 12, 2022
    Configuration menu
    Copy the full SHA
    51f7750 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    96d8f86 View commit details
    Browse the repository at this point in the history
  3. YOLOv5 Export Benchmarks (ultralytics#6613)

    * Add benchmarks.py
    
    * Update
    
    * Add requirements
    
    * Updates
    
    * Updates
    
    * Updates
    
    * Updates
    
    * Updates
    
    * Updates
    
    * dataset autodownload from root
    
    * Update
    
    * Redirect to /dev/null
    
    * sudo --help
    
    * Cleanup
    
    * Add exports pd df
    
    * Updates
    
    * Updates
    
    * Updates
    
    * Cleanup
    
    * dir handling fix
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Cleanup
    
    * Cleanup2
    
    * Cleanup3
    
    * Cleanup model_type
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    glenn-jocher and pre-commit-ci[bot] authored Feb 12, 2022
    Configuration menu
    Copy the full SHA
    a45e472 View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2022

  1. Configuration menu
    Copy the full SHA
    5389300 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ca0a007 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2022

  1. Configuration menu
    Copy the full SHA
    ee6c70a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6769021 View commit details
    Browse the repository at this point in the history
  3. Validate with 2x --workers single-GPU/CPU fix (ultralytics#6659)

    Fix for ultralytics#6658 for single-GPU and CPU training use cases
    glenn-jocher authored Feb 16, 2022
    Configuration menu
    Copy the full SHA
    1ff4370 View commit details
    Browse the repository at this point in the history
  4. Add --cache val (ultralytics#6663)

    New `--cache val` argument will cache validation set only into RAM. Should help multi-GPU training speeds without consuming as much RAM as full `--cache ram`.
    glenn-jocher authored Feb 16, 2022
    Configuration menu
    Copy the full SHA
    7b80545 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2022

  1. Robust scipy.cluster.vq.kmeans too few points (ultralytics#6668)

    * Handle `scipy.cluster.vq.kmeans` too few points
    
    Resolves ultralytics#6664
    
    * Update autoanchor.py
    
    * Cleanup
    glenn-jocher authored Feb 17, 2022
    Configuration menu
    Copy the full SHA
    2e5c67e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9a8ebe6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bb054d5 View commit details
    Browse the repository at this point in the history
  4. FROM nvcr.io/nvidia/pytorch:21.10-py3 (ultralytics#6671)

    22.10 returns 'no space left on device' error message.
    
    Seems like a bug at docker. Raised issue in docker/hub-feedback#2209
    glenn-jocher authored Feb 17, 2022
    Configuration menu
    Copy the full SHA
    09d263b View commit details
    Browse the repository at this point in the history
  5. Update Dockerfile reorder installs (ultralytics#6672)

    Also `nvidia-tensorboard-plugin-dlprof`, `nvidia-tensorboard` are no longer installed in NVCR base.
    glenn-jocher authored Feb 17, 2022
    Configuration menu
    Copy the full SHA
    2545628 View commit details
    Browse the repository at this point in the history
  6. FROM nvcr.io/nvidia/pytorch:21.10-py3 (ultralytics#6673)

    Reordered installation may help reduce resource usage in autobuild
    glenn-jocher authored Feb 17, 2022
    Configuration menu
    Copy the full SHA
    18b5081 View commit details
    Browse the repository at this point in the history
  7. FROM nvcr.io/nvidia/pytorch:21.10-py3 (ultralytics#6677)

    Revert to 21.10 on autobuild fail
    glenn-jocher authored Feb 17, 2022
    Configuration menu
    Copy the full SHA
    07221f1 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2022

  1. Fix TF exports >= 2GB (ultralytics#6292)

    * Fix exporting saved_model: pb exceeds 2GB
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Replace TF v1.x API with TF v2.x API for saved_model export
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Clean up
    
    * Remove lambda in tf.function()
    
    * Revert "Remove lambda in tf.function()" to be compatible with TF v2.4
    
    This reverts commit 46c7931f11dfdea6ae340c77287c35c30b9e0779.
    
    * Fix for pre-commit.ci
    
    * Cleanup1
    
    * Cleanup2
    
    * Backwards compatibility update
    
    * Update common.py
    
    * Update common.py
    
    * Cleanup3
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
    3 people authored Feb 18, 2022
    Configuration menu
    Copy the full SHA
    66e5d79 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3670d91 View commit details
    Browse the repository at this point in the history
  3. Fix CoreML P6 inference (ultralytics#6700)

    * Fix CoreML P6 inference
    
    * [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>
    glenn-jocher and pre-commit-ci[bot] authored Feb 18, 2022
    Configuration menu
    Copy the full SHA
    56697c4 View commit details
    Browse the repository at this point in the history
  4. Fix floating point in number of workers nw (ultralytics#6701)

    Integer division by a float yields a (rounded) float. This causes
    the dataloader to crash when creating a range.
    SamuelYvon authored Feb 18, 2022
    Configuration menu
    Copy the full SHA
    0365379 View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2022

  1. Edge TPU inference fix (ultralytics#6686)

    * refactor: use edgetpu flag
    
    * fix: remove bitwise and assignation to tflite
    
    * Cleanup and fix tflite
    
    * Cleanup
    
    Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
    RaffaeleGalliera and glenn-jocher authored Feb 19, 2022
    Configuration menu
    Copy the full SHA
    a297efc View commit details
    Browse the repository at this point in the history
  2. Use export_formats() in export.py (ultralytics#6705)

    * Use `export_formats()` in export.py
    
    * list fix
    glenn-jocher authored Feb 19, 2022
    Configuration menu
    Copy the full SHA
    de9c25b View commit details
    Browse the repository at this point in the history
  3. Suppress torch AMP-CPU warnings (ultralytics#6706)

    This is a torch bug, but they seem unable or unwilling to fix it so I'm creating a suppression in YOLOv5. 
    
    Resolves ultralytics#6692
    glenn-jocher authored Feb 19, 2022
    Configuration menu
    Copy the full SHA
    4de8b24 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2022

  1. Configuration menu
    Copy the full SHA
    c43f135 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2022

  1. GH: add PR template (ultralytics#6482)

    * GH: add PR template
    
    * Update CONTRIBUTING.md
    
    * Update PULL_REQUEST_TEMPLATE.md
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update PULL_REQUEST_TEMPLATE.md
    
    * Update PULL_REQUEST_TEMPLATE.md
    
    * Update PULL_REQUEST_TEMPLATE.md
    
    * Update PULL_REQUEST_TEMPLATE.md
    
    Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    3 people authored Feb 21, 2022
    Configuration menu
    Copy the full SHA
    dbbb57c View commit details
    Browse the repository at this point in the history
  2. Switch default LR scheduler from cos to linear (ultralytics#6729)

    * Switch default LR scheduler from cos to linear
    
    Based on empirical results of training both ways on all YOLOv5 models.
    
    * linear bug fix
    glenn-jocher authored Feb 21, 2022
    Configuration menu
    Copy the full SHA
    a936f5f View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2022

  1. Updated VOC hyperparameters (ultralytics#6732)

    * Update hyps
    
    * Update hyp.VOC.yaml
    
    * Update pathlib
    
    * Update hyps
    
    * Update hyps
    
    * Update hyps
    
    * Update hyps
    glenn-jocher authored Feb 22, 2022
    Configuration menu
    Copy the full SHA
    2692e67 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3752807 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    66aaf51 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2022

  1. Configuration menu
    Copy the full SHA
    4bab565 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    47f265d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c161557 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    741cd0e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cea994b View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2022

  1. Fix export for 1-channel images (ultralytics#6780)

    Export failed for 1-channel input shape, 1-liner fix
    lcombaldieu authored Feb 25, 2022
    Configuration menu
    Copy the full SHA
    b2adc7c View commit details
    Browse the repository at this point in the history
  2. Update EMA decay tau (ultralytics#6769)

    * Update EMA
    
    * Update EMA
    
    * ratio invert
    
    * fix ratio invert
    
    * fix2 ratio invert
    
    * warmup iterations to 100
    
    * ema_k
    
    * implement tau
    
    * implement tau
    glenn-jocher authored Feb 25, 2022
    Configuration menu
    Copy the full SHA
    0f81991 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9ec51a6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c2403eb View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2022

  1. Update autoanchor.py (ultralytics#6794)

    * Update autoanchor.py
    
    * Update autoanchor.py
    glenn-jocher authored Feb 26, 2022
    Configuration menu
    Copy the full SHA
    63ddb6f View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2022

  1. Update sweep.yaml (ultralytics#6825)

    * Update sweep.yaml
    
    Changed focal loss gamma search range between 1 and 4
    
    * Update sweep.yaml
    
    lowered the min value to match default
    lcombaldieu authored Mar 4, 2022
    Configuration menu
    Copy the full SHA
    bcc92e2 View commit details
    Browse the repository at this point in the history
  2. AutoAnchor improved initialization robustness (ultralytics#6854)

    * Update AutoAnchor
    
    * Update AutoAnchor
    
    * [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>
    glenn-jocher and pre-commit-ci[bot] authored Mar 4, 2022
    Configuration menu
    Copy the full SHA
    601dbb8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8a66eba View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2022

  1. Update --cache disk deprecate *_npy/ dirs (ultralytics#6876)

    * Updates
    
    * Updates
    
    * Updates
    
    * Updates
    
    * Updates
    
    * Updates
    
    * Updates
    
    * Updates
    
    * Updates
    
    * Updates
    
    * Cleanup
    
    * Cleanup
    glenn-jocher authored Mar 6, 2022
    Configuration menu
    Copy the full SHA
    4728840 View commit details
    Browse the repository at this point in the history
  2. Update yolov5s.yaml (ultralytics#6865)

    * Update yolov5s.yaml
    
    * Update yolov5s.yaml
    
    Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
    vnekat and glenn-jocher authored Mar 6, 2022
    Configuration menu
    Copy the full SHA
    7e98b48 View commit details
    Browse the repository at this point in the history
  3. Default FP16 TensorRT export (ultralytics#6798)

    * Assert engine precision ultralytics#6777
    
    * Default to FP32 inputs for TensorRT engines
    
    * Default to FP16 TensorRT exports ultralytics#6777
    
    * Remove wrong line ultralytics#6777
    
    * Automatically adjust detect.py input precision ultralytics#6777
    
    * Automatically adjust val.py input precision ultralytics#6777
    
    * Add missing colon
    
    * Cleanup
    
    * Cleanup
    
    * Remove default trt_fp16_input definition
    
    * Experiment
    
    * Reorder detect.py if statement to after half checks
    
    * Update common.py
    
    * Update export.py
    
    * Cleanup
    
    Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
    DavidBaldsiefen and glenn-jocher authored Mar 6, 2022
    Configuration menu
    Copy the full SHA
    596de6d View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2022

  1. Bump actions/setup-python from 2 to 3 (ultralytics#6880)

    Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 3.
    - [Release notes](https://github.com/actions/setup-python/releases)
    - [Commits](actions/setup-python@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>
    dependabot[bot] authored Mar 7, 2022
    Configuration menu
    Copy the full SHA
    c8a5899 View commit details
    Browse the repository at this point in the history
  2. Bump actions/checkout from 2 to 3 (ultralytics#6881)

    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](actions/checkout@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>
    dependabot[bot] authored Mar 7, 2022
    Configuration menu
    Copy the full SHA
    a5a1760 View commit details
    Browse the repository at this point in the history
  3. Fix TRT max_workspace_size deprecation notice (ultralytics#6856)

    * Fix TRT `max_workspace_size` deprecation notice
    
    * Update export.py
    
    * Update export.py
    glenn-jocher authored Mar 7, 2022
    Configuration menu
    Copy the full SHA
    acc58c1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e6e36aa View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2022

  1. Move git_describe() to general.py (ultralytics#6918)

    * Move `git_describe()` to general.py
    
    * Move `git_describe()` to general.py
    glenn-jocher authored Mar 9, 2022
    Configuration menu
    Copy the full SHA
    6dd82c0 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2022

  1. PyTorch 1.11.0 compatibility updates (ultralytics#6932)

    Resolves `AttributeError: 'Upsample' object has no attribute 'recompute_scale_factor'` first raised in ultralytics#5499
    glenn-jocher authored Mar 10, 2022
    Configuration menu
    Copy the full SHA
    d3d9cbc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    055e72a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    caf7ad0 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2022

  1. Configuration menu
    Copy the full SHA
    84efa62 View commit details
    Browse the repository at this point in the history
  2. DetectMultiBackend() --half handling (ultralytics#6945)

    * DetectMultiBackend() `--half` handling
    
    * CI fixes
    
    * rename .half to .fp16 to avoid conflict
    
    * warmup fix
    
    * val update
    
    * engine update
    
    * engine update
    glenn-jocher authored Mar 11, 2022
    Configuration menu
    Copy the full SHA
    b94b59e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c6b4f84 View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2022

  1. New val.py cuda variable (ultralytics#6957)

    * New val.py `cuda` variable
    
    Fix for ONNX GPU val.
    
    * Update val.py
    glenn-jocher authored Mar 12, 2022
    Configuration menu
    Copy the full SHA
    c84dd27 View commit details
    Browse the repository at this point in the history
  2. DetectMultiBackend() return device update (ultralytics#6958)

    Fixes ONNX validation that returns outputs on CPU.
    glenn-jocher authored Mar 12, 2022
    Configuration menu
    Copy the full SHA
    52c1399 View commit details
    Browse the repository at this point in the history
  3. Tensor initialization on device improvements (ultralytics#6959)

    * Update common.py speed improvements
    
    Eliminate .to() ops where possible for reduced data transfer overhead. Primarily affects warmup and PyTorch Hub inference.
    
    * Updates
    
    * Updates
    
    * Update detect.py
    
    * Update val.py
    glenn-jocher authored Mar 12, 2022
    Configuration menu
    Copy the full SHA
    701e117 View commit details
    Browse the repository at this point in the history
  4. EdgeTPU optimizations (ultralytics#6808)

    * removed transpose op for better edgetpu support
    
    * fix for training case
    
    * enabled experimental new quantizer flag
    
    * precalculate add and mul ops at compile time
    
    Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
    paradigmn and glenn-jocher authored Mar 12, 2022
    Configuration menu
    Copy the full SHA
    c13d4ce View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2022

  1. Configuration menu
    Copy the full SHA
    2d45de6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    99de551 View commit details
    Browse the repository at this point in the history
  3. YOLOv5 Export Benchmarks for GPU (ultralytics#6963)

    * Add benchmarks.py GPU support
    
    * Updates
    
    * Updates
    
    * Updates
    
    * Updates
    
    * Add --half
    
    * Add TRT requirements
    
    * Cleanup
    
    * Add TF to warmup types
    
    * Update export.py
    
    * Update export.py
    
    * Update benchmarks.py
    glenn-jocher authored Mar 14, 2022
    Configuration menu
    Copy the full SHA
    932dc78 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2022

  1. Configuration menu
    Copy the full SHA
    c09fb2a View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2022

  1. Conditional Timeout() by OS (disable on Windows) (ultralytics#7013)

    * Conditional `Timeout()` by OS (disable on Windows)
    
    * Update general.py
    glenn-jocher authored Mar 16, 2022
    Configuration menu
    Copy the full SHA
    3f634d4 View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2022

  1. fix: add default PIL font as fallback (ultralytics#7010)

    * fix: add default font as fallback
    
    Add default font as fallback if the downloading of the Arial.ttf font
    fails for some reason, e.g. no access to public internet.
    
    * Update plots.py
    
    Co-authored-by: Maximilian Strobel <Maximilian.Strobel@infineon.com>
    Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
    3 people authored Mar 17, 2022
    Configuration menu
    Copy the full SHA
    7c6a335 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2022

  1. Configuration menu
    Copy the full SHA
    4effd06 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2022

  1. ComputeLoss() indexing/speed improvements (ultralytics#7048)

    * device as class attribute
    
    * Update loss.py
    
    * Update loss.py
    
    * improve zeros
    
    * tensor split
    glenn-jocher authored Mar 20, 2022
    Configuration menu
    Copy the full SHA
    b0ba101 View commit details
    Browse the repository at this point in the history
  2. Update Dockerfile to git clone instead of COPY (ultralytics#7053)

    Resolves git command errors that currently happen in image, i.e.:
    
    ```bash
    root@382ae64aeca2:/usr/src/app# git pull
    Warning: Permanently added the ECDSA host key for IP address '140.82.113.3' to the list of known hosts.
    git@github.com: Permission denied (publickey).
    fatal: Could not read from remote repository.
    
    Please make sure you have the correct access rights
    and the repository exists.
    ```
    glenn-jocher authored Mar 20, 2022
    Configuration menu
    Copy the full SHA
    9ebec78 View commit details
    Browse the repository at this point in the history
  3. Create SECURITY.md (ultralytics#7054)

    * Create SECURITY.md
    
    Resolves ultralytics#7052
    
    * Move into ./github
    
    * Update SECURITY.md
    glenn-jocher authored Mar 20, 2022
    Configuration menu
    Copy the full SHA
    6843ea5 View commit details
    Browse the repository at this point in the history
  4. Fix incomplete URL substring sanitation (ultralytics#7056)

    Resolves code scanning alert in ultralytics#7055
    glenn-jocher authored Mar 20, 2022
    Configuration menu
    Copy the full SHA
    9f4d113 View commit details
    Browse the repository at this point in the history
  5. Use PIL to eliminate chroma subsampling in crops (ultralytics#7008)

    * use pillow to save higher-quality jpg (w/o color subsampling)
    
    * Cleanup and doc issue
    
    Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
    LaserBorg and glenn-jocher authored Mar 20, 2022
    Configuration menu
    Copy the full SHA
    529fbc1 View commit details
    Browse the repository at this point in the history
  6. Fix check_anchor_order() in pixel-space not grid-space (ultralytics…

    …#7060)
    
    * Update `check_anchor_order()`
    
    Use mean area per output layer for added stability.
    
    * Check in pixel-space not grid-space fix
    glenn-jocher authored Mar 20, 2022
    Configuration menu
    Copy the full SHA
    f327eee View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d5e363f View commit details
    Browse the repository at this point in the history
  8. Update common.py lists for tuples (ultralytics#7063)

    Improved profiling.
    glenn-jocher authored Mar 20, 2022
    Configuration menu
    Copy the full SHA
    0529b77 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    e278fd6 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    9e75cbf View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    178c109 View commit details
    Browse the repository at this point in the history
  12. Fix2 check_anchor_order() in pixel-space not grid-space (ultralytic…

    …s#7067)
    
    Follows ultralytics#7060 which provided only a partial solution to this issue. ultralytics#7060 resolved occurences in yolo.py, this applies the same fix in autoanchor.py.
    glenn-jocher authored Mar 20, 2022
    Configuration menu
    Copy the full SHA
    9cd89b7 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2022

  1. Configuration menu
    Copy the full SHA
    9b771a3 View commit details
    Browse the repository at this point in the history
  2. Update loss.py with if self.gr < 1: (ultralytics#7087)

    * Update loss.py with `if self.gr < 1:`
    
    * Update loss.py
    glenn-jocher authored Mar 21, 2022
    Configuration menu
    Copy the full SHA
    6f12803 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a2d617e View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2022

  1. Configuration menu
    Copy the full SHA
    a600bae View commit details
    Browse the repository at this point in the history
  2. torch.split() 1.7.0 compatibility fix (ultralytics#7102)

    * Update loss.py
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Update loss.py
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    glenn-jocher and pre-commit-ci[bot] authored Mar 22, 2022
    Configuration menu
    Copy the full SHA
    05aae17 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ee0b3b2 View commit details
    Browse the repository at this point in the history
  4. Model summary pathlib fix (ultralytics#7104)

    Stems not working correctly for YOLOv5l with current .rstrip() implementation. After fix:
    ```
    YOLOv5l summary: 468 layers, 46563709 parameters, 46563709 gradients, 109.3 GFLOPs
    ```
    glenn-jocher authored Mar 22, 2022
    Configuration menu
    Copy the full SHA
    6134ec5 View commit details
    Browse the repository at this point in the history
  5. Remove named arguments where possible (ultralytics#7105)

    * Remove named arguments where possible
    
    Speed improvements.
    
    * Update yolo.py
    
    * Update yolo.py
    
    * Update yolo.py
    glenn-jocher authored Mar 22, 2022
    Configuration menu
    Copy the full SHA
    ecc2c7b View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2022

  1. Multi-threaded VisDrone and VOC downloads (ultralytics#7108)

    * Multi-threaded VOC download
    
    * Update VOC.yaml
    
    * Update
    
    * Update general.py
    
    * Update general.py
    glenn-jocher authored Mar 23, 2022
    Configuration menu
    Copy the full SHA
    c3ae4e4 View commit details
    Browse the repository at this point in the history
  2. np.fromfile() Chinese image paths fix (ultralytics#6979)

    * 🎉 🆕 now can read Chinese image path. 
    
    use "cv2.imdecode(np.fromfile(f, np.uint8), cv2.IMREAD_COLOR)" instead of "cv2.imread(f)" for Chinese image path.
    
    * Update datasets.py
    
    * Update __init__.py
    
    Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
    yeshanliu and glenn-jocher authored Mar 23, 2022
    Configuration menu
    Copy the full SHA
    bc3ed95 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2022

  1. Configuration menu
    Copy the full SHA
    a0a4adf View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2022

  1. SparseML integration

    KSGulin committed Mar 25, 2022
    Configuration menu
    Copy the full SHA
    8eaecd2 View commit details
    Browse the repository at this point in the history
  2. Add SparseML dependancy

    KSGulin committed Mar 25, 2022
    Configuration menu
    Copy the full SHA
    1f73552 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2022

  1. Update: add missing files

    KSGulin committed Mar 26, 2022
    Configuration menu
    Copy the full SHA
    4db2a15 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2022

  1. Update requirements.txt

    KSGulin authored Mar 30, 2022
    Configuration menu
    Copy the full SHA
    70fb4cd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bf225ec View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4b4b932 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6d3667a View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2022

  1. Configuration menu
    Copy the full SHA
    28579c8 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2022

  1. Configuration menu
    Copy the full SHA
    e5999d5 View commit details
    Browse the repository at this point in the history
  2. Update: remove sparseml dep

    KSGulin committed Apr 6, 2022
    Configuration menu
    Copy the full SHA
    3218a78 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bbbcf6b View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2022

  1. Fix: multi stage support

    KSGulin committed Apr 7, 2022
    Configuration menu
    Copy the full SHA
    140ee49 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2022

  1. Fix: non-recipe runs

    KSGulin committed Apr 8, 2022
    Configuration menu
    Copy the full SHA
    912040c View commit details
    Browse the repository at this point in the history
  2. Add: legacy hyperparam files

    KSGulin committed Apr 8, 2022
    Configuration menu
    Copy the full SHA
    a8dfa0f View commit details
    Browse the repository at this point in the history
  3. Fix: add copy-paste to hyps

    KSGulin committed Apr 8, 2022
    Configuration menu
    Copy the full SHA
    7bdf2e6 View commit details
    Browse the repository at this point in the history
  4. Fix: nit

    KSGulin committed Apr 8, 2022
    Configuration menu
    Copy the full SHA
    20f6f91 View commit details
    Browse the repository at this point in the history
  5. apply structure fixes

    Benjamin committed Apr 8, 2022
    Configuration menu
    Copy the full SHA
    5eadf3a View commit details
    Browse the repository at this point in the history
  6. Squashed rebase to v6.1 upstream

    Benjamin committed Apr 8, 2022
    Configuration menu
    Copy the full SHA
    011e7df View commit details
    Browse the repository at this point in the history
  7. Update SparseML Integration to V6.1 (#26)

    * SparseML integration
    
    * Add SparseML dependancy
    
    * Update: add missing files
    
    * Update requirements.txt
    
    * Update: sparseml-nightly support
    
    * Update: remove model versioning
    
    * Partial update for multi-stage recipes
    
    * Update: multi-stage recipe support
    
    * Update: remove sparseml dep
    
    * Fix: multi-stage recipe handeling
    
    * Fix: multi stage support
    
    * Fix: non-recipe runs
    
    * Add: legacy hyperparam files
    
    * Fix: add copy-paste to hyps
    
    * Fix: nit
    
    * apply structure fixes
    KSGulin authored and Benjamin committed Apr 8, 2022
    Configuration menu
    Copy the full SHA
    a32b970 View commit details
    Browse the repository at this point in the history
  8. manager fixes

    KSGulin committed Apr 8, 2022
    Configuration menu
    Copy the full SHA
    ddd5851 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    70aef0b View commit details
    Browse the repository at this point in the history
  10. Update function name

    KSGulin committed Apr 8, 2022
    Configuration menu
    Copy the full SHA
    dd1ad41 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    4d686e5 View commit details
    Browse the repository at this point in the history