|
пре 4 година | |
---|---|---|
data | пре 4 година | |
doc | пре 4 година | |
models | пре 4 година | |
options | пре 4 година | |
util | пре 4 година | |
.gitattributes | пре 4 година | |
.gitignore | пре 4 година | |
LICENSE | пре 4 година | |
README.md | пре 4 година | |
test_one_image.py | пре 4 година | |
train.py | пре 4 година |
Use python3.5, pytorch1.3.0
Use this command to test the face swapping between two images:
python test_one_image.py --isTrain false --name people --Arc_path models/BEST_checkpoint.tar --pic_a_path crop_224/mars.jpg --pic_b_path crop_224/ds.jpg --output_path output/
--name refers to the checkpoint name.