|
hace 4 años | |
---|---|---|
data | hace 4 años | |
doc | hace 4 años | |
models | hace 4 años | |
options | hace 4 años | |
util | hace 4 años | |
.gitattributes | hace 4 años | |
.gitignore | hace 4 años | |
LICENSE | hace 4 años | |
README.md | hace 4 años | |
test_one_image.py | hace 4 años | |
train.py | hace 4 años |
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.