-
由 Jiacong Fang 提交于
* 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