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

check_requirements() exclude opencv-python #3506

Closed
wants to merge 25 commits into from

Commits on May 27, 2021

  1. update ci-testing.yml (#3322)

    * update ci-testing.yml
    
    * update greetings.yml
    
    * bring back os matrix
    SkalskiP authored May 27, 2021
    Configuration menu
    Copy the full SHA
    bb13123 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2021

  1. update ci-testing.yml (#3322)

    * update ci-testing.yml
    
    * update greetings.yml
    
    * bring back os matrix
    SkalskiP committed May 28, 2021
    Configuration menu
    Copy the full SHA
    3fea068 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b78e30d View commit details
    Browse the repository at this point in the history
  3. Enable direct --weights URL definition (#3373)

    * Enable direct `--weights URL` definition
    
    @kalenmike this PR will enable direct --weights URL definition. Example use case:
    ```
    python train.py --weights https://storage.googleapis.com/bucket/dir/model.pt
    ```
    
    * cleanup
    
    * bug fixes
    
    * weights = attempt_download(weights)
    
    * Update experimental.py
    
    * Update hubconf.py
    
    * return bug fix
    
    * comment mirror
    
    * min_bytes
    glenn-jocher authored May 28, 2021
    Configuration menu
    Copy the full SHA
    ba6f3f9 View commit details
    Browse the repository at this point in the history

Commits on May 29, 2021

  1. Update tutorial.ipynb (#3368)

    add Open in Kaggle badge
    pizzaz93 authored May 29, 2021
    Configuration menu
    Copy the full SHA
    57f773b View commit details
    Browse the repository at this point in the history
  2. cv2.imread(img, -1) for IMREAD_UNCHANGED (#3379)

    * Update datasets.py
    
    * comment
    
    Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
    tudoulei and glenn-jocher authored May 29, 2021
    2 Configuration menu
    Copy the full SHA
    21a9607 View commit details
    Browse the repository at this point in the history
  3. COCO evolution fix (#3388)

    * COCO evolution fix
    
    * cleanup
    
    * update print
    
    * print fix
    glenn-jocher authored May 29, 2021
    Configuration menu
    Copy the full SHA
    4b52e19 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2021

  1. Create is_pip() function (#3391)

    Returns `True` if file is part of pip package. Useful for contextual behavior modification.
    
    ```python
    def is_pip():
        # Is file in a pip package?
        return 'site-packages' in Path(__file__).absolute().parts
    ```
    glenn-jocher authored May 30, 2021
    Configuration menu
    Copy the full SHA
    d833ab3 View commit details
    Browse the repository at this point in the history

Commits on May 31, 2021

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

Commits on Jun 3, 2021

  1. Update FLOPs description (#3422)

    * Update README.md
    
    * Changing FLOPS to FLOPs.
    
    Co-authored-by: BuildTools <unconfigured@null.spigotmc.org>
    chocosaj and BuildTools authored Jun 3, 2021
    Configuration menu
    Copy the full SHA
    3cb9ad4 View commit details
    Browse the repository at this point in the history
  2. Parse URL authentication (#3424)

    * Parse URL authentication
    
    * urllib.parse.unquote()
    
    * improved error handling
    
    * improved error handling
    
    * remove %3F
    
    * update check_file()
    glenn-jocher authored Jun 3, 2021
    Configuration menu
    Copy the full SHA
    f8651c3 View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2021

  1. Configuration menu
    Copy the full SHA
    af2bc3a View commit details
    Browse the repository at this point in the history
  2. Suppress jit trace warning + graph once (#3454)

    * Suppress jit trace warning + graph once
    
    Suppress harmless jit trace warning on TensorBoard add_graph call. Also fix multiple add_graph() calls bug, now only on batch 0.
    
    * Update train.py
    glenn-jocher authored Jun 4, 2021
    Configuration menu
    Copy the full SHA
    4aa2959 View commit details
    Browse the repository at this point in the history
  3. Update MixUp augmentation alpha=beta=32.0 (#3455)

    Per VOC empirical results #3380 (comment) by @developer0hye
    glenn-jocher authored Jun 4, 2021
    Configuration menu
    Copy the full SHA
    8e3b4a0 View commit details
    Browse the repository at this point in the history
  4. Add timeout() class (#3460)

    * Add `timeout()` class
    
    * rearrange order
    glenn-jocher authored Jun 4, 2021
    Configuration menu
    Copy the full SHA
    d40481a View commit details
    Browse the repository at this point in the history
  5. Faster HSV augmentation (#3462)

    remove datatype conversion process that can be skipped
    developer0hye authored Jun 4, 2021
    Configuration menu
    Copy the full SHA
    c37f072 View commit details
    Browse the repository at this point in the history
  6. Add check_git_status() 5 second timeout (#3464)

    * Add check_git_status() 5 second timeout
    
    This should prevent the SSH Git bug that we were discussing @kalenmike
    
    * cleanup
    
    * replace timeout with check_output built-in timeout
    glenn-jocher authored Jun 4, 2021
    Configuration menu
    Copy the full SHA
    563ea94 View commit details
    Browse the repository at this point in the history
  7. Improved check_requirements() offline-handling (#3466)

    Improve robustness of `check_requirements()` function to offline environments (do not attempt pip installs when offline).
    glenn-jocher authored Jun 4, 2021
    Configuration menu
    Copy the full SHA
    317f2cc View commit details
    Browse the repository at this point in the history
  8. Add output_names argument for ONNX export with dynamic axes (#3456)

    * Add output names & dynamic axes for onnx export
    
    Add output_names and dynamic_axes names for all outputs in torch.onnx.export. The first four outputs of the model will have names output0, output1, output2, output3
    
    * use first output only + cleanup
    
    Co-authored-by: Samridha Shrestha <samridha.shrestha@g42.ai>
    Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
    3 people authored Jun 4, 2021
    Configuration menu
    Copy the full SHA
    044daaf View commit details
    Browse the repository at this point in the history
  9. Revert FP16 test.py and detect.py inference to FP32 default (#3423)

    * fixed inference bug ,while use half precision
    
    * replace --use-half with --half
    
    * replace space and PEP8 in detect.py
    
    * PEP8 detect.py
    
    * update --half help comment
    
    * Update test.py
    
    * revert space
    
    Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
    PresageBoat and glenn-jocher authored Jun 4, 2021
    Configuration menu
    Copy the full SHA
    b31229a View commit details
    Browse the repository at this point in the history
  10. Add additional links/resources to stale.yml message (#3467)

    * Update stale.yml
    
    * cleanup
    
    * Update stale.yml
    
    * reformat
    glenn-jocher authored Jun 4, 2021
    Configuration menu
    Copy the full SHA
    739451d View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    3597d28 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2021

  1. Configuration menu
    Copy the full SHA
    cf4f95b View commit details
    Browse the repository at this point in the history
  2. Explicit model.eval() call if opt.train=False (#3475)

    * call model.eval() when opt.train is False
    
    call model.eval() when opt.train is False
    
    * single-line if statement
    
    * cleanup
    
    Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
    developer0hye and glenn-jocher authored Jun 6, 2021
    Configuration menu
    Copy the full SHA
    a1c3572 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2021

  1. check_requirements() exclude opencv-python

    Fix for 3rd party or contrib versions of installed OpenCV as in #3494.
    glenn-jocher authored Jun 7, 2021
    Configuration menu
    Copy the full SHA
    600e0c6 View commit details
    Browse the repository at this point in the history