12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- import os
- import shutil
-
- files = './front_face/'
-
- for root, dirs, files in os.walk(files):
- for f in files:
- os.unlink(os.path.join(root, f))
- for d in dirs:
- shutil.rmtree(os.path.join(root, d))
-
-
-
-
- files = './output_unique_ALLUNQ/'
-
- for root, dirs, files in os.walk(files):
- for f in files:
- os.unlink(os.path.join(root, f))
- for d in dirs:
- shutil.rmtree(os.path.join(root, d))
-
-
- files = './sepration_cluster/'
-
- for root, dirs, files in os.walk(files):
- for f in files:
- os.unlink(os.path.join(root, f))
- for d in dirs:
- shutil.rmtree(os.path.join(root, d))
-
-
- files = './sepration_crop/'
-
- for root, dirs, files in os.walk(files):
- for f in files:
- os.unlink(os.path.join(root, f))
- for d in dirs:
- shutil.rmtree(os.path.join(root, d))
-
-
-
-
- files = './unique_1/'
-
- for root, dirs, files in os.walk(files):
- for f in files:
- os.unlink(os.path.join(root, f))
- for d in dirs:
- shutil.rmtree(os.path.join(root, d))
-
-
-
- files = './Allunq_People/'
-
- for root, dirs, files in os.walk(files):
- for f in files:
- os.unlink(os.path.join(root, f))
- for d in dirs:
- shutil.rmtree(os.path.join(root, d))
-
- files = './people_Allunq_zero_maingallery/'
-
- for root, dirs, files in os.walk(files):
- for f in files:
- os.unlink(os.path.join(root, f))
- for d in dirs:
- shutil.rmtree(os.path.join(root, d))
-
- # files = './unique_1/'
-
- # for root, dirs, files in os.walk(files):
- # for f in files:
- # os.unlink(os.path.join(root, f))
- # for d in dirs:
- # shutil.rmtree(os.path.join(root, d))
-
- # files = './Copy_Gallery/'
- #
- # for root, dirs, files in os.walk(files):
- # for f in files:
- # os.unlink(os.path.join(root, f))
- # for d in dirs:
- # shutil.rmtree(os.path.join(root, d))
-
- os.remove('known_encodings.pickle')
- os.remove('people_copyGallery_known_encodings.pickle')
- os.remove('Zero_gallery_known_encodings.pickle')
|