facebookresearch / ClassyVision

An end-to-end PyTorch framework for image and video classification
https://classyvision.ai
MIT License
1.59k stars 278 forks source link

Create folder to avoid Tensorboard race condition #768

Closed melissah14 closed 3 years ago

melissah14 commented 3 years ago

Without this change, if a directory doesn't exist it is possible that there will be a race condition in which parallel processes attempt to create the same directory. This will cause an error. This change avoids this outcome by making the directory if it doesn't exist.

facebook-github-bot commented 3 years ago

@melissah14 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

facebook-github-bot commented 3 years ago

@melissah14 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

facebook-github-bot commented 3 years ago

@melissah14 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

facebook-github-bot commented 3 years ago

@melissah14 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.