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

Create date_modified() #2616

Merged
merged 1 commit into from
Mar 26, 2021
Merged

Create date_modified() #2616

merged 1 commit into from
Mar 26, 2021

Commits on Mar 26, 2021

  1. Create date_modified()

    Updated device selection string with fallback for non-git directories.
    ```python
    def select_device(device='', batch_size=None):
        # device = 'cpu' or '0' or '0,1,2,3'
        s = f'YOLOv5 🚀 {git_describe() or date_modified()} torch {torch.__version__} '  # string
    ...
    ```
    glenn-jocher committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    97114b8 View commit details
    Browse the repository at this point in the history