Glenn Jocher 0ff5aeca61
Create date_modified() (#2616)
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
...
```
2021-03-26 12:52:47 +01:00
..
2021-03-25 20:55:20 +01:00
2021-03-23 16:54:34 +01:00
2020-05-29 17:04:54 -07:00
2021-01-22 15:08:42 -08:00
2021-03-12 22:15:41 -08:00
2021-03-26 12:52:47 +01:00