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

Making inference thread-safe by avoiding mutable state in Detect class #2120

Merged
merged 45 commits into from
Feb 26, 2021

Commits on Feb 2, 2021

  1. Avoid mutable state in Detect

    Oleg Boiko committed Feb 2, 2021
    Configuration menu
    Copy the full SHA
    03fae98 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2021

  1. Configuration menu
    Copy the full SHA
    4bdc5a3 View commit details
    Browse the repository at this point in the history
  2. Unique *.cache filenames fix (ultralytics#2134)

    * fix ultralytics#2121
    
    * Update test.py
    
    * Update train.py
    
    * Update autoanchor.py
    
    * Update datasets.py
    
    * Update log_dataset.py
    
    * Update datasets.py
    
    Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
    train255 and glenn-jocher committed Feb 5, 2021
    Configuration menu
    Copy the full SHA
    e9b3de4 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2021

  1. Update train.py test batch_size (ultralytics#2148)

    * Update train.py
    
    * Update loss.py
    glenn-jocher committed Feb 6, 2021
    Configuration menu
    Copy the full SHA
    86897e3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ad839ed View commit details
    Browse the repository at this point in the history
  3. Linear LR scheduler option (ultralytics#2150)

    * Linear LR scheduler option
    
    * Update train.py
    glenn-jocher committed Feb 6, 2021
    Configuration menu
    Copy the full SHA
    6b634c6 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2021

  1. Update data-autodownload background tasks (ultralytics#2154)

    * Update get_coco.sh
    
    * Update get_voc.sh
    glenn-jocher committed Feb 7, 2021
    Configuration menu
    Copy the full SHA
    a5359f6 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2021

  1. Update detect.py (ultralytics#2167)

    Without this cv2.imshow opens a window but nothing is visible
    ab-101 committed Feb 9, 2021
    Configuration menu
    Copy the full SHA
    c32b0af View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2021

  1. Configuration menu
    Copy the full SHA
    ace3e02 View commit details
    Browse the repository at this point in the history
  2. Update utils/datasets.py to support .webp files (ultralytics#2174)

    Simply added 'webp' as an image format to the img_formats array so that webp image files can be used as training data.
    Transigent committed Feb 10, 2021
    Configuration menu
    Copy the full SHA
    c9bda11 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a5d5f92 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2021

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

Commits on Feb 12, 2021

  1. YOLOv5 Segmentation Dataloader Updates (ultralytics#2188)

    * Update C3 module
    
    * Update C3 module
    
    * Update C3 module
    
    * Update C3 module
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * updates
    
    * updates
    
    * updates
    
    * updates
    
    * updates
    
    * updates
    
    * updates
    
    * updates
    
    * updates
    
    * updates
    
    * update
    
    * update
    
    * update
    
    * update
    
    * updates
    
    * updates
    
    * updates
    
    * updates
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update datasets
    
    * update
    
    * update
    
    * update
    
    * update attempt_downlaod()
    
    * merge
    
    * merge
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * parameterize eps
    
    * comments
    
    * gs-multiple
    
    * update
    
    * max_nms implemented
    
    * Create one_cycle() function
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * GitHub API rate limit fix
    
    * update
    
    * ComputeLoss
    
    * ComputeLoss
    
    * ComputeLoss
    
    * ComputeLoss
    
    * ComputeLoss
    
    * ComputeLoss
    
    * ComputeLoss
    
    * ComputeLoss
    
    * ComputeLoss
    
    * ComputeLoss
    
    * ComputeLoss
    
    * astuple
    
    * epochs
    
    * update
    
    * update
    
    * ComputeLoss()
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * merge
    
    * merge
    
    * merge
    
    * merge
    
    * update
    
    * update
    
    * update
    
    * update
    
    * commit=tag == tags[-1]
    
    * Update cudnn.benchmark
    
    * update
    
    * update
    
    * update
    
    * updates
    
    * updates
    
    * updates
    
    * updates
    
    * updates
    
    * updates
    
    * updates
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * mosaic9
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * update
    
    * institute cache versioning
    
    * only display on existing cache
    
    * reverse cache exists booleans
    glenn-jocher committed Feb 12, 2021
    1 Configuration menu
    Copy the full SHA
    bdd88e1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    17ac94b View commit details
    Browse the repository at this point in the history
  3. YOLOv5 PyTorch Hub results.save() method retains filenames (ultralyti…

    …cs#2194)
    
    * save results with name
    
    * debug
    
    * save original imgs names
    
    * Update common.py
    
    Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
    dan0nchik and glenn-jocher committed Feb 12, 2021
    Configuration menu
    Copy the full SHA
    3e560e2 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2021

  1. TTA augument boxes one pixel shifted in de-flip ud and lr (ultralytic…

    …s#2219)
    
    * TTA augument boxes one pixel shifted in de-flip ud and lr
    
    * PEP8 reformat
    
    Co-authored-by: Jaap van de Loosdrecht <jaap.van.de.loosdrecht@nhlstenden.com>
    Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
    3 people committed Feb 15, 2021
    Configuration menu
    Copy the full SHA
    3ff783c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7b833e3 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2021

  1. Configuration menu
    Copy the full SHA
    f8464b4 View commit details
    Browse the repository at this point in the history
  2. Add check_imshow() (ultralytics#2231)

    * Add check_imshow()
    
    * Update general.py
    
    * Update general.py
    glenn-jocher committed Feb 16, 2021
    Configuration menu
    Copy the full SHA
    26c2e54 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5a40ce6 View commit details
    Browse the repository at this point in the history
  4. Add isdocker() (ultralytics#2232)

    * Add isdocker()
    
    * Update general.py
    
    * Update general.py
    glenn-jocher committed Feb 16, 2021
    Configuration menu
    Copy the full SHA
    d2e754b View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2021

  1. YOLOv5 Hub URL inference bug fix (ultralytics#2250)

    * Update common.py
    
    * Update common.py
    
    * Update common.py
    glenn-jocher committed Feb 19, 2021
    Configuration menu
    Copy the full SHA
    9d87307 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    db28ce6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5f42643 View commit details
    Browse the repository at this point in the history
  4. reset head

    glenn-jocher committed Feb 19, 2021
    4 Configuration menu
    Copy the full SHA
    47faf95 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ab2da5e View commit details
    Browse the repository at this point in the history
  6. Update inference default to multi_label=False (ultralytics#2252)

    * Update inference default to multi_label=False
    
    * bug fix
    
    * Update plots.py
    
    * Update plots.py
    glenn-jocher committed Feb 19, 2021
    Configuration menu
    Copy the full SHA
    c09964c View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2021

  1. Configuration menu
    Copy the full SHA
    6f5d6fc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    095d2c1 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2021

  1. Configuration menu
    Copy the full SHA
    e27ca0d View commit details
    Browse the repository at this point in the history
  2. Dynamic ONNX engine generation (ultralytics#2208)

    * add: dynamic onnx export
    
    * delete: test onnx inference
    
    * fix dynamic output axis
    
    * Code reduction
    
    * fix: dynamic output axes, dynamic input naming
    
    * Remove fixed axes
    
    Co-authored-by: Shivam Swanrkar <ss8464@nyu.edu>
    Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
    3 people committed Feb 22, 2021
    Configuration menu
    Copy the full SHA
    95aefea View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2021

  1. Configuration menu
    Copy the full SHA
    32dd161 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cc79f3a View commit details
    Browse the repository at this point in the history
  3. FLOPS min stride 32 (ultralytics#2276)

    Signed-off-by: xiaowo1996 <429740343@qq.com>
    xiaowo1996 committed Feb 23, 2021
    Configuration menu
    Copy the full SHA
    83dc1b4 View commit details
    Browse the repository at this point in the history
  4. Update README.md

    glenn-jocher committed Feb 23, 2021
    Configuration menu
    Copy the full SHA
    7a6870b View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2021

  1. Amazon AWS EC2 startup and re-startup scripts (ultralytics#2185)

    * Amazon AWS EC2 startup and re-startup scripts
    
    * Create resume.py
    
    * cleanup
    glenn-jocher committed Feb 24, 2021
    Configuration menu
    Copy the full SHA
    d5d275b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0070995 View commit details
    Browse the repository at this point in the history
  3. Update train.py (ultralytics#2290)

    * Update train.py
    
    * Update train.py
    
    * Update train.py
    
    * Update train.py
    
    * Create train.py
    glenn-jocher committed Feb 24, 2021
    Configuration menu
    Copy the full SHA
    ca5b10b View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2021

  1. Improved model+EMA checkpointing (ultralytics#2292)

    * Enhanced model+EMA checkpointing
    
    * update
    
    * bug fix
    
    * bug fix 2
    
    * always save optimizer
    
    * ema half
    
    * remove model.float()
    
    * model half
    
    * carry ema/model in fp32
    
    * rm model.float()
    
    * both to float always
    
    * cleanup
    
    * cleanup
    glenn-jocher committed Feb 25, 2021
    Configuration menu
    Copy the full SHA
    ec1d849 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    71dd276 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2021

  1. Configuration menu
    Copy the full SHA
    a82dce7 View commit details
    Browse the repository at this point in the history
  2. W&B entity support (ultralytics#2298)

    * W&B entity support
    
    * shorten wandb_entity to entity
    
    Co-authored-by: Jan Hajek <jan.hajek@gmail.com>
    Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
    3 people committed Feb 26, 2021
    Configuration menu
    Copy the full SHA
    efa4946 View commit details
    Browse the repository at this point in the history
  3. Avoid mutable state in Detect

    Oleg Boiko authored and glenn-jocher committed Feb 26, 2021
    Configuration menu
    Copy the full SHA
    8304b90 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    558df86 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c89d671 View commit details
    Browse the repository at this point in the history