IBob012
01/25/2022, 8:23 PMjens
01/25/2022, 8:28 PMK.W.555
01/25/2022, 9:57 PMuser
01/25/2022, 10:02 PMThe Wiggles and High School D×D
01/25/2022, 11:18 PMThe Wiggles and High School D×D
01/25/2022, 11:18 PMThe Wiggles and High School D×D
01/25/2022, 11:18 PMThe Wiggles and High School D×D
01/25/2022, 11:18 PMThe Wiggles and High School D×D
01/25/2022, 11:18 PMuser
01/25/2022, 11:26 PMhecko
01/25/2022, 11:40 PMhecko
01/25/2022, 11:41 PM! before the thing to execute it as a shell commandThe Wiggles and High School D×D
01/26/2022, 6:11 PMThe Wiggles and High School D×D
01/26/2022, 6:11 PMThe Wiggles and High School D×D
01/26/2022, 6:11 PMhecko
01/26/2022, 6:15 PMhecko
01/26/2022, 6:16 PMhecko
01/26/2022, 6:16 PMhecko
01/26/2022, 6:18 PMpy
import glob
import shutil
for i in dir_list:
if not glob.glob(i + "/*.npy*"):
shutil.rmtree(i)The Wiggles and High School D×D
01/26/2022, 6:23 PMThe Wiggles and High School D×D
01/26/2022, 6:24 PMhecko
01/26/2022, 10:18 PMdir_list with glob.glob("/content/drive/MyDrive/dataset/SV2TTS/encoder/*")
i thinkhecko
01/26/2022, 10:18 PMThe Wiggles and High School D×D
01/26/2022, 11:07 PMhecko
01/26/2022, 11:08 PM[i for i in glob.glob("/content/drive/MyDrive/dataset/SV2TTS/encoder/*") if os.path.isdir(i)]
maybThe Wiggles and High School D×D
01/26/2022, 11:23 PM