forked from neuralchen/SimSwap
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Your Name
committed
Jan 26, 2022
1 parent
8e7ed5c
commit 7c76835
Showing
2 changed files
with
30 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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) |