forked from neuralchen/SimSwap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrandFsCelebMaker.py
22 lines (20 loc) · 929 Bytes
/
randFsCelebMaker.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
from pathlib import Path
from random import shuffle
from dir_mage import src_dir
if __name__ == '__main__':
# indir_global = r'D:\paradise\stuff\simswappg\srcs'
indir_global = r'D:\paradise\stuff\Essence\FS\all\Sluts'
# targetDir_global = r'C:\Heaven\YummyBaker'
# targetDir_global = r'C:\Heaven\YummyBaker'
# targetDir_global = r'D:\paradise\stuff\new\imageset2\meri maa mujhse chud jati'
# targetDir_global =
# targetDir_global = r'D:\paradise\stuff\new\pvd2'
targetDir_global = r'D:\paradise\stuff\Essence\pictures\ranked2'
# outDir_global = r'D:\paradise\stuff\new\pvd\test'
outDir_global = r'D:\Developed\FaceSwapExperimental\TestResult'
# outDir_global = r'C:\Games\sacred2'
xtr = [x for x in Path(targetDir_global).glob('*') if x.is_dir()]
shuffle(xtr)
for dirt in xtr:
trc = int(dirt.name)
src_dir(indir_global,dirt,outDir_global,True,-1,trc)