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