yolov5/utils
Jiacong Fang c5d2331897
Fix increment_dir to use run_xxx for logdir (#1058)
* Fix increment_dir to use run_xxx for logdir 

Rerunning train.py with logdir in the form of `run_xxx` causes index slicing in
```
n = max([int(x[len(dir):x.find('_') if '_' in Path(x).name else None]) for x in d]) + 1  # increment
```
to underflow.

* Replace find with rfind
2020-10-05 15:46:32 +02:00
..
google_app_engine adding the configuration to deploy yolov5 in in app engine (#964) 2020-09-22 11:48:44 -07:00
__init__.py initial commit 2020-05-29 17:04:54 -07:00
activations.py Update export.py with v3.0 Hardswish() support 2020-08-24 21:47:49 -07:00
datasets.py mosaic4 bottom left image fix (#1021) 2020-09-23 09:51:33 -07:00
evolve.sh hyp['anchors'] evolution update 2020-09-03 12:54:22 -07:00
general.py Fix increment_dir to use run_xxx for logdir (#1058) 2020-10-05 15:46:32 +02:00
google_utils.py gsutil cp hyp evolution bug fix (#876) 2020-09-03 20:29:08 -07:00
torch_utils.py .fuse() gradient introduction bug fix 2020-09-20 11:57:19 -07:00