modelzoo.common.pytorch.utils.setup_artifact_dir#

modelzoo.common.pytorch.utils.setup_artifact_dir(model_dir: str, mode: str)[source]#

Create a unique subdirectory for this run by generating a time stamp so that parallel runs using the same model_dir don’t overwrite common files.