diff --git a/amt/audio.py b/amt/audio.py index a67bce9..8b3a08b 100644 --- a/amt/audio.py +++ b/amt/audio.py @@ -265,6 +265,8 @@ def __init__( ) def _get_paths(self, dir_path): + os.makedirs(dir_path, exist_ok=True) + return [ os.path.join(dir_path, f) for f in os.listdir(dir_path)