|
há 4 anos atrás | |
---|---|---|
data | há 4 anos atrás | |
doc | há 4 anos atrás | |
models | há 4 anos atrás | |
options | há 4 anos atrás | |
util | há 4 anos atrás | |
.gitattributes | há 4 anos atrás | |
.gitignore | há 4 anos atrás | |
LICENSE | há 4 anos atrás | |
README.md | há 4 anos atrás | |
test_one_image.py | há 4 anos atrás | |
train.py | há 4 anos atrás |
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.