ultralytics 8.0.45 segment CUDA and DDP callback fixes (#1137)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Laughing <61612323+Laughing-q@users.noreply.github.com>
This commit is contained in:
parent
bfc078b32f
commit
3765f4f6d9
8 changed files with 49 additions and 51 deletions
|
|
@ -181,7 +181,7 @@ class BaseTrainer:
|
|||
LOGGER.info(f'Running DDP command {cmd}')
|
||||
subprocess.run(cmd, check=True)
|
||||
except Exception as e:
|
||||
LOGGER.warning(e)
|
||||
raise e
|
||||
finally:
|
||||
ddp_cleanup(self, str(file))
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue